:root {
  --ink: #111111;
  --paper: #FFF4EE;
  --lilac: #BBA6FF;
  --pink: #FFC9DA;
  --butter: #FFF1A8;
  --lime: #C6F432;
  --pen: #FF2E93;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --serif-cyr: 'Playfair Display', Georgia, serif;
  --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--pink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* Top bar */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(16px, 4vw, 48px);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--paper);
}

.lang {
  display: inline-flex;
  align-items: center;
  font: inherit;
  letter-spacing: 1px;
  color: var(--paper);
  background: transparent;
  border: 1.5px solid var(--paper);
  padding: 0 14px;
  min-height: 44px;
  text-decoration: none;
}
.lang:hover { background: var(--paper); color: var(--ink); }

/* Text for screen readers and search engines, hidden visually */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Main */
main {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px) clamp(48px, 7vw, 88px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.hero { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 34px); }
.side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }

/* Logo: everything scales from one font-size */
.logo {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 1;
  margin: 0;
}
.logo .mom {
  display: block;
  font-style: italic;
  font-size: 1.3em;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--lilac);
}
.logo .line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.22em;
  letter-spacing: -0.02em;
  margin-top: 0.64em;
}
.loves { position: relative; display: inline-block; }
.loves::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  top: 58%;
  height: 0.08em;
  background: var(--pen);
  transform: rotate(-4deg) scaleX(0);
  transform-origin: left center;
  animation: strike 0.5s 0.5s ease-out forwards;
}
.stamp-hates {
  position: absolute;
  left: 0.15em;
  top: -0.68em;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 0.74em;
  line-height: 1;
  letter-spacing: 0;
  padding: 0 0.16em 0.06em;
  transform: rotate(-8deg) scale(0);
  animation: stamp 0.35s 1s cubic-bezier(.2, 1.6, .4, 1) forwards;
}

@keyframes strike { to { transform: rotate(-4deg) scaleX(1); } }
@keyframes stamp { to { transform: rotate(-8deg) scale(1); } }

.headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.15;
  color: var(--paper);
  margin: 0;
  max-width: 640px;
}
html[lang="mk"] .headline { font-family: var(--serif-cyr); font-weight: 900; }

.tagline { margin: 0; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.55; color: var(--pink); max-width: 560px; }

/* Under construction stamp */
.uc {
  align-self: flex-start;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  padding: 4px 22px 10px;
  transform: rotate(-4deg);
}

/* Mom note */
.note {
  background: var(--lilac);
  color: var(--ink);
  padding: 22px 24px 24px;
  transform: rotate(-2deg);
}
.note .label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.note .quote {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.02;
  margin: 8px 0 14px;
  min-height: 2.1em;
}
.note .reply-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.note .reply {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  margin-top: 4px;
}
html[lang="mk"] .note .reply { font-family: var(--serif-cyr); font-weight: 900; }

/* The button only does something with JavaScript, so it only appears then */
.ask { display: none; }
.js .ask { display: block; }
.ask {
  align-self: flex-start;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  color: var(--pink);
  background: transparent;
  border: 1.5px solid var(--pink);
  padding: 12px 18px;
  min-height: 44px;
  cursor: pointer;
}
.ask:hover { background: var(--pink); color: var(--ink); }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.btn:hover { background: var(--paper); }
.cta small { font-size: 13px; color: var(--paper); max-width: 300px; line-height: 1.5; }

/* Slogan band */
.band { background: var(--lilac); color: var(--ink); overflow: hidden; padding: 14px 0; }
.band-track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}
.band-track span {
  white-space: nowrap;
  padding-right: 2.2em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 26px);
}
html[lang="mk"] .band-track span { font-family: var(--serif-cyr); font-weight: 900; }
@keyframes slide { to { transform: translateX(-50%); } }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 20px clamp(16px, 4vw, 48px) 26px;
  font-size: 12px;
  color: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  .band-track { animation: none; }
  .loves::after { animation: none; transform: rotate(-4deg); }
  .stamp-hates { animation: none; transform: rotate(-8deg); }
}
