/* PAPUNDEKEL: under-construction page. Warm paper tones, hand-made feel. */
:root {
  --paper: #f6efe3;
  --ink: #2b231d;
  --clay: #d9572b;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --slide-time: 28s; /* 4 photos x 7 s each */
}

* { box-sizing: border-box; }

html, body { margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

/* ---------- Full-screen header: paper strip with the logo, then slowly changing photos ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.bar {
  /* extra room at the bottom for the top half of the sign */
  padding: clamp(1.4rem, 4vh, 2.2rem) 1.25rem calc(clamp(1.4rem, 4vh, 2.2rem) + clamp(1.6rem, 4.5vw, 3rem));
  text-align: center;
  background: var(--paper);
}

.logo { margin: 0; line-height: 0; }
.logo img { width: min(380px, 70vw); }

.stage {
  position: relative;
  flex: 1;
  min-height: 60vh;
  isolation: isolate;
  background: var(--ink);
}

.slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  animation: slide var(--slide-time) linear infinite;
}

/* Each photo: fades in (2 s), stays, fades out while the next one fades in, with a slow zoom */
.slide:nth-child(1) { animation-delay: -2s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 19s; }

@keyframes slide {
  0%   { opacity: 0; transform: scale(1); }
  7%   { opacity: 1; }
  25%  { opacity: 1; }
  32%  { opacity: 0; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.06); }
}

/* Slightly darker at the bottom so "Our story" stays readable */
.stage-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(30, 24, 20, 0) 70%, rgba(30, 24, 20, 0.45) 100%);
}

/* "Site under construction": a big paper sign edged with construction tape */
.construction {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  padding: 7px;
  white-space: nowrap;
  background: repeating-linear-gradient(-45deg, var(--clay) 0 14px, var(--ink) 14px 28px);
  transform: translate(-50%, -45%) rotate(-2deg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  font-family: var(--sans);
  font-size: clamp(0.95rem, 3.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.construction span {
  display: block;
  padding: 0.75em 1.4em 0.7em;
  background: var(--paper);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.scroll-hint svg { animation: nudge 2.4s ease-in-out infinite; }

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Our story ---------- */
.about {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.25rem clamp(3rem, 8vw, 5rem);
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 1.75;
}

.about p { margin: 0 0 2rem; text-wrap: pretty; }

.lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5.5vw, 2.9rem);
  line-height: 1.15;
  text-wrap: balance;
}

.lines {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
}

.site-foot {
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid rgba(43, 35, 29, 0.15);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(43, 35, 29, 0.7);
}

.foot-logo { width: 150px; opacity: 0.85; }
.site-foot p { margin: 0.75rem 0 0; }

.contact { margin: 1.5rem 0 1.75rem !important; }
.contact span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact a {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.contact a:hover { color: var(--clay); }

@media (max-width: 34rem) {
  .lines br { display: none; }
}

/* People who prefer less motion: show the first photo only, no movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { animation: none; }
  .slide:nth-child(1) { opacity: 1; }
  .scroll-hint svg { animation: none; }
}
