/* fauntleehills.org: a mid-century landing page after Webb's 1950s sales brochure. No scripts, no third parties. */
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Yellowtail";
  src: url("/fonts/yellowtail-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --cream: #f4eddc;
  --paper: #ebe2cc;
  --ink: #2b2a27;
  --ink-soft: #5a564d;
  --jade: #2a8068;
  --jade-deep: #24725c;
  --mustard: #e0a526;
  --coral: #d9603b;
}

* { box-sizing: border-box; }

html { background: var(--cream); }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% 8%, rgba(224, 165, 38, 0.10), transparent 32%),
    radial-gradient(circle at 92% 28%, rgba(42, 128, 104, 0.10), transparent 30%),
    var(--cream);
}

.caps {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}

.script {
  font-family: "Yellowtail", "Brush Script MT", cursive;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Masthead: the brochure's slanted jade banner and a starburst. */
.masthead {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 1.25rem 1rem;
}

.banner {
  background: var(--jade);
  color: #fff;
  text-align: center;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.5rem, 6vw, 4rem) clamp(1.2rem, 3vw, 2rem);
  clip-path: polygon(0 10%, 100% 0, 96% 100%, 3% 92%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.banner h1 {
  margin: 0;
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  line-height: 1;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.banner .caps {
  margin: 0.6rem 0 0;
  font-size: clamp(0.72rem, 1.9vw, 1rem);
}

.starburst {
  position: absolute;
  right: clamp(0.25rem, 3vw, 2rem);
  bottom: -2.2rem;
  width: clamp(6.5rem, 18vw, 9.5rem);
  aspect-ratio: 1;
  margin: 0;
  display: grid;
  place-items: center;
  transform: rotate(-12deg);
}

.starburst svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--mustard);
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linejoin: round;
}

.starburst span {
  position: relative;
  font-family: "Yellowtail", cursive;
  font-size: clamp(1.15rem, 3.4vw, 1.6rem);
  line-height: 1.05;
  text-align: center;
  color: var(--ink);
}

main {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Introduction */
.intro {
  max-width: 40rem;
  margin: clamp(3.5rem, 8vw, 5rem) auto 0;
}

.lede {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.5;
  font-weight: 500;
}

.intro em {
  font-style: normal;
  color: var(--jade-deep);
  letter-spacing: 0.04em;
}

/* Prints: the archive images, framed like prints pinned to a board. */
.prints {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin: clamp(3rem, 7vw, 4.5rem) 0;
}

.print {
  margin: 0;
  background: #fffdf7;
  padding: 0.75rem 0.75rem 0.5rem;
  box-shadow: 0 1px 2px rgba(43, 42, 39, 0.18), 0 12px 28px rgba(43, 42, 39, 0.16);
}

.print-left { transform: rotate(-2deg); }
.print-right { transform: rotate(1.5deg); margin-top: 2.5rem; }

.print img {
  display: block;
  width: 100%;
  height: auto;
  filter: sepia(0.08) contrast(1.02);
}

.print figcaption {
  font-size: 0.86rem;
  line-height: 1.45;
  padding: 0.6rem 0.15rem 0.2rem;
  color: var(--ink-soft);
}

.credit { display: block; font-size: 0.78rem; }

/* The 1951 clipping */
.clipping {
  max-width: 42rem;
  margin: 0 auto clamp(3rem, 7vw, 4.5rem);
}

.clipping blockquote {
  margin: 0;
  padding: 1.6rem 1.8rem;
  background: var(--paper);
  border-left: 6px solid var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.6;
  box-shadow: 0 8px 22px rgba(43, 42, 39, 0.10);
}

.clipping p { margin: 0; }

.clipping footer {
  margin-top: 0.8rem;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Colophon */
.colophon {
  text-align: center;
  padding: 2.5rem 1.25rem 3rem;
  border-top: 2px solid var(--ink);
  max-width: 64rem;
  margin: 0 auto;
}

.colophon .caps { font-size: 0.8rem; margin: 0; }

@media (max-width: 720px) {
  .prints { grid-template-columns: 1fr; }
  .print-right { margin-top: 0; }
  .print-left, .print-right { transform: none; }
  .starburst { position: relative; right: auto; bottom: auto; width: 6rem; margin: -1.1rem 0.4rem 0 auto; }
  .intro { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .print { transition: transform 0.3s ease; }
  .print:hover { transform: rotate(0deg) scale(1.01); }
}
