/* Elite Spa captive portal — dark editorial theme.
   Archivo is self-hosted (served from this same, pre-authorization-allowlisted
   domain) so it loads even before the guest has internet. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/static/archivo.woff2') format('woff2');
}

:root {
  --bg: #201216;
  --cream: #f4f1ec;
  --muted: #c9c2b8;
  --subtle: #9d8f86;
  --gold: #b8913f;
  --gold-bright: #d4ae63;
  --err: #deb0b4;
  --line: rgba(212, 174, 99, .2);
  --line-strong: rgba(212, 174, 99, .32);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 72px) clamp(18px, 5vw, 48px);
}

.wrap { width: 100%; max-width: 560px; }

/* header */
.brandbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--line-strong);
}
.logo { height: 56px; width: auto; display: block; }
.badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* headings + intro */
h1 {
  margin: 36px 0 0;
  font-weight: 300;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--cream);
}
.eyebrow {
  margin: 14px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.addr { margin: 6px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.lede { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 46ch; }

/* form */
form {
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.field { display: grid; gap: 8px; }
.label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--subtle);
}
.label .opt { font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--subtle); }

input[type=text], input[type=email], input[type=tel] {
  width: 100%;
  box-sizing: border-box;
  background: rgba(244, 241, 236, .05);
  border: 1px solid rgba(212, 174, 99, .3);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  padding: 15px 16px;
  border-radius: 0;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
input::placeholder { color: var(--subtle); opacity: 1; }
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus {
  border-color: var(--gold-bright);
  background: rgba(244, 241, 236, .08);
}
.hint { font-size: 12px; color: var(--subtle); line-height: 1.5; }

.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding-top: 4px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; cursor: pointer; accent-color: var(--gold); }
.check span { font-size: 12px; color: var(--muted); line-height: 1.55; }

a { color: var(--gold-bright); }

.error { margin: 0; font-size: 13px; color: var(--err); letter-spacing: .02em; }
.error:empty { display: none; }

.btn {
  background: var(--gold);
  color: var(--bg);
  border: 0;
  padding: 19px 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  border-radius: 0;
  min-height: 56px;
  font-family: inherit;
  display: block;
  text-decoration: none;
  transition: background .15s ease;
}
.btn:hover { background: var(--gold-bright); }

.btn-ghost {
  background: none;
  color: var(--cream);
  border: 1px solid rgba(212, 174, 99, .45);
  padding: 17px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  border-radius: 0;
  min-height: 54px;
  font-family: inherit;
  display: block;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* connected page */
.rule { height: 2px; background: var(--gold); margin: 30px 0 0; }
.review { margin: 26px 0 0; }
.review .lede { margin: 0 0 20px; color: var(--muted); }
.links { display: grid; gap: 0; margin: 30px 0 0; }
.row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  text-decoration: none;
  transition: color .15s ease;
}
.row:hover { color: var(--gold-bright); }
.row .t { font-weight: 300; font-size: 20px; letter-spacing: -.01em; }
.row .m { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--subtle); flex: none; }

/* footer */
footer { border-top: 1px solid rgba(212, 174, 99, .22); padding: 22px clamp(18px, 5vw, 48px); }
.foot {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--subtle);
}
.foot a { color: var(--subtle); text-decoration: none; }
.foot .addr-r {
  margin-left: auto;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--subtle);
}
