/* The home page in the style of the app and the Instagram posts (Jannes, 2026-10-15): a real photo, one paper
   slip that explains it, few words. Loaded after site.css; the forms keep their own styles from there. */

body.home { background: #f3ece4; }

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

.home-header {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0;
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
}
.home-header .wordmark { color: #f6e7e1; font-size: 1.9rem; }
.home-header-link { color: #f6e7e1; font-weight: 600; font-size: 0.95rem; text-decoration: none; border-bottom: 1px solid rgba(246, 231, 225, 0.5); }
.home-header-link:hover { color: #fff; border-bottom-color: #fff; }

/* Hero: the photo fills the first screen; the words sit low on a soft shadow, not on a gradient banner. */
.photo-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: #1b120e; overflow: hidden; }
.photo-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 9, 0.35) 0%, rgba(20, 12, 9, 0) 22%, rgba(20, 12, 9, 0) 45%, rgba(20, 12, 9, 0.82) 100%); }
.photo-hero-text { position: relative; z-index: 1; padding: 0 clamp(20px, 5vw, 56px) clamp(36px, 8vh, 72px); max-width: 720px; color: #f6e7e1; }
.photo-hero h1 { font-family: var(--font-mark); font-style: italic; font-weight: 400; font-size: clamp(2.6rem, 9vw, 4.6rem); line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 12px; text-wrap: balance; }
.photo-hero p { margin: 0; font-size: 1.1rem; color: rgba(246, 231, 225, 0.85); }
.photo-hero .actions { margin-top: 26px; }
.pill.ghost.light { color: #f6e7e1; border-color: rgba(246, 231, 225, 0.7); }
.pill.ghost.light:hover { background: rgba(246, 231, 225, 0.12); color: #fff; border-color: #fff; }

/* The slip: the same receipt as in the app and the posts. */
.slip-section { padding: clamp(56px, 12vh, 110px) 20px; display: flex; justify-content: center; }
.slip {
  width: min(420px, 100%); background: #fffdfa; padding: 30px 30px 26px; transform: rotate(-1.6deg);
  box-shadow: 0 18px 40px -22px rgba(43, 27, 22, 0.45);
  font-family: var(--font-mono); color: #2b1b16;
  /* torn bottom edge */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 9px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 9px repeat-x;
}
.slip-head { margin: 0 0 14px; font-weight: 600; letter-spacing: 0.18em; font-size: 0.95rem; }
.slip-lines { list-style: none; margin: 0; padding: 14px 0; border-top: 1.5px dashed rgba(43, 27, 22, 0.35); border-bottom: 1.5px dashed rgba(43, 27, 22, 0.35); display: grid; gap: 12px; font-size: 0.95rem; }
.slip-lines li { display: grid; grid-template-columns: 2.4em 1fr; }
.slip-lines span { color: rgba(43, 27, 22, 0.5); }
.slip-foot { margin: 16px 0 6px; font-family: var(--font-mark); font-style: italic; font-size: 1.3rem; text-align: center; }

/* Sign-up blocks: a short line of text and the form, nothing else. */
.signup { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 8vh, 80px) 20px; display: grid; gap: 24px; align-items: start; }
@media (min-width: 820px) { .signup { grid-template-columns: 1fr 1fr; gap: 56px; } }
.signup h2 { font-family: var(--font-mark); font-style: italic; font-weight: 400; font-size: clamp(2.1rem, 6vw, 3rem); line-height: 1.05; margin: 0 0 10px; }
.signup p { margin: 0; color: var(--muted); max-width: 34ch; }
.signup .card { background: #fffdfa; border: 0; box-shadow: 0 14px 34px -24px rgba(43, 27, 22, 0.45); }

/* A second photo between the two forms. */
.photo-band { position: relative; height: clamp(320px, 60vh, 560px); overflow: hidden; background: #1b120e; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 9, 0) 50%, rgba(20, 12, 9, 0.7) 100%); }
.photo-band p { z-index: 1; position: absolute; left: clamp(20px, 5vw, 56px); bottom: clamp(24px, 6vh, 48px); margin: 0; color: #f6e7e1; font-family: var(--font-mark); font-style: italic; font-size: clamp(1.8rem, 5vw, 2.6rem); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }

body.home .site-footer { background: #f3ece4; }
