/* Kisspresso · Your place is kept (welcome.html, 17.10.2026; v2 18.10.2026: the pages of our own script).
   The page a guest reaches after confirming, and the look of every page kp-guestlist renders (confirm, leave,
   closed link: web.php, kp_page). The Coming Soon page's ground, logo and fonts (style.css),
   without the photograph and without script: the base as the ground, the white logo at the top, the words in the
   middle, the edge print at the foot. Colours are solid (no alpha), so every contrast is exact.
   No inline style anywhere, so the site's Content-Security-Policy holds here too. Flat: no gradients, no shadows,
   no radius. V1.2 (02.11.2026): also the Privacy page (.notice). */

@font-face { font-family: "Platypi"; src: url("assets/fonts/platypi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Platypi"; src: url("assets/fonts/platypi-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto Serif"; src: url("assets/fonts/roboto-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Serif"; src: url("assets/fonts/roboto-serif-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* the same metric-matched local fallbacks as style.css, so the text does not reflow when Roboto Serif arrives */
@font-face { font-family: "Roboto Serif fallback"; src: local("Georgia"); size-adjust: 110.82%; ascent-override: 83.65%; descent-override: 22.02%; line-gap-override: 0%; }
@font-face { font-family: "Roboto Serif fallback T"; src: local("Times New Roman"); size-adjust: 119.13%; ascent-override: 77.81%; descent-override: 20.48%; line-gap-override: 0%; }

:root {
  --red: #AC2B37;        /* PANTONE 187 C */
  --base: #1A1B1C;       /* the House black, the Coming Soon page's ground since V1.1 (02.11.2026) */
  --white: #FFFFFF;      /* 17.3 : 1 on the base */
  --burgundy: #77253C;   /* PANTONE 209 C: the pressed button, as on the Coming Soon page */
  --ink: #1A1B1C;        /* the hovered button's label on white */
  --edge: #A2A3A0;       /* the edge print: 6.8 : 1 on the base (the Coming Soon page's is 5.2 : 1) */
  --font-display: "Platypi", Georgia, "Times New Roman", serif;
  --font-text: "Roboto Serif", "Roboto Serif fallback", "Roboto Serif fallback T", serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 4vw, 64px);
  /* the logo: never under 186 px on screen (brand, 01-logo-sign.md); its clear space 2x, x = its height / 6 */
  --mark-w: clamp(186px, 18vw, 320px);
  --mark-h: calc(var(--mark-w) * 0.31314);
}

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

html {
  background: var(--base);
  color: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--white); color: var(--red); }

/* logo at the top, the words in the middle of what is left, the edge print at the foot */
.kept {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  text-align: center;
}

.mark {
  display: block;
  width: var(--mark-w);
  height: auto;
  aspect-ratio: 570.93 / 178.78;
  margin-top: max(var(--gutter), calc(var(--mark-h) / 3), env(safe-area-inset-top));
  color: var(--white);
}

.kept__words {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3vmin, 32px);
  max-width: 40rem;
  padding: clamp(40px, 9vh, 112px) 0;
}

.kept__title {
  margin: 0;
  font: 400 clamp(2.25rem, 1.2rem + 3.6vw, 5rem) / 1.05 var(--font-display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.kept__text {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  text-wrap: balance;
}

/* the brand line: Platypi Italic, as on the Coming Soon page */
.kept__line {
  margin: 0;
  font: italic 400 clamp(1.25rem, 0.95rem + 1.2vw, 2.25rem) / 1.25 var(--font-display);
}

/* the consent words next to the button: smaller, still 6.0 : 1 on the base */
.kept__note {
  max-width: 34rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--edge);
}

/* the one button of a kp-guestlist page: the Coming Soon page's quiet button (style.css, .guest__submit) */
.kept__form { margin: 0; }
.kept__button {
  min-height: 3rem;
  margin: 0;
  padding: 0 1.5rem;
  border: 1px solid var(--white);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font: 600 1rem / 1.5 var(--font-text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.kept__button:active { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.kept__button:focus { outline: 2px solid var(--white); outline-offset: 2px; }
.kept__button:focus:not(:focus-visible) { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .kept__button:not(:active):hover { background: var(--white); border-color: var(--white); color: var(--ink); }
}

/* the way back: a plain link, its box at least 44 px tall for a finger */
.kept__back {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.kept__back .link {
  display: inline-block;
  padding: 0.6875rem 0.25rem;
}

/* V1.2, 02.11.2026: the Privacy page. A long text on the same ground: the logo at the top (the way home), one
   reading column, the edge print at the foot. Platypi for the titles, Roboto Serif for the text, SemiBold for the
   labels inside it (03-typography.md); no motion, it is a page to read */
.notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}
.notice__home {
  display: block;
  margin-top: max(var(--gutter), calc(var(--mark-h) / 3), env(safe-area-inset-top));
  color: var(--white);
}
.notice__home:focus { outline: 2px solid var(--white); outline-offset: 4px; }
.notice__home:focus:not(:focus-visible) { outline: none; }
.notice__home .mark { margin-top: 0; }
.notice__text {
  width: 100%;
  max-width: 40rem;
  padding: clamp(40px, 8vh, 96px) 0 clamp(32px, 6vh, 64px);
  font-size: 1rem;
  line-height: 1.6;
}
.notice__title {
  margin: 0 0 0.5rem;
  font: 400 clamp(2.25rem, 1.2rem + 3.6vw, 4rem) / 1.05 var(--font-display);
  letter-spacing: -0.01em;
  text-align: center;
}
.notice__meta { margin: 0 0 1rem; color: var(--edge); text-align: center; }
.notice__text h2 { margin: 3rem 0 0; font: 400 1.75rem / 1.25 var(--font-display); }
.notice__text h3 { margin: 2rem 0 0.5rem; font: 600 1rem / 1.5 var(--font-text); }
.notice__text p, .notice__text ul, .notice__text dl { margin: 0 0 1rem; }
.notice__text dt { margin-top: 1rem; font-weight: 600; }
.notice__text dd { margin: 0.25rem 0 0; }
.notice__text ul { padding-left: 1.25rem; }
.notice__text li + li { margin-top: 0.5rem; }
.notice__text .kept__back { margin-top: 3rem; text-align: center; }
.notice .edge { width: 100%; margin-top: auto; text-align: center; }

.edge {
  padding: 0.625rem 0 max(0.625rem, env(safe-area-inset-bottom));
  font: 400 12px / 1.45 var(--font-text);
  letter-spacing: 0.02em;
  color: var(--edge);
}
.edge p { margin: 0; }

.link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.link:focus { outline: 2px solid currentColor; outline-offset: 2px; }
.link:focus:not(:focus-visible) { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-thickness: 2px; }
}

/* a calm arrival: the logo, then the words one after another; nothing moves under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .mark,
  .kept__words > * {
    animation: kept-in 1.2s var(--ease-out) both;
  }
  .kept__text { animation-delay: 0.25s; }
  .kept__note,
  .kept__form,
  .kept__line { animation-delay: 0.5s; }
  .kept__back { animation-delay: 0.75s; }
}

@keyframes kept-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
}

/* printed or saved as PDF (V1.1): browsers drop backgrounds on paper; black on white, the red logo */
@media print {
  html { background: var(--white); color: var(--ink); }
  .mark { color: var(--red); }
  .edge { color: var(--ink); }
  .kept, .notice { min-height: 0; }
  .notice__meta { color: var(--ink); }
  .mark, .kept__words > * { animation: none; }
}

@media (forced-colors: active) {
  .mark { color: CanvasText; }
  .kept__button { border-color: ButtonText; color: ButtonText; }
}
