/* NAAQRA. White, black, one deep plum. Quiet and premium: the name, one line, the list. Phone first. */
@font-face { font-family: "Cormorant SC"; src: url("/fonts/cormorant-sc-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --plum: #4B1D3F;
  --ink: #0a0a0a;
  --grey: #6e6e6e;
  --faint: #9a9a9a;
  --line: #e9e9e9;
  --serif: "Cormorant SC", "Cormorant", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
::selection { background: var(--plum); color: #fff; }

/* The name */
.mark {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 15vw, 128px);
  line-height: 1;
  letter-spacing: .16em;
  margin: 0 -.16em 0 0; /* keeps the spaced letters centred */
  color: #000;
  text-decoration: none;
}
.mark .q { color: var(--plum); }
.mark-sm { font-size: 22px; letter-spacing: .3em; margin-right: -.3em; }

/* The one screen */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 28px 32px;
}
.soon {
  margin: 26px 0 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .46em;
  margin-right: -.46em;
  text-transform: uppercase;
  color: var(--grey);
}

/* The list */
.join { width: 100%; max-width: 360px; margin-top: 64px; }
.line {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  transition: border-color .3s ease;
}
.line:focus-within { border-color: var(--plum); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.join input[type=email] {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 0;
  font: 400 16px var(--sans); /* 16px stops iPhones zooming in */
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.join input[type=email]::placeholder { color: var(--faint); }
.go {
  border: 0;
  background: none;
  padding: 14px 0 14px 18px;
  font: 600 11px var(--sans);
  letter-spacing: .32em;
  margin-right: -.32em;
  text-transform: uppercase;
  color: var(--plum);
  cursor: pointer;
}
.go:hover { color: #000; }
.go:focus-visible { outline: 1px solid var(--plum); outline-offset: 4px; }
.go[disabled] { opacity: .5; cursor: default; }
.consent { margin: 16px auto 0; max-width: 300px; font-size: 11px; line-height: 1.65; color: var(--faint); }
.consent a { color: var(--faint); }
.msg { margin: 12px 0 0; font-size: 12px; color: var(--grey); min-height: 1px; }
.msg.err { color: #8f1630; }
.msg .linkish { font: inherit; color: var(--plum); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { display: none; }
.done:focus { outline: none; }
.join.is-done .line, .join.is-done .consent, .join.is-done .msg { display: none; }
.join.is-done .done { display: block; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.done h2 { margin: 0 0 8px; font: 500 30px/1.1 var(--serif); letter-spacing: .04em; }
.done p { margin: 0; font-size: 13px; color: var(--grey); }
.textlink {
  display: inline-block;
  margin-top: 22px;
  border: 0;
  background: none;
  padding: 0 0 3px;
  border-bottom: 1px solid var(--plum);
  font: 600 10.5px var(--sans);
  letter-spacing: .32em;
  margin-right: -.32em;
  text-transform: uppercase;
  color: var(--plum);
  cursor: pointer;
  text-decoration: none;
}

/* The photos, once Sir sends them (the section is in index.html, switched off for now) */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 6px 64px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #f5f4f4; }

footer.site {
  padding: 22px 24px 28px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--faint);
}
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .dot { margin: 0 10px; }

/* Plain pages: privacy, unsubscribe, 404 */
body.plain .note { width: 100%; max-width: 560px; margin: 0 auto; padding: 64px 28px 72px; }
.note .mark-sm { margin-bottom: 56px; }
.note h1 { margin: 0 0 18px; font: 500 clamp(32px, 8vw, 44px)/1.1 var(--serif); letter-spacing: .03em; }
.note h2 { margin: 34px 0 6px; font: 600 10.5px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--plum); }
.note p, .note li { color: #2c2c2c; }
.note ul { padding-left: 18px; }
.note .small { font-size: 13px; color: var(--grey); }
.note a { color: var(--plum); }
.note form { margin: 26px 0 10px; }
.btn {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 15px 30px;
  font: 600 11px var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn:hover { background: var(--plum); border-color: var(--plum); }
.centre { text-align: center; }

/* A slow, quiet entrance */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; letter-spacing: .32em; } to { opacity: 1; letter-spacing: .16em; } }
.stage .mark { animation: settle 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.stage .soon { animation: rise 1.2s .6s cubic-bezier(.2, .7, .2, 1) both; }
.stage .join { animation: rise 1.2s .9s cubic-bezier(.2, .7, .2, 1) both; }
footer.site { animation: rise 1.2s 1.2s ease both; }

@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 8px 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage .mark, .stage .soon, .stage .join, footer.site, .join.is-done .done { animation: none; }
}
