@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Libre+Franklin:wght@400;500;600&display=swap");

.colophon.main-footer {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  background: #f4efe4;
  color: #1a2433;
  font-family: "Libre Franklin", Arial, sans-serif;
  border-top: 3px solid rgb(252, 203, 107);
}

.colophon-shell {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px 8px;
  overflow: hidden;
}

.colophon-mark {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 0;
  margin: 0;
  transform: translate(-50%, -50%);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 16vw, 12.5rem);
  font-weight: 600;
  font-style: italic;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(11, 28, 57, 0.055);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.colophon-shell > :not(.colophon-mark) {
  position: relative;
  z-index: 1;
}

.colophon-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(26, 36, 51, 0.12);
}

.colophon-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.colophon-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: none;
}

.colophon-brand p {
  margin: 0 0 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b6914;
}

.colophon-brand h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  color: #0b1c39;
}

.colophon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: none;
}

.colophon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: #0b1c39;
  color: #fff8ea !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #0b1c39;
}

.colophon-btn:hover {
  background: #16305a;
}

.colophon-btn.ghost {
  background: transparent;
  color: #0b1c39 !important;
}

.colophon-btn.ghost:hover {
  background: #0b1c39;
  color: #fff8ea !important;
}

.colophon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 32px 0 8px;
}

.colophon-grid h3 {
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b6914;
}

.colophon-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.colophon-grid a {
  display: inline-block;
  padding: 4px 0;
  color: #3a4658;
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
}

.colophon-grid a:hover {
  color: #8b6914;
  border-bottom-color: rgba(139, 105, 20, 0.35);
}

.colophon-visit {
  margin: 8px 0 0;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(26, 36, 51, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  color: #3a4658;
  font-size: 0.9rem;
  line-height: 1.6;
}

.colophon-visit a {
  color: #0b1c39;
  text-decoration: none;
  font-weight: 500;
}

.colophon-visit a:hover {
  color: #8b6914;
}

.colophon-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 48px;
  background: #0b1c39;
  color: rgba(244, 239, 228, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.colophon-base p {
  margin: 0;
}

.colophon-socials {
  display: flex;
  gap: 8px;
}

.colophon-socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(252, 203, 107, 0.35);
  color: rgb(252, 203, 107);
  text-decoration: none;
}

.colophon-socials a:hover {
  background: rgb(252, 203, 107);
  color: #0b1c39;
}

@media (max-width: 991px) {
  .colophon-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .colophon-grid {
    grid-template-columns: 1fr 1fr;
  }

  .colophon-base {
    padding: 16px 24px;
  }
}

@media (max-width: 640px) {
  .colophon-grid,
  .colophon-base {
    grid-template-columns: 1fr;
    display: grid;
  }

  .colophon-base {
    justify-items: center;
    text-align: center;
  }
}
