:root {
  --black: #050505;
  --ivory: #e9e3d7;
  --muted: #aaa398;
  --line: #302f2b;
  --field: #0c0c0b;
  --serif-display: "Cormorant Garamond", Georgia, serif;
  --serif-text: "Spectral", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--serif-text);
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 300;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
.site-shell { width: min(100% - 36px, 760px); margin: 0 auto; }
.masthead { text-align: center; padding: clamp(54px, 10vw, 110px) 0 40px; }
.logo-rotator {
  position: relative;
  width: min(72vw, 360px);
  aspect-ratio: 1 / 1.015;
  margin: 0 auto 28px;
  background: transparent;
}
.rotating-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.rotating-logo.is-active { opacity: 1; }
.kicker {
  margin: 0;
  font-family: var(--serif-display);
  font-size: clamp(2rem, 7vw, 4.3rem);
  font-style: italic;
  line-height: 1;
  letter-spacing: .01em;
}
.story p { margin: 0 0 1.65em; }
.opening::first-letter {
  float: left;
  font-family: var(--serif-display);
  font-size: 5.2em;
  font-weight: 500;
  line-height: .75;
  padding: .12em .09em 0 0;
}
.artifact { margin: clamp(48px, 9vw, 82px) 0; }
.artifact img { width: 100%; }
.artifact-wide { width: min(940px, calc(100vw - 28px)); margin-left: 50%; transform: translateX(-50%); }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.image-pair img { width: 100%; height: 100%; max-height: 430px; object-fit: contain; background: #090909; }
figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--serif-display);
  font-size: .93em;
  font-style: italic;
  line-height: 1.48;
  text-align: center;
}
.session-mark { width: min(74vw, 430px); margin: 82px auto 54px; }
.closing-thought {
  margin: 80px auto 110px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif-display);
  font-size: clamp(1.7rem, 4.7vw, 2.7rem);
  font-style: italic;
  line-height: 1.25;
  text-align: center;
}
.closing-thought p { margin: 0; }
.closing-thought p + p { margin-top: .7em; }
.invitation { padding: 0 0 90px; text-align: center; }
.invitation h2 {
  margin: 0 0 12px;
  font-family: var(--serif-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
}
.invitation > p { max-width: 640px; margin: 0 auto 38px; color: #d2ccc1; }
.invitation-form { text-align: left; margin: 42px auto 30px; }
.field { margin-bottom: 24px; }
label { display: block; margin-bottom: 7px; font-family: var(--serif-display); font-size: 1.15em; }
input, textarea {
  width: 100%;
  border: 1px solid #4a4842;
  border-radius: 0;
  background: var(--field);
  color: var(--ivory);
  font: inherit;
  padding: 12px 14px;
}
input:focus, textarea:focus { outline: 1px solid var(--ivory); outline-offset: 3px; }
textarea { resize: vertical; }
button {
  display: block;
  margin: 30px auto 0;
  border: 1px solid var(--ivory);
  background: transparent;
  color: var(--ivory);
  padding: 11px 26px;
  font-family: var(--serif-display);
  font-size: 1.1em;
  letter-spacing: .04em;
  cursor: pointer;
}
button:hover, button:focus-visible { background: var(--ivory); color: var(--black); }
.honey { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.email-link { margin-top: 45px !important; font-family: var(--serif-display); }
.form-notice { margin: 30px auto; padding: 12px; border: 1px solid var(--line); }
.form-notice.success { color: var(--ivory); }
.form-notice.error { color: #e1b7b2; }
.site-footer { padding: 26px 0 46px; border-top: 1px solid var(--line); color: #77736c; text-align: center; font-size: .75em; letter-spacing: .05em; }
.site-footer p { margin: 0; }
.secret-link { display: inline-block; margin-top: 14px; color: #2e2d29; font-size: 2.2rem; line-height: 1; text-decoration: none; transition: color .3s ease; }
.secret-link:hover, .secret-link:focus-visible { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Members page */
.members-page { min-height: 100vh; display: grid; place-items: center; }
.members-panel { width: min(100% - 36px, 560px); text-align: center; padding: 60px 0; }
.members-panel h1 { font-family: var(--serif-display); font-size: clamp(2.7rem, 9vw, 5rem); font-weight: 500; margin: 0 0 12px; }
.members-panel .session-logo { width: min(65vw, 280px); margin: 0 auto 34px; }
.members-panel form { margin-top: 36px; }
.members-panel input { text-align: center; }
.members-message { font-family: var(--serif-display); font-size: clamp(1.55rem, 4vw, 2.2rem); font-style: italic; }
.members-small { color: var(--muted); font-size: .85em; }
.back-link { display: inline-block; margin-top: 36px; color: var(--muted); font-size: .8em; }

@media (max-width: 620px) {
  .site-shell { width: min(100% - 28px, 760px); }
  .masthead { padding-top: 44px; }
  .image-pair { grid-template-columns: 1fr; gap: 14px; }
  .image-pair img { max-height: none; }
  .artifact-wide { width: calc(100vw - 16px); }
  .opening::first-letter { font-size: 4.5em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rotating-logo { transition: none; }
}
