:root {
  --border-red: #931914;
  --bg-cream: #ede7dd;
  --card-bg: rgba(255, 255, 255, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--border-red);
  font-family: "OTKairo", Georgia, "Times New Roman", serif;
  display: flex;
  justify-content: center;
  padding: 20px;
  min-height: 100vh;
}

p a {
    color: #931914;
    font-weight: 600;
}

.frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  background: var(--bg-cream);
  overflow: hidden;
}

.building-bg {
  position: absolute;
  left: 50%;
  top: 0%;
  height: 130%;
  object-fit: cover;
  mix-blend-mode: multiply;
  pointer-events: none;
  transform: translateX(-50%);
  filter:blur(50px);
  opacity:0;
  animation:blurIn 2s forwards;
}

.header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:20px 0;
}

.logo-75m {
  height: 80px;
  width:auto;
  margin-bottom:50px;
}

.cards {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card {
  overflow:hidden;
}

.card a {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15%;
    text-align: center;
    min-width: 220px;
    min-height: 100px;
    border-top: 1px solid #ccc;
    mix-blend-mode: multiply;
    text-decoration: none;
    transition: .3s;
    animation: slideUp .5s forwards;
    top:100%;
}

.card:last-child a {
    border-bottom: 1px solid #ccc;
}

.card a:hover {
    background: #931914;
    color: white;
}

.card a:hover img {
    filter: invert(1);
    -webkit-filter: invert(1);
}

.card a:hover p {
   color:white;
}

.card:nth-child(2) a{
  animation-delay: .2s;
}
.card:nth-child(3) a{
  animation-delay: .4s;
}

.card a[href="#"] {
    pointer-events: none;
}

/*.card a[href="#"] img {
    filter: blur(2px);
}*/

.card-logo {
  max-width: 160px;
  max-height: 8vh;
  width:auto;
}

.card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: #000;
  text-align:right;
}

.footer {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 0;
  background: linear-gradient(0deg, #ede7dd, transparent);
}

.footer p {
  margin: 0;
  padding:20px;
  max-width: 666px;
  font-size: clamp(10px, 0.81vw, 14px);
  line-height: 1.4;
  color: #000;
  text-align: center;
}


@media only screen and (max-width:480px) {
  .card a {
    flex-direction: column;
    gap: 10px;
  }

  .card-text {
    text-align:center;
  }
  .building-bg {
        opacity: .2 !important;
        left: 110%;
  }
  body {
    padding:10px;
  }
}

@keyframes slideUp {
  from {
    top:100%;
  }
  to {
    top:0;
  }
}

@keyframes blurIn {
  from {
    filter:blur(50px);
    opacity:0;
  }
  to {
    filter:blur(0px);
    opacity:.4;
    }
}


.grain-back {
    background-image: url('assets/grain.png');
    background-repeat: repeat;
    animation: bg-animation .2s infinite;
    visibility: visible;
    background-size: initial
}

@keyframes bg-animation {
    0% {
        background-position: 0,0
    }

    10% {
        background-position: -5% -5%
    }

    20% {
        background-position: -10% 5%
    }

    30% {
        background-position: 5% -10%
    }

    40% {
        background-position: -5% 15%
    }

    50% {
        background-position: -10% 5%
    }

    60% {
        background-position: 15% 0
    }

    70% {
        background-position: 0 10%
    }

    80% {
        background-position: -15% 0
    }

    90% {
        background-position: 10% 5%
    }

    100% {
        background-position: 5% 0
    }
}

@font-face {
  font-family: "OTKairo";
  src: url("fonts/OTKairo-Regular.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OTKairo";
  src: url("fonts/OTKairo-Italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #1a1a1a;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  line-height: 1.4;
  font-family: Arial, Helvetica, sans-serif;
}

.cookie-banner p {
  margin: 0;
  max-width: 640px;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner button {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 8px 18px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  border-radius: 2px;
  transition: .2s;
}

.cookie-banner .cookie-accept {
  background: var(--border-red);
  border-color: var(--border-red);
}

.cookie-banner button:hover {
  opacity: .85;
}

@media only screen and (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

body.legal-body {
  background: var(--bg-cream);
  display: block;
  padding: 0;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  color: #1a1a1a;
  line-height: 1.6;
}

.legal h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 8px;
}

.legal p {
  margin: 0 0 12px;
}

.legal a {
  color: var(--border-red);
}

.legal .updated {
  color: #666;
  font-size: 13px;
  margin-bottom: 32px;
}

.legal .back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
}

/* ---------------------------------------------------------------------------
   Inspry additions, 2026-09-11

   Heading structure was added for SEO: the page previously had no headings at
   all. These rules exist so that adding real h1/h2 elements changes nothing
   visually. Removing them will make the logo jump and the card labels balloon.
   --------------------------------------------------------------------------- */

/* The logo sits inside the h1. Neutralise the UA heading defaults so the
   header keeps the spacing it was designed with. */
.header h1 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* Card labels are h2 now instead of <strong>. Inherit everything from
   .card-text so they render exactly as the bold text did. */
.card-text h2 {
  margin: 0;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  color: inherit;
  font-family: inherit;
}

/* Text for screen readers and crawlers, not shown on screen. Carries the real
   h1 wording, since the visible heading is a logo image. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
