/* Hillcrest HappyNest — pardon-our-dust splash.
   One committed look: warm cream + the cabin's own lake blue.
   The logo art is black line work on transparent, so the page stays light. */

:root {
  --cream: #faf5ec;
  --cream-deep: #f3ead9;
  --lake: #38678a;      /* the cabin's blue */
  --lake-dark: #2b5271;
  --brown: #4a3a2c;
  --brown-soft: #7a6a58;
  --sage: #7d8f6d;
  --serif: "Iowan Old Style", "Palatino Nova", Palatino, Georgia, serif;
  --sans: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: var(--cream);
  background-image: radial-gradient(circle at 15% 20%, #f5eddd 0, transparent 45%),
    radial-gradient(circle at 85% 85%, #f1e6d2 0, transparent 40%);
  color: var(--brown);
  font-family: var(--sans);
  padding: 14px;
}

.card {
  width: 100%;
  /* As a grid item the card's automatic minimum is its content's intrinsic
     width — the 900px photos propagate up and blow past narrow viewports.
     min-width: 0 lets the card shrink to the viewport so the flex rows inside
     can do their job. */
  min-width: 0;
  max-width: 640px;
  text-align: center;
  background: #fffdf8;
  border: 1px solid #e9dfcc;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(74, 58, 44, 0.10);
  padding: 16px 30px 14px;
}

/* The square logo canvas has generous transparent padding; negative margins
   pull the surrounding layout in tight without touching the art. */
.logo {
  width: min(170px, 44%);
  height: auto;
  margin: -14px auto -20px;
  display: block;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 4.5vw, 1.9rem);
  color: var(--lake);
  margin-bottom: 8px;
}

.lead {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--brown-soft);
  max-width: 48ch;
  margin: 0 auto 6px;
}

/* the two season shots, hung like prints — side by side even on phones so
   the whole page fits one viewport */
.prints {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: flex-start;
  margin: 12px 0 10px;
}

.print {
  flex: 1 1 0;
  min-width: 0; /* let the frames shrink below the image's intrinsic width */
  max-width: 216px;
  background: #fff;
  border: 1px solid #eee4d2;
  border-radius: 6px;
  padding: 6px 6px 4px;
  box-shadow: 0 6px 18px rgba(74, 58, 44, 0.14);
}

.print img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}

.print figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--brown-soft);
  padding-top: 4px;
}

.tilt-l { transform: rotate(-1.6deg); }
.tilt-r { transform: rotate(1.4deg); }

form { margin-top: 10px; }

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 11px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--brown);
  background: var(--cream);
  border: 1.5px solid #ddcfb6;
  border-radius: 12px;
}

input[type="email"]:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--sage);
}

button {
  flex: 0 0 auto;
  padding: 11px 22px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fffdf8;
  background: var(--lake);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

button:hover { background: var(--lake-dark); }
button:focus-visible { outline: 2px solid var(--brown); outline-offset: 2px; }
button[disabled] { opacity: 0.6; cursor: default; }

/* honeypot: parked far off-screen, still in the DOM for bots to find */
.hp { position: absolute; left: -6000px; top: -6000px; }

.cf-turnstile { display: flex; justify-content: center; margin-top: 10px; min-height: 65px; }

.note { min-height: 1.3em; margin-top: 6px; font-size: 0.9rem; color: var(--lake-dark); }

.done-big {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--sage);
  margin: 26px 0 8px;
}

footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #efe6d4;
  font-size: 0.78rem;
  color: #a09280;
  line-height: 1.6;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
