/* Lucie Louka – brand tokens from the brand brief (Oct 13, 2026) */
:root {
  --yellow: #fef84c; /* main background, party yellow */
  --black: #000000;  /* logo and text */
  --white: #ffffff;  /* clean background */
  --green: #03390c;  /* small accent, links */
  --wine: #7d1538;   /* personal accent, buttons */

  --font-head: "Rubik", system-ui, sans-serif;
  --font-body: "Albert Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1120px;
  --offset: 8px; /* "offset color blocks" – the hand-made device */
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

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

/* Headlines: Rubik Black, ALL CAPS, line height ≥ 1.05 so Czech accents
   (Ě, Š, Č, Ř, Ž, Ů …) don't crowd the line above. */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }

a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--wine); }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--black); color: var(--white); padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--yellow);
  border-bottom: 3px solid var(--black);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap;
}
.brand img { width: 128px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.nav a {
  color: var(--black); text-decoration: none;
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: 0.9rem; letter-spacing: 0.03em;
}
.nav a:hover { color: var(--wine); }
.nav .lang {
  border: 2px solid var(--black); padding: 2px 8px; border-radius: 4px;
}
@media (max-width: 720px) {
  .site-header { position: static; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .nav { gap: 6px 14px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--yellow); padding: clamp(40px, 8vw, 96px) 0; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hero .wrap {
  display: grid; gap: clamp(24px, 5vw, 64px);
  grid-template-columns: 1.1fr 0.9fr; align-items: center;
}
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero .lead { font-size: 1.25rem; max-width: 34em; }
.hero .sub {
  font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3;
  margin: 0 0 0.8em;
}

/* Offset color block behind a headline word */
.mark {
  display: inline-block;
  background: var(--wine); color: var(--white);
  padding: 0 0.18em; margin: 0.06em 0;
  transform: rotate(-1.5deg);
  box-shadow: var(--offset) var(--offset) 0 var(--black);
}

.portrait {
  position: relative; aspect-ratio: 4 / 5; width: min(calc(100% - 24px), 400px); justify-self: center;
}
.portrait::before {
  content: ""; position: absolute; inset: 0;
  background: var(--wine);
  transform: translate(16px, 16px) rotate(2deg);
}
.portrait > * {
  position: relative; width: 100%; height: 100%;
  border: 3px solid var(--black); background: var(--white); object-fit: cover; object-position: 50% 30%;
}
.portrait .placeholder {
  display: grid; place-items: center; text-align: center; padding: 24px;
}
.portrait .placeholder.todo { background-color: var(--white); outline-offset: -8px; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.03em; line-height: 1.1;
  padding: 14px 22px; border: 3px solid var(--black);
  background: var(--wine); color: var(--white);
  box-shadow: 5px 5px 0 var(--black);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { color: var(--white); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--black); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--black); }
.btn.alt { background: var(--white); color: var(--black); }
.btn.alt:hover { color: var(--black); }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 9vw, 112px) 0; overflow-x: clip; }
section.on-yellow { background: var(--yellow); }
section.on-white { background: var(--white); }
section.on-wine { background: var(--wine); color: var(--white); }
section.on-wine a { color: var(--white); }
section + section { border-top: 3px solid var(--black); }

.kicker {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 900; text-transform: uppercase;
  font-size: 0.85rem; letter-spacing: 0.08em;
  background: var(--black); color: var(--white); padding: 4px 10px;
  transform: rotate(-1deg);
}
.intro { max-width: 40em; font-size: 1.2rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* Cards with offset blocks; alternating tilt keeps it slightly imperfect */
.cards {
  display: grid; gap: 28px; margin-top: 36px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  background: var(--white); border: 3px solid var(--black);
  padding: 24px; box-shadow: var(--offset) var(--offset) 0 var(--wine);
  display: flex; flex-direction: column;
}
.on-white .card { box-shadow: var(--offset) var(--offset) 0 var(--yellow), var(--offset) var(--offset) 0 3px var(--black); }
.card:nth-child(odd) { transform: rotate(-0.6deg); }
.card:nth-child(even) { transform: rotate(0.5deg); }
.card p:last-child { margin-bottom: 0; }
.card .meta { font-size: 0.95rem; color: #333; }
.card .more { margin-top: auto; padding-top: 12px; font-weight: 700; }

.tags { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 0.85rem; font-weight: 700; padding: 2px 10px;
  border: 2px solid var(--black); border-radius: 999px; background: var(--yellow);
}

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 14px 0; border-bottom: 2px solid var(--black); }
.list-plain li:first-child { border-top: 2px solid var(--black); }
.list-plain strong { display: block; }

/* Brand line block */
.motto { text-align: center; }
.motto h2 { font-size: clamp(2rem, 6vw, 4.2rem); margin: 0; }
.motto p { margin: 16px 0 0; font-size: 1.1rem; }

/* ---------- Newsletter ---------- */
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; max-width: 560px; }
.newsletter-form input {
  flex: 1 1 240px; min-width: 0; font: inherit; padding: 12px 14px;
  border: 3px solid var(--black); background: var(--white); color: var(--black);
}
.on-wine .btn { background: var(--yellow); color: var(--black); }
.on-wine .btn:hover { color: var(--black); }
.small { font-size: 0.95rem; }

/* ---------- Contact / footer ---------- */
.contact-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px; align-self: center; }
.contact-links a {
  display: grid; place-items: center; width: 64px; height: 64px;
  border: 3px solid var(--black); background: var(--white); color: var(--black);
  box-shadow: 5px 5px 0 var(--black);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.contact-links a:hover { background: var(--green); color: var(--white); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--black); }
.contact-links a:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--black); }
.contact-links svg { width: 28px; height: 28px; fill: currentColor; }
@media (max-width: 420px) {
  .contact-links { gap: 12px; }
  .contact-links a { width: 56px; height: 56px; }
  .contact-links svg { width: 24px; height: 24px; }
}

.site-footer { background: var(--black); color: var(--white); padding: 32px 0; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--white); }
.site-footer .footer-logo { width: 110px; background: var(--yellow); padding: 6px 10px; }

/* Content still to be supplied – visible on purpose so nothing invented ships */
.todo {
  background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(0,0,0,0.06) 8px 16px);
  outline: 2px dashed var(--green); outline-offset: 2px;
}
.on-wine .todo { outline-color: var(--white); }
