/* ==========================================================================
   LACYFIT — coming soon
   One centred column on a bone ground. No imagery: the store behind it is
   still in progress, and a holding page that promises nothing is better than
   one that shows a piece it cannot yet sell.

   Kept in its own file (not inline) so the site can run a strict
   Content-Security-Policy with script-src 'self'.
   ========================================================================== */
:root {
  --bone: #FDF8F7;
  --ecru: #F8EFEE;
  --ink: #1E1A19;
  --muted: #675A55;
  --rose: #7B4A54;
  --rose-line: #D9C3C0;
  --display: "Cormorant Garamond", Didot, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

body {
  margin: 0;
  /* Beige plaster: a warm ground with a tileable grain over it, and a soft
     vignette so the wall reads as a surface rather than a flat fill. */
  background-color: #F4EEE6;
  background-image:
    radial-gradient(120% 90% at 50% 30%, rgba(255, 250, 244, 0.22) 0%, rgba(255, 250, 244, 0) 60%),
    url("wall.png");
  background-size: auto, 480px 480px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* --- Centred column ------------------------------------------------------ */
.shell {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #FFFFFF;
  /* svh is the small viewport, so a mobile toolbar appearing never crops it */
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 6vw, 3rem);
}
.inner {
  width: 100%;
  max-width: 34rem;
  text-align: center;
}

.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Portrait source. On a wide screen this keeps her face and the neckline
     in frame; on a phone it is close to native and shows nearly everything. */
  /* Biased down the frame so the garment leads; the top of her face is
     allowed to run off the edge. */
  object-position: 50% 52%;
  z-index: -2;
}
/* Flat wash, no gradient, same recipe as the store hero: dense enough for
   white type on sunlit grass, light enough that the photo stays the point. */
.wash { position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.52); }

/* --- Type ---------------------------------------------------------------- */
.mark img { height: clamp(19px, 2vw, 26px); width: auto; margin-inline: auto; filter: brightness(0) invert(1); }

.eyebrow {
  margin: clamp(2.25rem, 5vw, 3.25rem) 0 0;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 1rem 0 1.5rem;
}
h1 em { font-style: italic; }

.lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  line-height: 1.8;
  max-width: 40ch;
  margin: 0 auto;
}

/* --- Signup -------------------------------------------------------------- */
/* The field is the only action on the page, so it is drawn as a field: a
   bordered box with a floating label and a solid button, not a hairline you
   might miss. Stacks on phones so the tap target is the full width. */
form {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 30rem;
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
  text-align: left;
}
.field {
  flex: 1;
  min-width: 0;
  display: block;
  position: relative;
  border: 1px solid var(--rose-line);
  background: #FFFFFF;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field:focus-within {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(148, 96, 105, 0.14);
}
.field__label {
  position: absolute;
  top: 0.55rem;
  left: 1rem;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  pointer-events: none;
}
input {
  width: 100%;
  border: 0;
  background: none;
  outline: none;
  font: inherit;
  font-size: 1rem;
  padding: 1.5rem 1rem 0.7rem;
  color: var(--ink);
}
input::placeholder { color: #B9AEA9; }

.cta {
  flex: none;
  border: 0;
  cursor: pointer;
  padding: 0 1.75rem;
  background: var(--rose);
  color: var(--bone);
  font: inherit;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s var(--ease);
}
.cta:hover { background: var(--ink); }
.cta:disabled { opacity: 0.5; cursor: default; }

.note {
  margin: 0.9rem 0 0;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  min-height: 1.2em;
}

.meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.meta a { color: #FFFFFF; text-decoration: none; }
.meta span, .meta a { line-height: 1.2; }

/* --- Motion -------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .inner > * { animation: rise 1.1s var(--ease) both; }
  .inner > :nth-child(2) { animation-delay: 0.06s; }
  .inner > :nth-child(3) { animation-delay: 0.12s; }
  .inner > :nth-child(4) { animation-delay: 0.18s; }
  .inner > :nth-child(5) { animation-delay: 0.24s; }
  .inner > :nth-child(6) { animation-delay: 0.30s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
}

@media (max-width: 600px) {
  .bg { object-position: 50% 30%; }
  form { flex-direction: column; gap: 0.6rem; }
  .cta { padding: 1rem 1.5rem; }
  .meta span, .meta a { display: inline-block; padding-block: 7px; }
}
