:root {
  --parchment: #FEFEF2;
  --ink: #000000;
  --ink-soft: #55534D;
  --line: #D6D3C8;
  --serif: "ivypresto-headline", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--parchment); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
a { color: inherit; }

/* Split layout: photo left, content right */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100dvh; }
.media { position: relative; overflow: hidden; background: #2a2620; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px clamp(28px, 6vw, 88px) 36px;
}
.content { width: 100%; max-width: 440px; margin: 56px 0; }

.wordmark { display: inline-block; line-height: 0; }
.wordmark img { height: 24px; width: auto; }
.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 14px;
}
h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1.05; letter-spacing: -.01em;
}
.lede { font-size: 16px; color: var(--ink-soft); margin-top: 16px; max-width: 380px; }

/* Signup form */
form { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
input[type=email] {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 16px; border: 1px solid var(--line); border-radius: 0; background: #FFFFFF;
}
input[type=email]::placeholder { color: #8A8378; }
input[type=email]:focus { outline: none; border-color: var(--ink); }
.btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 18px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--ink); color: var(--parchment);
  font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: .01em;
  text-decoration: none; transition: opacity .15s ease;
}
.btn:hover { opacity: .88; }
.btn:disabled { opacity: .6; cursor: default; }
.btn .arrow { font-family: var(--sans); font-size: 18px; }
.fine { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }

/* Outlined link buttons (confirmed page) */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.socials a {
  flex: 1 1 0; min-width: 110px; text-align: center; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px; border: 1px solid var(--ink); font-size: 14.5px; font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.socials a:hover { background: var(--ink); color: var(--parchment); }
.socials svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.back { display: inline-block; margin-top: 28px; font-size: 14.5px; font-weight: 600; text-underline-offset: 4px; }

/* Footer */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: 12.5px; color: var(--ink-soft);
}
.foot nav { display: flex; gap: 18px; }
.foot a { text-decoration: none; }
.foot .icons { gap: 16px; align-items: center; }
.foot .icons a { display: inline-flex; color: var(--ink); opacity: .75; transition: opacity .15s ease; }
.foot .icons a:hover { opacity: 1; }
.foot .icons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Phones and narrow tablets: content first, photo below */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .panel { padding: 28px 20px 28px; }
  .content { margin: 44px 0 40px; }
  .media { height: 58vh; min-height: 340px; order: 2; }
  .wordmark img { height: 20px; }
  .foot { flex-direction: column; gap: 14px; }
}
