:root {
  --ink:        #1a1a1a;
  --paper:      #f6f2ea;
  --rule:       #c9bfa6;
  --gold:       #9c8a2a;
  --gold-deep:  #7e6f1f;
  --muted:      #6b6555;
  --serif:  'Cormorant Garamond', 'Times New Roman', serif;
  --display:'Italiana', 'Cormorant Garamond', serif;
  --sans:   'Inter', system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f3eddf 0%, var(--paper) 100%);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.legal-nav {
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  background: rgba(246, 242, 234, .92);
  backdrop-filter: blur(8px);
}
.legal-nav__brand {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.legal-nav__back {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  transition: all .3s var(--ease);
}
.legal-nav__back:hover {
  background: var(--ink);
  color: var(--paper);
}

.legal-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vh, 88px) var(--gutter);
}
.legal-panel {
  width: min(100%, 420px);
  background: #fdfbf7;
  border: 1px solid var(--rule);
  box-shadow: 0 22px 44px rgba(26, 26, 26, .08);
  padding: clamp(36px, 6vw, 52px) clamp(28px, 5vw, 44px);
  text-align: center;
}
.legal-panel--wide {
  width: min(100%, 560px);
}
.legal-panel__eyebrow {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.legal-panel__title {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .04em;
}
.legal-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
}
.legal-panel__list a {
  color: var(--gold-deep);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.legal-panel__list a:hover {
  border-bottom-color: var(--gold);
}
.legal-panel__text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  background: #1a1a1a;
  color: #c9bfa6;
  padding: clamp(28px, 4vh, 36px) var(--gutter);
  padding-bottom: max(clamp(28px, 4vh, 36px), env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #2a2a2a;
  font-family: var(--sans);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.site-footer__legal a {
  color: #f6f2ea;
  transition: color .25s var(--ease);
}
.site-footer__legal a:hover { color: #9c8a2a; }
.site-footer__sep {
  color: #6b6555;
  font-weight: 300;
}
.site-footer__credit {
  margin: 0;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #6b6555;
}
.site-footer__credit a {
  color: #9c8a2a;
  transition: color .25s var(--ease);
}
.site-footer__credit a:hover { color: #f6f2ea; }
.site-footer__copy {
  margin: 0;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #c9bfa6;
}
.site-footer__copy span { color: #9c8a2a; }

@media (max-width: 860px) {
  .site-footer {
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px) + 2.75rem);
  }
}
