/* Palarnia Swit - workshop landing. Palette and type follow DESIGN.md. */
:root {
  --cream: #f3e9da;       /* paper background */
  --cream-dark: #ece0cd;  /* section background */
  --crema: #e7c9a0;       /* kraft cards, details */
  --ink: #2a1c11;         /* body text */
  --espresso: #23160d;    /* lines, deep accents */
  --amber: #c0622a;       /* the only accent */
  --amber-light: #e08a3c; /* hover */
  --col: 40rem;           /* narrow column, about 640px */
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  /* subtle paper grain: SVG noise as data URI, no gradients */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.14  0 0 0 0 0.09  0 0 0 0 0.05  0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 3.5rem 0; }
section.kraft { background-color: rgba(236, 224, 205, 0.85); border-block: 1px solid rgba(35, 22, 13, 0.18); }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--espresso);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 9vw, 3.9rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--amber); font-weight: 700; }

p { margin: 0 0 1rem; }

/* small spaced uppercase label, like on a coffee bag */
.label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 1rem;
}

a { color: var(--espresso); text-underline-offset: 0.2em; }

:focus-visible {
  outline: 3px solid var(--espresso);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--espresso); color: var(--cream);
  padding: 0.6rem 1rem; z-index: 10;
}
.skip:focus { top: 1rem; }

/* header */
.top { padding: 1.25rem 0 0; }
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--espresso);
  text-decoration: none;
}

/* hero */
.hero { padding-top: 2rem; }
.lead { font-size: 1.2rem; max-width: 34rem; }
.price-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 1.25rem 1.5rem; margin: 2rem 0 1.5rem;
}

/* round stamp with the price */
.stamp {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 8.5rem; height: 8.5rem;
  border: 3px solid var(--espresso);
  border-radius: 50%;
  outline: 1px solid var(--espresso); outline-offset: -9px;
  transform: rotate(-6deg);
  font-family: "Fraunces", Georgia, serif;
  color: var(--espresso);
  text-align: center;
  line-height: 1.1;
}
.stamp strong { font-size: 2.4rem; font-weight: 800; }
.stamp span { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: "Hanken Grotesk", sans-serif; font-weight: 700; margin-top: 0.2rem; }

.arrow { display: block; color: var(--espresso); }
.arrow.amber { color: var(--amber); }
.arrow-price { width: 5.5rem; height: auto; }

/* CTA: large bold text keeps contrast acceptable on amber */
.btn {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.9rem 1.7rem;
  border: 2px solid var(--espresso);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--espresso);
}
.btn:hover { background: var(--amber-light); color: var(--espresso); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--espresso); }

.note { font-size: 0.95rem; }

/* full-width illustration frame (placeholder for a real photo) */
.figure { margin: 2.5rem 0 0; }
.figure svg { width: 100%; height: auto; display: block; border: 1px solid rgba(35, 22, 13, 0.35); background: var(--crema); }
.figure figcaption { font-size: 0.9rem; margin-top: 0.5rem; }

/* lists */
.checks, .steps { list-style: none; margin: 0 0 1rem; padding: 0; }
.checks li { padding: 0.55rem 0 0.55rem 1.8rem; position: relative; border-bottom: 1px dashed rgba(35, 22, 13, 0.3); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: 0.9rem; height: 0.45rem;
  border-left: 3px solid var(--espresso); border-bottom: 3px solid var(--espresso);
  transform: rotate(-45deg);
}
.steps { counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.9rem 0 0.9rem 3.4rem;
  border-bottom: 1px dashed rgba(35, 22, 13, 0.3);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.7rem;
  width: 2.3rem; height: 2.3rem;
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 1.2rem;
  border: 2px solid var(--espresso); border-radius: 50%;
  color: var(--espresso);
}
.steps strong { font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; }
.steps-arrow { width: 3rem; height: auto; margin: 0.5rem 0 0 0.6rem; }

/* TODO fields: clearly visible, meant to be replaced */
.todo {
  background: var(--crema);
  border: 1.5px dashed var(--espresso);
  border-radius: 3px;
  padding: 0.05em 0.4em;
  font-weight: 700;
  color: var(--espresso);
  white-space: nowrap;
}
.todo-block { white-space: normal; display: block; padding: 0.7rem 0.9rem; margin: 0 0 1rem; }

/* facts card */
.card {
  background: var(--crema);
  border: 2px solid var(--espresso);
  border-radius: 4px;
  padding: 1.25rem 1.25rem 0.5rem;
  margin: 1.5rem 0;
}
.facts { margin: 0; }
.facts div { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; padding: 0.5rem 0; border-bottom: 1px dashed rgba(35, 22, 13, 0.4); }
.facts div:last-child { border-bottom: 0; }
.facts dt { flex: 0 0 8rem; font-weight: 700; }
.facts dd { margin: 0; flex: 1 1 12rem; }

/* host portrait placeholder */
.portrait {
  display: flex; align-items: center; justify-content: center;
  width: 8rem; height: 8rem; margin-bottom: 1rem;
  border: 2px dashed var(--espresso); border-radius: 50%;
  background: var(--crema);
}
.portrait svg { width: 4rem; height: 4rem; }

/* FAQ */
details { border-bottom: 1px solid rgba(35, 22, 13, 0.4); }
details:first-of-type { border-top: 1px solid rgba(35, 22, 13, 0.4); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2rem 1rem 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 1.15rem; color: var(--espresso);
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.85rem; font-size: 1.5rem; font-family: "Hanken Grotesk", sans-serif; }
details[open] summary::after { content: "\2212"; }
details p { padding-bottom: 0.5rem; }

/* closing CTA */
.final { text-align: left; }
.final .btn { margin: 0.5rem 0 1rem; }
.arrow-final { width: 4rem; height: auto; margin: 0 0 0.5rem 1.5rem; }

footer { padding: 2rem 0 3rem; font-size: 0.9rem; border-top: 1px solid rgba(35, 22, 13, 0.3); }

@media (min-width: 40rem) {
  body { font-size: 1.125rem; }
  section { padding: 4.5rem 0; }
  .arrow-price { width: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
}
