
/* TRACES OF ORIGIN — shared footer & consent
   Scope: .to-footer and .to-cookie-*
   TO-PREVIEW ONLY
*/

.footer.to-footer {
  --to-gold: #e7c978;
  --to-muted: #ddd2c2;
  --to-border: rgba(231, 201, 120, 0.18);
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  color: var(--to-muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.025em;
}

/* FOOTER — APPROVED DESIGN */

.footer.to-footer {
  display: block;
  border-top: none;
  padding: 0 0 30px;
}

.to-footer__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 0 0 23px;
  border-bottom: 1px solid var(--to-border);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.04rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.to-footer__nav a {
  color: rgba(245, 239, 230, 0.90);
  text-decoration: none;
  transition: color 0.2s ease;
}

.to-footer__nav a[aria-current="page"],
.to-footer__nav a:hover {
  color: var(--to-gold);
}

.to-footer__nav a:focus-visible {
  outline: 1px solid var(--to-gold);
  outline-offset: 4px;
}

.to-footer__separator {
  color: rgba(231, 201, 120, 0.35);
}

.to-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-top: 24px;
}

.to-footer__copyright,
.to-footer__address {
  min-width: 0;
  color: var(--to-muted);
  font-family: "Playfair Display", serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.6;
}

.to-footer__copyright {
  text-align: left;
  padding-left: 26px;
}

.to-footer__address {
  font-style: normal;
  text-align: right;
  padding-right: 26px;
}

.to-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.to-footer__social-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--to-gold);
}

.to-footer__social-symbol svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1050px) {
  .to-footer__bottom {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "social"
      "copyright"
      "address";
    justify-items: center;
    row-gap: 17px;
    column-gap: 0;
  }

  .to-footer__social {
    grid-area: social;
  }

  .to-footer__copyright {
    grid-area: copyright;
  }

  .to-footer__address {
    grid-area: address;
    text-wrap: balance;
  }

  .to-footer__copyright,
  .to-footer__address {
    width: 100%;
    max-width: 560px;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }
}

@media (max-width: 650px) {
  .to-footer__nav {
    gap: 12px;
    font-size: 1rem;
    padding-bottom: 20px;
  }

  .to-footer__bottom {
    row-gap: 16px;
    padding-top: 20px;
  }

  .to-footer__copyright,
  .to-footer__address {
    max-width: 350px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 0.80rem;
    line-height: 1.75;
    text-align: center;
  }

  .to-footer__address-line {
    display: block;
  }

  .to-footer__address-separator {
    display: none;
  }
}

@media (max-width: 360px) {
  .to-footer__nav {
    gap: 7px;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
  }

  .to-footer__copyright,
  .to-footer__address {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* CONSENT BANNER — CORMORANT GARAMOND */

.to-cookie-banner[hidden] {
  display: none !important;
}

.to-cookie-banner {
  position: fixed;
  z-index: 100000;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(620px, calc(100% - 30px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 25px;
  background: #15120f;
  border: 1px solid rgba(231, 201, 120, 0.34);
  box-shadow: 0 8px 45px rgba(0, 0, 0, 0.45);
}

.to-cookie-copy {
  min-width: 0;
}

.to-cookie-title {
  margin: 0 0 7px;
  color: #e7c978;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.1;
}

.to-cookie-description {
  margin: 0;
  color: #d4cabd;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
}

.to-cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.to-cookie-action {
  min-width: 84px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(231, 201, 120, 0.64);
  border-radius: 0;
  background: transparent;
  color: #e7c978;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  cursor: pointer;
}

.to-cookie-action:hover {
  background: rgba(231, 201, 120, 0.10);
}

.to-cookie-action:focus-visible {
  outline: 2px solid #e7c978;
  outline-offset: 3px;
}

@media (max-width: 650px) {
  .to-cookie-banner {
    display: block;
    padding: 18px 19px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .to-cookie-title {
    font-size: 1.3rem;
  }

  .to-cookie-description {
    font-size: 0.77rem;
  }

  .to-cookie-actions {
    margin-top: 17px;
  }

  .to-cookie-action {
    flex: 1 1 50%;
  }
}

@media (max-width: 768px) {
  .footer.to-footer {
    width: min(1240px, calc(100% - 32px));
  }
}

@media (max-width: 420px) {
  .footer.to-footer {
    width: min(1240px, calc(100% - 24px));
  }
}

/* FOOTER — MOBILE VERTICAL NAVIGATION */

@media (max-width: 650px) {

  .to-footer__nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding-bottom: 24px;
    font-size: 1.08rem;
    letter-spacing: 0.06em;
    text-align: center;
  }

  .to-footer__nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
  }

  .to-footer__separator {
    display: block;
    flex: 0 0 auto;
    width: 22px;
    height: 1px;
    margin: 4px 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: rgba(231, 201, 120, 0.28);
  }

}
