/*
 * Liisa-Maria Lilja-Viherlampi T:mi
 * Main stylesheet
 */
/*
 * Navigation and floating-header styles.
 * Imported by main.scss after the shared variables and mixins.
 */
/* ---------- Navigation surface ---------- */
.site-navigation {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  transition: top 220ms ease, width 220ms ease, max-width 220ms ease, margin 220ms ease, border-radius 220ms ease, box-shadow 220ms ease;
}

.site-navigation:not(.is-floating) {
  top: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-navigation.is-floating {
  top: 0.75rem;
  width: calc(100% - 2rem);
  max-width: 87.5rem;
  margin-inline: auto;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2), 0 0.125rem 0.35rem rgba(0, 0, 0, 0.12);
}

/*
 * The wrapper remains transparent. The .header is the only painted layer,
 * so its rgba background does not stack with another translucent background.
 * That restores the original transparency and lets backdrop-filter blur the
 * page image in both normal and floating modes.
 */
.header {
  --header-gutter: clamp(1.1rem, 4vw, 4rem);
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 7rem;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding-right: var(--header-gutter);
  padding-left: var(--header-gutter);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(12, 31, 17, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 0.4rem 1.8rem rgba(5, 20, 8, 0.13);
  backdrop-filter: blur(0.85rem) saturate(115%);
  -webkit-backdrop-filter: blur(0.85rem) saturate(115%);
  transition: border-radius 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

/* Works when .site-navigation wraps .header. */
.site-navigation > .header {
  border-radius: inherit;
}

.site-navigation.is-floating > .header {
  box-shadow: none;
}

/* Also works if both classes are on the same element. */
.header.site-navigation {
  position: sticky;
  z-index: 1000;
}

.header.site-navigation.is-floating {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2), 0 0.125rem 0.35rem rgba(0, 0, 0, 0.12);
}

/* ---------- Branding ---------- */
.branding {
  position: relative;
  z-index: 1;
  isolation: isolate;
  flex: 0 0 auto;
}

.branding::before {
  position: absolute;
  top: 50%;
  left: calc(0px - var(--header-gutter));
  z-index: -1;
  width: calc(100% + var(--header-gutter) + 5rem);
  height: calc(100% + 1rem);
  content: "";
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.82) 45%, rgba(255, 255, 255, 0.42) 72%, rgba(255, 255, 255, 0) 100%);
  border-radius: 0;
  pointer-events: none;
}

.branding a {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.branding a:focus-visible {
  outline: 0.18rem solid rgba(255, 255, 255, 0.95);
  outline-offset: 0.24rem;
}

.logo {
  width: clamp(4.7rem, 6vw, 6rem);
  height: clamp(4.7rem, 6vw, 6rem);
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.7)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
  transition: transform 180ms ease, opacity 180ms ease;
}

.branding a:hover .logo,
.branding a:focus-visible .logo {
  transform: scale(1.035);
  opacity: 0.92;
  filter: drop-shadow(0 0 2px rgb(0, 0, 0)) drop-shadow(0 0 7px rgba(255, 255, 255, 0.7));
}

/* ---------- Desktop navigation ---------- */
.navigation {
  min-width: 0;
  flex: 1 1 auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.5vw, 3rem);
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.92rem, 1.25vw, 1.18rem);
  font-weight: 400;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 50%;
  bottom: 0.15rem;
  left: 50%;
  height: 0.12rem;
  content: "";
  background: rgba(255, 255, 255, 0.92);
  transition: left 180ms ease, right 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  transform: translateY(-0.08rem);
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
  left: 0;
}

.nav-link:focus-visible {
  outline: 0.18rem solid rgba(255, 255, 255, 0.95);
  outline-offset: 0.24rem;
  border-radius: 0.2rem;
}

/* ---------- Mobile menu button ---------- */
.burger-segment {
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  cursor: pointer;
  user-select: none;
}

.hamburger {
  display: flex;
  width: 1.8rem;
  flex-direction: column;
  gap: 0.32rem;
}

.bar {
  display: block;
  width: 100%;
  height: 0.13rem;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Support the common class names toggled by burger.js. */
.burger-segment.active .bar:nth-child(1),
.hamburger.active .bar:nth-child(1) {
  transform: translateY(0.45rem) rotate(45deg);
}

.burger-segment.active .bar:nth-child(2),
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.burger-segment.active .bar:nth-child(3),
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-0.45rem) rotate(-45deg);
}

/* -- Fixing burger menu to appear always in floating mode -- */
.site-navigation.is-floating {
  top: 0.75rem;
  width: calc(100% - 2rem);
  max-width: 60rem;
  margin-inline: auto;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2), 0 0.125rem 0.35rem rgba(0, 0, 0, 0.12);
}
.site-navigation.is-floating .header {
  min-height: 5.6rem;
  justify-content: space-between;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.site-navigation.is-floating .logo {
  width: 4.5rem;
  height: 4.5rem;
}
.site-navigation.is-floating .burger-segment {
  display: inline-flex;
}
.site-navigation.is-floating .navigation {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: rgba(12, 31, 17, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1.1rem 2rem rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(0.85rem) saturate(115%);
  -webkit-backdrop-filter: blur(0.85rem) saturate(115%);
  transition: max-height 240ms ease, opacity 180ms ease;
}
.site-navigation.is-floating .navigation.active,
.site-navigation.is-floating .navigation.open,
.site-navigation.is-floating .header.active .navigation,
.site-navigation.is-floating .header.menu-open .navigation {
  max-height: 80vh;
  opacity: 1;
}
.site-navigation.is-floating .navbar {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.65rem clamp(1.1rem, 4vw, 4rem) 1.1rem;
}
.site-navigation.is-floating .nav-link {
  justify-content: flex-start;
  padding: 0.95rem 0.2rem;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.site-navigation.is-floating .nav-link:last-child {
  border-bottom: 0;
}
.site-navigation.is-floating .nav-link::after {
  right: auto;
  bottom: 0.45rem;
  left: 0.2rem;
  width: 0;
}
.site-navigation.is-floating .nav-link:hover::after,
.site-navigation.is-floating .nav-link.active::after {
  right: auto;
  left: 0.2rem;
  width: 3.2rem;
}

#site-navigation.is-floating .nav-music-player {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}

.nav-music-player {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin: 0 1rem;
  flex-shrink: 0;
}
.nav-music-player .music-fleur {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.85;
  flex: 0 0 24px;
}
.nav-music-player .music-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: none;
  box-shadow: none;
  color: #fff;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.nav-music-player .music-toggle:hover {
  background: none;
  color: #fff;
  transform: scale(1.1);
}
.nav-music-player .music-toggle:focus {
  background: none;
}
.nav-music-player .play-icon {
  display: block;
  position: relative;
  top: -3px;
  line-height: 1;
}

/* ---------- Tablet and mobile navigation ---------- */
@media (max-width: 1659px) {
  .site-navigation .header {
    min-height: 5.6rem;
    justify-content: space-between;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .site-navigation .logo {
    width: 4.5rem;
    height: 4.5rem;
  }
  .site-navigation .burger-segment {
    display: inline-flex;
  }
  .site-navigation .navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(12, 31, 17, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1.1rem 2rem rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(0.85rem) saturate(115%);
    -webkit-backdrop-filter: blur(0.85rem) saturate(115%);
    transition: max-height 240ms ease, opacity 180ms ease;
  }
  .site-navigation .navigation.active,
  .site-navigation .navigation.open,
  .site-navigation .header.active .navigation,
  .site-navigation .header.menu-open .navigation {
    max-height: 80vh;
    opacity: 1;
  }
  .site-navigation .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.65rem clamp(1.1rem, 4vw, 4rem) 1.1rem;
  }
  .site-navigation .nav-link {
    justify-content: flex-start;
    padding: 0.95rem 0.2rem;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .site-navigation .nav-link:last-child {
    border-bottom: 0;
  }
  .site-navigation .nav-link::after {
    right: auto;
    bottom: 0.45rem;
    left: 0.2rem;
    width: 0;
  }
  .site-navigation .nav-link:hover::after,
  .site-navigation .nav-link.active::after {
    right: auto;
    left: 0.2rem;
    width: 3.2rem;
  }
}
@media (max-width: 40rem) {
  .header {
    min-height: 4.9rem;
  }
  .logo {
    width: 3.8rem;
    height: 3.8rem;
  }
  .burger-segment {
    font-size: 0.74rem;
  }
}
@media (max-width: 37.4375rem) {
  .site-navigation.is-floating {
    top: 0.4rem;
    width: calc(100% - 0.8rem);
    border-radius: 0.75rem;
  }
}
@media (max-width: 24rem) {
  .header {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }
  .burger-segment {
    gap: 0.45rem;
    letter-spacing: 0.08em;
  }
  .hamburger {
    width: 1.55rem;
  }
}
/*
 * Footer styles.
 * Imported by main.scss after the shared variables and mixins.
 */
/* ---------- Footer ---------- */
.page-footer {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(21, 43, 29, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: grid;
  width: 100%;
  margin: 0;
  grid-template-columns: minmax(0, 36rem);
  gap: 0;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-left: clamp(1.1rem, 4vw, 4rem);
  padding-right: clamp(1.1rem, 4vw, 4rem);
}

.footer-content {
  display: none;
  min-height: 1rem;
}

.footer-sidecontent h2 {
  max-width: 36rem;
  margin: 0 0 1.25rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 400;
  text-align: left;
}

.footer-sidecontent p {
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.footer-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #0e2115;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-footer .container {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: 0;
  margin: 0;
  padding-left: clamp(1.1rem, 4vw, 4rem);
  padding-right: clamp(1.1rem, 4vw, 4rem);
}

.footer-footer .creator-info {
  margin-left: auto;
  text-align: right;
}

.footer-footer a {
  transition: color 180ms ease;
}

.footer-footer a:hover {
  color: #fff;
}

.site-info,
.creator-info {
  font-size: 0.88rem;
  align-self: center;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ---------- Background switcher ---------- */
@keyframes fleur-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.fleur-de-lis {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: clamp(2rem, 3vw, 2.8rem);
  height: auto;
  max-height: 70%;
  translate: -50% -50%;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center;
  transition: opacity 180ms ease, filter 180ms ease, transform 10ms ease;
}

.fleur-de-lis:hover {
  opacity: 0.9;
  filter: drop-shadow(0 0 0.4rem rgba(255, 255, 255, 0.5));
  transform: scale(1.08);
  animation: fleur-spin 1.2s linear infinite;
}

.fleur-de-lis:active {
  transform: translate(-50%, -50%) scale(0.94) rotate(5deg);
}

.fleur-de-lis:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 0.35rem;
  border-radius: 50%;
}

/* ---------- Responsive footer ---------- */
@media (max-width: 62rem) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-content:empty {
    display: none;
  }
}
@media (max-width: 40rem) {
  .footer-footer .container {
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .fleur-de-lis {
    position: static;
    align-self: center;
    width: 2.25rem;
    max-height: none;
    margin: 0.5rem 0;
    translate: none;
  }
  .footer-footer .creator-info {
    margin-left: 0;
    text-align: right;
  }
  fleur-de-lis:hover {
    animation: fleur-spin 1.2s linear infinite;
  }
}
/* ---------- Theme ---------- */
/* ---------- Reset and document ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #eef2ea;
  --page-background: "";
}

body {
  min-width: 18rem;
  min-height: 100vh;
  margin: 0;
  color: #263128;
  font-family: "Montserrat", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  background-image: linear-gradient(180deg, rgba(15, 35, 19, 0.08) 0, rgba(15, 35, 19, 0.06) 42rem, rgba(242, 246, 240, 0.95) 58rem, #f4f6f2 72rem), var(--page-background);
  background-position: center top, center top;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: #f6f7f2;
  background: #355d36;
}

/* ---------- Page frame ---------- */
#content {
  display: flex;
  min-height: calc(100vh - 7rem);
  flex-direction: column;
}

/* ---------- Hero title ---------- */
#main-title {
  position: relative;
  display: flex;
  width: min(88%, 43rem);
  min-height: 5em;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: clamp(4.5rem, 10vh, 8rem) 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.35rem);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.18;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 0.18rem 1.1rem rgba(0, 0, 0, 0.9);
}

#main-title::before,
#main-title::after {
  position: absolute;
  width: min(28rem, 74vw);
  height: 0.2rem;
  content: "";
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.15);
}

#main-title::before {
  top: 22%;
}

#main-title::after {
  bottom: 22%;
}

/* ---------- Main content ---------- */
.main-container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: -3.5rem;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  padding-left: clamp(1.1rem, 4vw, 4rem);
  padding-right: clamp(1.1rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.5) 1rem, rgba(255, 255, 255, 0.75) 2rem, rgba(255, 255, 255, 0.82) 4rem, rgba(247, 249, 245, 0.97) 6rem, #f7f9f5 100%);
}

#content-top {
  position: absolute;
  top: 0;
}

.main-content {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 3.6rem);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(56, 86, 57, 0.22);
  border-radius: 0.35rem;
  box-shadow: 0 1rem 3rem rgba(10, 25, 13, 0.4);
  backdrop-filter: blur(0.45rem);
  -webkit-backdrop-filter: blur(0.45rem);
}

.vertical-flex {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
}

.vertical-flex h2,
.vertical-flex img,
.vertical-flex p {
  align-self: center;
}

.second-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  color: #152b1d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.2;
}

.main-content p {
  max-width: 72ch;
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
}

.main-content p:last-child {
  margin-bottom: 0;
}

.main-content h2,
.main-content h3 {
  color: #152b1d;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

/* ---------- Services ---------- */
.services {
  color: #000;
}

.service-group + .service-group {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.service-group h2 {
  margin: 0 0 0.75rem;
  color: #355d36;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.3;
}

.main-content a:not([id]) {
  color: #294b2b;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.page-end-symbol {
  width: 100%;
  left: auto;
  right: auto;
  text-align: center;
  font-size: 24px !important;
  line-height: 0.5;
  color: #152b1d;
}

/* ---------- Forms, ready for later use ---------- */
.form {
  max-width: 42rem;
}

.formfield {
  margin-bottom: 1rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.85rem 1rem;
  color: #263128;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.2rem;
}

.form textarea {
  min-height: 10rem;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 0.18rem solid #96b88b;
  outline-offset: 0.14rem;
}

.submit-container input[type=submit] {
  width: auto;
  padding: 0.8rem 1.5rem;
  color: #fff;
  background: #355d36;
  border: 0;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.submit-container input[type=submit]:hover {
  background: #467a49;
  transform: translateY(-0.08rem);
}

/* ---------- Contact page ---------- */
.contact-card {
  width: min(100%, 62rem);
}

.contact-intro {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.contact-form {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.6rem;
}

.contact-field {
  min-width: 0;
}

.contact-field--full {
  grid-column: 1/-1;
}

.contact-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #152b1d;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.4;
}

.contact-label span {
  color: #355d36;
}

.contact-input {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.78rem 0.95rem;
  color: #263128;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(38, 70, 42, 0.28);
  border-radius: 0.3rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-input::placeholder {
  color: rgba(38, 49, 40, 0.5);
}

.contact-input:hover {
  border-color: rgba(38, 70, 42, 0.48);
}

.contact-input:focus {
  outline: none;
  background: #fff;
  border-color: #355d36;
  box-shadow: 0 0 0 0.2rem rgba(53, 93, 54, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-textarea {
  min-height: 13rem;
  line-height: 1.65;
  resize: vertical;
}

.contact-field--error .contact-input {
  border-color: #a33c35;
  background: rgba(255, 248, 247, 0.96);
}

.contact-error {
  margin-top: 0.4rem;
  color: #8d2924;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #263128;
  font-size: 0.94rem;
  line-height: 1.55;
  cursor: pointer;
}

.contact-checkbox {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin-top: 0.22rem;
  accent-color: #355d36;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(53, 93, 54, 0.15);
}

.contact-button {
  min-height: 3.25rem;
  padding: 0.75rem 1.8rem;
  color: #fff;
  font-weight: 650;
  letter-spacing: 0.025em;
  background: #355d36;
  border: 0;
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1.25rem rgba(21, 43, 29, 0.18);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.contact-button:hover {
  background: #467a49;
  transform: translateY(-0.1rem);
  box-shadow: 0 0.7rem 1.5rem rgba(21, 43, 29, 0.22);
}

.contact-button:focus-visible {
  outline: 0.18rem solid #96b88b;
  outline-offset: 0.2rem;
}

.contact-button:active {
  transform: translateY(0);
}

.contact-required-note {
  color: rgba(38, 49, 40, 0.68);
  font-size: 0.85rem;
}

.contact-status {
  max-width: 52rem;
  margin: 0 auto 2rem;
  padding: 1rem 1.15rem;
  border-radius: 0.3rem;
  line-height: 1.55;
}

.contact-status--success {
  color: #173c21;
  background: rgba(211, 236, 211, 0.92);
  border: 1px solid rgba(53, 113, 61, 0.35);
}

.contact-status--error {
  color: #75241f;
  background: rgba(250, 226, 223, 0.92);
  border: 1px solid rgba(163, 60, 53, 0.35);
}

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

#images-flex {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3rem);
  margin: 0;
  padding: clamp(0.25rem, 2vw, 1rem);
}

.photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  padding: clamp(0.6rem, 2vw, 1.25rem);
  background: #fff;
  box-shadow: 1rem 1rem 4rem rgba(0, 0, 0, 0.5);
}

.photos-title {
  width: 100%;
  margin: 0;
  font-family: "Rochester", cursive;
  font-size: clamp(1.7rem, 7vw, 2.5rem) !important;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.video-row {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.content-video {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
}

hr.glyph {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  text-align: center;
  margin: 1rem 0 3rem;
}

hr.glyph::before {
  content: "";
  background: linear-gradient(to right, transparent, rgba(51, 51, 51, 0.6), transparent);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  z-index: 0;
}

hr.glyph::after {
  content: "";
  position: relative;
  display: inline-block;
  width: 70px;
  height: 70px;
  margin: 0 0.75rem;
  background: #fff url("/static/fleur-de-lis-silver.png") center/45px auto no-repeat;
  z-index: 1;
}

.publications-updated {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---------- General responsive rules ---------- */
@media (max-width: 62rem) {
  body {
    background-attachment: scroll;
    background-position: 58% top;
  }
  #main-title {
    min-height: 5rem;
    padding-right: 1rem;
    padding-left: 1rem;
    filter: drop-shadow(0 0.25rem 0.45rem rgba(0, 0, 0, 0.54));
  }
}
@media (max-width: 46rem) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .contact-field--full {
    grid-column: auto;
  }
  .contact-submit {
    align-items: stretch;
    flex-direction: column;
  }
  .contact-button {
    width: 100%;
  }
  .contact-required-note {
    text-align: center;
  }
}
@media (max-width: 40rem) {
  body {
    font-size: 0.96rem;
    background-position: 62% top;
  }
  #main-title {
    width: 92%;
    min-height: 5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
    font-size: clamp(1.75rem, 8vw, 2.75rem);
  }
  #main-title::before {
    top: 19%;
  }
  #main-title::after {
    bottom: 19%;
  }
  .main-container {
    margin-top: -2.5rem;
    padding-top: 4.5rem;
  }
  .main-content {
    padding: 1.45rem 1.15rem 1.8rem;
    border-radius: 0.2rem;
  }
  #content,
  .main-container,
  .main-content {
    min-width: 0;
    max-width: 100%;
  }
  .main-content p,
  .main-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .second-title {
    font-size: 2rem;
  }
  #images-flex {
    padding: 0;
  }
  .photo {
    padding: 0.65rem;
    box-shadow: 0.5rem 0.5rem 1.75rem rgba(0, 0, 0, 0.35);
  }
  .video-row {
    grid-template-columns: 1fr;
  }
  .photos-title {
    font-size: clamp(1.6rem, 8vw, 2.15rem) !important;
  }
}
@media (max-width: 24rem) {
  #main-title {
    font-size: 1.65rem;
  }
}
/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/*# sourceMappingURL=main.css.map */
