/* Nicole's Crafting Corner — coming soon page
   Palette: cream #f4f2e8 / ink #26332b / green #4e7d61 / deep green #2f6b43
   Type: Bitter (display) + Karla (text) */

*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #f4f2e8;
  --card: #fcfbf5;
  --sage: #e9efe6;
  --ink: #26332b;
  --body: #55655b;
  --muted: #6b7a70;
  --faint: #8a978d;
  --green: #4e7d61;
  --green-dark: #3b6149;
  --green-deep: #2f6b43;
  --line: #dde0d2;
  --line-strong: #cbd5c6;
  --serif: 'Bitter', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', system-ui, -apple-system, sans-serif;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
::selection { background: var(--green); color: #fff; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(36px, 7vw, 80px) clamp(20px, 5vw, 56px);
}

.stack {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Wordmark */
.wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 25px);
  line-height: 1;
}
.wordmark-name {
  font-weight: 700;
  font-size: clamp(21px, 2.8vw, 27px);
  letter-spacing: -0.01em;
  color: var(--green-deep);
}
.wordmark-rest { color: var(--green); }

.rule {
  width: 44px;
  height: 1px;
  background: #b6c2b3;
  margin: clamp(26px, 4vw, 38px) 0;
}

/* Headline block */
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 6.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: pretty;
  margin-bottom: 22px;
}

.lede {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.72;
  color: var(--body);
  max-width: 30em;
  text-wrap: pretty;
}

/* Email signup */
.signup {
  width: 100%;
  max-width: 470px;
  margin-top: clamp(34px, 5vw, 46px);
}

.signup-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

#notify-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

#notify-form input {
  flex: 1 1 220px;
  min-width: 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  padding: 14px 15px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.18s ease;
}
#notify-form input:focus { border-color: var(--green); }
#notify-form input[aria-invalid='true'] { border-color: #a8564b; }

/* Optional custom-request field. Full-width basis so it takes its own line rather than
   competing with the email input, and vertical-only resize so a drag can't break the
   470px column. Inherits the input's look deliberately — they read as one control set. */
#notify-form textarea {
  flex: 1 1 100%;
  min-width: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  padding: 12px 15px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  outline: none;
  resize: vertical;
  transition: border-color 0.18s ease;
}
#notify-form textarea:focus { border-color: var(--green); }
#notify-form textarea::placeholder { color: var(--faint); }

#notify-form button {
  flex: 1 1 100%;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 14px 26px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.18s ease;
}
#notify-form button:hover { background: var(--green-dark); }

/* Turnstile sits in the same flex row as the input and button. Give it a full-width
   basis so it claims its own line instead of squeezing them; in interaction-only mode
   it has no rendered height, so that line collapses and costs only the 10px flex gap.
   Deliberately NOT hidden with display/visibility/opacity — Cloudflare needs this
   container live in the DOM to inject a visible challenge when it decides to. */
#notify-form .cf-turnstile {
  flex: 1 1 100%;
  min-width: 0;
}

.fineprint {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--faint);
  margin-top: 12px;
}

.error {
  font-size: 13px;
  line-height: 1.5;
  color: #a8564b;
  margin-top: 8px;
}

.signup-thanks {
  background: var(--sage);
  border: 1px solid #d3dbcf;
  padding: 26px 24px;
}
.check {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--green);
  margin-bottom: 12px;
}
.thanks-title {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.thanks-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

/* Contact */
.contact {
  width: 100%;
  max-width: 470px;
  margin-top: clamp(38px, 5.5vw, 54px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}

.footer {
  margin-top: auto;
  padding-top: clamp(40px, 6vw, 64px);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

[hidden] { display: none !important; }
