:root {
  --paper: #faf8f3;
  --ink: #201d1b;
  --burgundy: #6c201d;
  --burgundy-dark: #531613;
  --blue: #304955;
  --line: #d9d0c4;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--paper); }
body { color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
[hidden] { display: none !important; }

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(520px, 1.08fr);
  background: var(--paper);
}

.brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(42px, 6vw, 86px);
  color: white;
  isolation: isolate;
  background: var(--blue);
}

.brand-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 31, 37, .58) 0%, rgba(18, 31, 37, .18) 42%, rgba(18, 31, 37, .66) 100%),
    linear-gradient(90deg, rgba(25, 43, 51, .25), transparent 65%);
}

.photo-backdrop {
  position: absolute;
  inset: -7%;
  z-index: -2;
  width: 114%;
  height: 114%;
  object-fit: cover;
  object-position: 57% 50%;
}

.brand-copy, .membership-card { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.eyebrow.light { color: rgba(255,255,255,.78); }

.brand-copy h1 {
  margin: 0;
  color: #fffaf4;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(72px, 10vw, 150px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .84;
}

.brand-line {
  max-width: 440px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.82);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .52);
}

.membership-card {
  width: min(650px, 100%);
  align-self: center;
  transform: rotate(-1.15deg);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 12px;
  box-shadow: 0 32px 82px rgba(0,0,0,.32);
}

.form-panel { min-height: 100vh; display: grid; place-items: center; padding: clamp(38px, 7vw, 110px); }
.form-wrap { width: min(620px, 100%); }

.form-wrap h2 {
  max-width: 560px;
  margin: 0;
  color: var(--burgundy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}

.intro { max-width: 540px; margin: 26px 0 42px; color: #5e5953; font-size: 17px; line-height: 1.65; }
form { display: grid; gap: 12px; }

form > label:not(.consent) {
  margin-top: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input[type='text'], input[type='email'] {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  outline: none;
  padding: 13px 2px 14px;
  color: var(--ink);
  background: transparent;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
  transition: border-color .2s ease;
}

input[type='text']:focus, input[type='email']:focus { border-color: var(--blue); }
input::placeholder { color: #aaa29a; opacity: 1; }
.field-help { margin: -4px 0 6px; color: #90887f; font-size: 12px; line-height: 1.4; }

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 13px;
  align-items: start;
  margin: 20px 0 8px;
  color: #625d57;
  font-size: 13px;
  line-height: 1.45;
}

.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--burgundy); }
.consent a, .privacy a, .legal-page a { color: var(--burgundy); text-underline-offset: 2px; }
.website-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

button {
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  padding: 18px 24px;
  color: white;
  background: var(--burgundy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

button:hover:not(:disabled) { transform: translateY(-2px); background: var(--burgundy-dark); }
button:disabled { cursor: not-allowed; opacity: .42; }
.privacy { margin: 18px 0 0; color: #90887f; font-size: 12px; line-height: 1.5; }
.error { margin: 2px 0 0; color: var(--burgundy); font-size: 13px; line-height: 1.5; }

.success-card { border-top: 3px solid var(--burgundy); padding: 32px 0 0; }
.success-card > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: 24px; }
.success-card h3 { margin: 24px 0 8px; color: var(--burgundy); font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 400; }
.success-card p { margin: 0 0 28px; color: #625d57; line-height: 1.6; }
.success-card .secondary { width: 100%; background: var(--blue); }

.legal-page {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
  color: #5e5953;
  font-size: 16px;
  line-height: 1.7;
}

.legal-page h1 {
  margin: 0 0 34px;
  color: var(--burgundy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 400;
  line-height: 1;
}

.legal-page h2 { margin: 30px 0 6px; color: var(--blue); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.legal-page p { margin: 0 0 16px; }
.legal-back { display: inline-block; margin-bottom: 42px; font-size: 13px; font-weight: 700; }

@media (max-width: 880px) {
  .site-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: 510px; padding: 42px 28px; }
  .brand-copy h1 { font-size: clamp(72px, 22vw, 116px); }
  .membership-card { width: min(520px, 100%); margin-top: 44px; }
  .photo-backdrop { inset: -9%; width: 118%; height: 118%; object-position: 58% 52%; }
  .form-panel { min-height: auto; padding: 64px 28px 76px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
