/* Good Girl Press — landing.
   Dark, refined, deliberate. Black ground, silver text, hairline rules.
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --ink: #000000;
  --silver: #c8c6c0;
  --silver-bright: #e8e6df;
  --silver-dim: #8a8780;
  --hairline: rgba(200, 198, 192, 0.18);
  --hairline-strong: rgba(200, 198, 192, 0.4);
  --accent: #b8945a;        /* antique gold — used very sparingly */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--silver);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top, rgba(80, 76, 70, 0.12), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(40, 38, 35, 0.25), transparent 70%),
    var(--ink);
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 4rem 1.75rem 5rem;
}

/* ---- wordmark ---- */

header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.mark {
  display: block;
  margin: 0 auto;
  margin-bottom: -3rem;   /* pull her down so her hands rest on the wordmark */
  width: 300px;
  max-width: 70%;
  height: auto;
  opacity: 0.72;
  position: relative;
  z-index: 2;
  /* shift her left so her center sits over the 'G' in Good,
     and down so her hand sits well on the wordmark.
     Scales with viewport. */
  transform: translate(clamp(-16rem, -30vw, -8rem), 5.5rem);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

header h1 {
  position: relative;
  z-index: 1;
}

.mark-small {
  width: 160px;
  margin-bottom: -1.75rem;
  opacity: 0.7;
}

/* The second silhouette — fixed to the lower-right of the viewport.
   Stays put on scroll. Decorative; sits behind the content. */
.mark-fixed {
  position: fixed;
  bottom: 1.5rem;
  /* Left edge of image = right edge of the 560px-wide content column,
     which sits at viewport-center + 280px. */
  left: calc(50% + 280px);
  right: auto;
  width: 253px;
  height: auto;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
}

main {
  position: relative;
  z-index: 1;
}

/* Hide when viewport is too narrow to fit her to the right of the content. */
@media (max-width: 1080px) {
  .mark-fixed { display: none; }
}

header h1 {
  font-family: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 4rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  background: linear-gradient(180deg, var(--silver-bright) 0%, var(--silver) 50%, var(--silver-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--silver-dim);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ---- ornament between sections ---- */

.ornament {
  display: block;
  margin: 3rem auto;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-strong), transparent);
  position: relative;
}

.ornament::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

/* ---- section headings ---- */

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--silver-dim);
  margin: 0 0 1.5rem;
  text-align: center;
}

/* ---- pens list ---- */

section.pens ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

section.pens li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

section.pens li:last-child {
  border-bottom: 1px solid var(--hairline);
}

section.pens strong {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--silver-bright);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 0.25rem;
}

section.pens li span {
  display: block;
  font-size: 0.92rem;
  color: var(--silver-dim);
  font-style: italic;
}

/* ---- signup form ---- */

section.signup p {
  text-align: center;
  color: var(--silver-dim);
  font-size: 0.95rem;
  margin: 0 0 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

label.email {
  display: block;
}

label.email span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 0.5rem;
}

input[type="email"] {
  width: 100%;
  padding: 0.85rem 0;
  font: inherit;
  font-size: 1rem;
  color: var(--silver-bright);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline-strong);
  outline: none;
  transition: border-color 0.2s ease;
}

input[type="email"]::placeholder { color: var(--silver-dim); }
input[type="email"]:focus { border-bottom-color: var(--accent); }

/* checkboxes */

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

fieldset legend {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 0.85rem;
  padding: 0;
}

.pen-opt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--silver);
  transition: color 0.15s ease;
}

.pen-opt:hover { color: var(--silver-bright); }

.pen-opt input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--hairline-strong);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}

.pen-opt input[type="checkbox"]:hover { border-color: var(--silver); }

.pen-opt input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}

.pen-opt input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* button */

button[type="submit"] {
  margin-top: 0.5rem;
  align-self: center;
  background: transparent;
  color: var(--silver-bright);
  border: 1px solid var(--silver-dim);
  padding: 0.85rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

button[type="submit"]:hover {
  background: var(--silver-bright);
  color: var(--ink);
  border-color: var(--silver-bright);
}

/* ---- error ---- */

.error {
  background: rgba(184, 148, 90, 0.08);
  border-left: 2px solid var(--accent);
  padding: 0.75rem 1rem;
  color: var(--silver-bright);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* ---- thanks page ---- */

.thanks header h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.thanks ul {
  list-style: none;
  padding: 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--silver-bright);
}

.thanks ul li { padding: 0.4rem 0; }

.thanks p {
  text-align: center;
  color: var(--silver-dim);
}

.thanks a {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.06em;
}

.thanks a:hover { color: var(--silver-bright); }

/* ============================================================
   /app — private workshop. Wider, utilitarian, same palette.
   ============================================================ */

.app-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

.app-nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.app-nav .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--silver-bright);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.app-nav .brand .sub {
  color: var(--silver-dim);
  font-style: italic;
  margin-left: 0.5rem;
  font-size: 0.95rem;
}

.app-nav .links a {
  color: var(--silver-dim);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.app-nav .links a:hover { color: var(--silver-bright); }

.app-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--silver-bright);
  margin: 0 0 1.5rem;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

/* ---- kanban board ---- */

.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.board-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0.75rem;
  min-height: 200px;
}

.board-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--silver-dim);
  margin: 0 0 0.75rem;
  display: flex;
  justify-content: space-between;
}

.board-col h3 .count {
  color: var(--silver);
}

.book-card {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: var(--silver);
  transition: border-color 0.15s;
}

.book-card:hover {
  border-color: var(--hairline-strong);
  color: var(--silver-bright);
}

.book-card .title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--silver-bright);
  display: block;
  margin-bottom: 0.15rem;
}

.book-card .pen {
  font-size: 0.7rem;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---- forms ---- */

.app-form {
  max-width: 880px;
}

.app-form .field {
  margin-bottom: 1.25rem;
}

.app-form label,
.app-form .field > span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--silver-dim);
  margin-bottom: 0.4rem;
}

.app-form input[type="text"],
.app-form input[type="date"],
.app-form input[type="url"],
.app-form input[type="number"],
.app-form select,
.app-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 0.6rem 0.75rem;
  color: var(--silver-bright);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
}

.app-form textarea {
  font-family: 'Iowan Old Style', Georgia, 'Cormorant Garamond', serif;
  line-height: 1.55;
  min-height: 6rem;
  resize: vertical;
}

.app-form input:focus,
.app-form select:focus,
.app-form textarea:focus {
  outline: none;
  border-color: var(--silver);
}

.app-form .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.app-form button,
.app-btn {
  background: var(--silver-bright);
  color: var(--ink);
  border: none;
  border-radius: 3px;
  padding: 0.65rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.app-btn.secondary {
  background: transparent;
  color: var(--silver);
  border: 1px solid var(--hairline-strong);
}

.app-btn.danger {
  background: transparent;
  color: #c98a8a;
  border: 1px solid rgba(201, 138, 138, 0.4);
}

/* ---- artifact sections ---- */

.artifact {
  border-top: 1px solid var(--hairline);
  padding: 1.75rem 0 0.5rem;
  margin-top: 1.75rem;
}

.artifact h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--silver-bright);
  margin: 0 0 1.25rem;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.book-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.book-header .pen-tag {
  font-size: 0.7rem;
  color: var(--silver-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.chapter-block {
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.015);
}

.chapter-block .chapter-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.empty {
  color: var(--silver-dim);
  font-style: italic;
  font-size: 0.9rem;
}
