/* canonical-footer.css v1.0 — single source of truth for footer styling
   Extracted verbatim from atlas.html. Linked from every page.
   To update the footer site-wide, edit only this file. */

footer{background:#0a0a0a;color:#a8a59e;padding:5rem 3rem 2rem;margin-top:4rem;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);box-sizing:border-box;overflow:hidden}
footer h4{font-family:'Fraunces',serif;font-size:1.6rem;font-weight:400;color:#fff;margin-bottom:1rem}
footer h4 em{font-style:italic;font-weight:300}
footer h5,footer .footer-col h5{font-family:'Instrument Sans',sans-serif!important;font-style:normal!important;font-size:.88rem;color:#fff;margin-bottom:.75rem;font-weight:600;letter-spacing:.01em}
footer h5 em,footer .footer-col h5 em{font-family:inherit!important;font-style:normal!important;font-weight:inherit!important}
footer ul{list-style:none;padding:0;margin:0}
footer li,footer .footer-col li{margin-bottom:.42rem;font-size:.82rem;line-height:1.35}
footer a,footer .footer-col a{color:#a8a59e;text-decoration:none;transition:color .2s;font-size:inherit}
footer a:hover{color:#fff}
footer .copy{max-width:1400px;margin:4rem auto 0;padding-top:2rem;border-top:1px solid #222;color:#666;font-size:.82rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem}
footer p{margin:0}

/* Brand wordmark — italic Contemporary + caps TR•VELS */
footer h4{display:inline-flex;align-items:baseline;gap:.5rem;white-space:nowrap}
footer h4 em{font-family:'Fraunces',serif;font-style:italic;font-weight:400;letter-spacing:-.01em}
footer h4 .logo-caps,footer .logo-caps{font-family:'Fraunces',serif;font-style:normal;font-weight:500;letter-spacing:.15em;text-transform:uppercase}
footer h4 .logo-dot,footer .logo-dot{color:#e8693e;font-weight:600;font-size:1.05em;display:inline-block;line-height:1;margin:0 .04em;text-shadow:0 0 12px rgba(232,105,62,.4)}

/* Grid layout */
.footer-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:3rem;padding:0 2rem}
@media(max-width:1100px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}.footer-grid > .footer-col:nth-child(5){display:none}}
@media(max-width:760px){.footer-grid{grid-template-columns:1fr 1fr;gap:2rem 1.5rem;padding:0 1.4rem}.footer-grid > .footer-col:first-child{grid-column:1/-1}}

/* Newsletter */
.footer-newsletter{border-top:1px solid rgba(255,255,255,.12);margin-top:3rem;padding:3rem 0 1rem}
.footer-newsletter-inner{max-width:1400px;margin:0 auto;padding:0 2rem;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.footer-newsletter-copy h5{font-family:'Fraunces',serif!important;font-weight:300!important;font-size:clamp(1.45rem,2.4vw,2rem)!important;line-height:1.08!important;margin-bottom:.8rem;letter-spacing:-.015em;color:#fff}
.footer-newsletter-copy h5 em{font-family:'Fraunces',serif!important;color:#e8693e;font-style:italic!important;font-weight:400!important}
.footer-newsletter-copy p{font-size:.94rem;line-height:1.6;color:rgba(255,255,255,.65);max-width:38ch;margin:0}
.footer-newsletter-form{position:relative;display:flex;gap:.6rem;align-items:stretch}
.footer-newsletter-form input{flex:1;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:6px;padding:.85rem 1rem;color:#fff;font:inherit;font-size:.95rem}
.footer-newsletter-form input:focus{outline:none;border-color:#e8693e;background:rgba(255,255,255,.1)}
.footer-newsletter-form input::placeholder{color:rgba(255,255,255,.4)}
.footer-newsletter-form button{background:#e8693e;color:#fff;border:none;border-radius:6px;padding:.85rem 1.6rem;font:inherit;font-size:.92rem;font-weight:500;cursor:pointer;transition:all .25s;letter-spacing:.02em;white-space:nowrap}
.footer-newsletter-form button:hover{background:#fff;color:#e8693e}
.footer-newsletter-form button:disabled{opacity:.5;cursor:not-allowed}
.footer-newsletter-msg{position:absolute;top:calc(100% + .6rem);left:0;font-size:.82rem;color:rgba(255,255,255,.7);margin:0}
.footer-newsletter-msg.is-error{color:#ff8a73}
.footer-newsletter-msg.is-success{color:#7ad29e}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Bottom row */
.footer-bottom{max-width:1400px;margin:2rem auto 0;padding:1.5rem 2rem 0;border-top:1px solid #1a1a1a;color:#666;font-size:.82rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.footer-bottom a{color:#a8a59e;text-decoration:none;transition:color .2s}
.footer-bottom a:hover{color:#fff}

/* wonder. brand mark */
.footer-mark{text-align:center;font-family:'Fraunces',serif;font-style:italic;font-size:3rem;color:#c9a14b;opacity:.4;margin-top:3rem;letter-spacing:-.02em}
@media(max-width:760px){
  .footer-newsletter-inner{grid-template-columns:1fr;gap:1.6rem;padding:0 1.4rem}
  .footer-newsletter-form{flex-direction:column}
  .footer-newsletter-form button{padding:.95rem 1.6rem}
  .footer-newsletter-msg{position:static;margin-top:.4rem}
  .footer-mark{font-size:2rem;margin-top:2rem}
}

@media(max-width:900px){
  footer{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding:3rem 1.25rem 1.5rem!important;box-sizing:border-box!important;overflow:hidden;position:relative}
  footer > *{max-width:100%!important;box-sizing:border-box!important}
  footer .ftr-wrap,footer .footer-grid,footer > div:not(.copy):not(.footer-bottom):not(.footer-mark){width:100%!important;max-width:100%!important;grid-template-columns:1fr 1fr!important;gap:2rem 1rem!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important}
  footer .ftr-wrap > *,footer .footer-grid > *,footer > div > *{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere;word-wrap:break-word}
  footer h4{font-size:1.3rem!important;flex-wrap:wrap!important}
  footer h5,footer .footer-col h5{font-size:.86rem!important}
  footer ul li,footer .footer-col li{font-size:.8rem}
  footer .copy,footer .footer-bottom{width:100%!important;max-width:100%!important;flex-direction:column!important;align-items:flex-start!important;gap:2rem 1rem!important;margin-top:2rem!important}
}

@media(max-width:768px){
  footer{padding:4rem 1.5rem 2rem!important}
  footer > div:not(.copy):not(.ftr-bottom):not(.footer-bottom):not(.footer-mark){display:block!important;grid-template-columns:1fr!important}
  footer .ftr-grid,footer .ftr-wrap,footer .footer-grid{display:grid!important;grid-template-columns:1fr!important;gap:2.5rem!important;margin-bottom:0!important}
  footer h4{margin-bottom:1rem!important;font-size:1.4rem!important}
  footer h5{margin-bottom:.8rem!important;margin-top:0!important}
  footer .ftr-wrap > :first-child,footer .footer-grid > :first-child{margin-bottom:.9rem!important}
  footer .ftr-wrap > :nth-child(2),footer .footer-grid > :nth-child(2){margin-top:.35rem!important}
  footer ul{padding-left:0!important}
  footer .copy,footer .footer-bottom{flex-direction:column!important;align-items:flex-start!important;gap:2rem 1rem!important;margin-top:3rem!important;padding-top:1.5rem!important}
  footer .footer-mark{font-size:clamp(3rem,14vw,6rem)!important;margin:2rem 0 0!important}
}
