/* Palette from the Claude Design mockup. Light only; there is no dark theme.
   --brandT is darkened from the mockup's #6F8BAE (3.3:1) so it passes 4.5:1 on --cream
   at phone sizes; the band blue itself is never used for text. */
:root {
  --cream: #FFF6EE;
  --ink: #4A3A2E;
  --dim: #5A4A3E;
  --band: #A7BCD2;
  --pink: #FFB9D0;
  --plum: #8E4A62;
  --plumHover: #76394F;
  --brandT: #5A7394;
  --green: #4F7A1F;
  --field: #ffffff;
  --gutter: clamp(16px, 8vw, 120px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream) url("images/flower-tile.png") repeat;
  background-size: 360px auto;
  color: var(--ink);
  font-family: 'Didact Gothic', system-ui, -apple-system, sans-serif;
}

a { color: var(--plum); text-decoration: none; }
a:hover { color: #5E6FA0; }
input, select, textarea, button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--plum);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; color: var(--cream); }

/* --- Layout --------------------------------------------------------------- */

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.logo {
  width: min(420px, 80vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
}

.card {
  width: 100%;
  background: var(--band);
  border-radius: clamp(32px, 6vw, 64px);
  padding: clamp(12px, 2.5vw, 28px);
}

.card-inner {
  background: var(--cream);
  border-radius: 44px;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* Rye in pink with a plum outline; paint-order keeps the stroke outside the fill. */
.display {
  margin: 0;
  font-family: 'Rye', serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--pink);
  -webkit-text-stroke: 2px var(--plum);
  paint-order: stroke fill;
}

/* --- Intro ---------------------------------------------------------------- */

.intro h1 { font-size: clamp(30px, 5vw, 44px); }

.intro-copy {
  margin: 0;
  max-width: 820px;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.55;
  text-wrap: pretty;
}

.brand { color: var(--brandT); }

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid;
  border-radius: 999px;
  font-size: 20px;
}
.social img { width: 26px; height: 26px; }

.tone-pink   { background: var(--pink); border-color: var(--plum); color: #5E2E42; }
.tone-pink:hover   { background: #FFA3C2; color: #5E2E42; }
.tone-purple { background: #D8C8E6; border-color: #75699A; color: #4B3F6E; }
.tone-purple:hover { background: #CBB6DE; color: #4B3F6E; }
.tone-blue   { background: #CFE0EE; border-color: #5E7EA0; color: #34506E; }
.tone-blue:hover   { background: #BCD2E6; color: #34506E; }

.handle { margin: 0; font-size: 18px; color: var(--green); }

/* --- Contact -------------------------------------------------------------- */

.contact { align-items: stretch; gap: 24px; }

.contact-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.contact-head h2 { font-size: clamp(32px, 5vw, 40px); }
.contact-sub { margin: 0; font-size: 20px; color: var(--dim); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}
.contact-form[hidden] { display: none; }
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; }
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 17px;
}
.contact-form .span2 { grid-column: 1 / -1; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--band);
  border-radius: 16px;
  background: var(--field);
  font-size: 18px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--plum); outline: none; }

.btn-submit {
  grid-column: 1 / -1;
  justify-self: center;
  background: var(--plum);
  color: var(--cream);
  border: none;
  padding: 16px 48px;
  border-radius: 999px;
  font-size: 20px;
  cursor: pointer;
}
.btn-submit:hover { background: var(--plumHover); }
.btn-submit:disabled { opacity: .6; cursor: progress; }

.form-status { margin: 0; min-height: 1.4em; text-align: center; font-size: 17px; }
.form-status[data-state="error"] { color: #9B2C3B; }

/* Honeypot: off-screen rather than display:none so bots still fill it in. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 0;
}
.thanks[hidden] { display: none; }
.thanks-title {
  font-size: clamp(40px, 8vw, 56px);
  color: #D8C8E6;
  -webkit-text-stroke-color: #75699A;
}
.thanks-title:focus { outline: none; }

.btn-link {
  background: none;
  border: none;
  color: var(--plum);
  font-size: 17px;
  text-decoration: underline;
  cursor: pointer;
}

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  margin-top: 56px;
  background: var(--band);
  padding: 48px 0 0;
  display: flex;
  justify-content: center;
  border-radius: 64px 64px 0 0;
}
.site-footer img { width: min(620px, 90%); height: auto; display: block; }
