@font-face {
  font-family: "Caveat";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Caveat";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("../fonts/lora-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("../fonts/lora-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/lora-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/lora-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f7f1e6;
  --paper-deep: #efe5d3;
  --ink: #2b2230;
  --ink-soft: #5d5262;
  --plum: #5b2a6e;
  --plum-dark: #3e1a4d;
  --plum-bloom: #8e5aa8;
  --leaf: #4f7a3a;
  --rule: #d9cbb4;
  --card: #fffaf1;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --measure: 68ch;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--plum);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--plum-bloom);
}

h1,
h2,
h3 {
  font-family: var(--hand);
  font-weight: 700;
  line-height: 1.1;
  color: var(--plum-dark);
  margin: 0 0 0.4em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 2.9rem);
}

h3 {
  font-size: 1.9rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(1100px, 100% - 32px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--plum);
  color: #fff;
  padding: 8px 14px;
  z-index: 10;
}

.site-header {
  background: var(--card);
  border-bottom: 2px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--plum-dark);
}

.brand-logo {
  width: 46px;
  height: 46px;
}

.brand-name {
  font-family: var(--hand);
  font-size: 2.1rem;
  line-height: 1;
}

.brand-tld {
  display: block;
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.brand-tld s {
  opacity: 0.7;
}

.nav-toggle {
  display: none;
  font: inherit;
  background: none;
  border: 2px solid var(--plum);
  border-radius: 10px;
  color: var(--plum);
  padding: 6px 12px;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  font-family: var(--hand);
  font-size: 1.55rem;
  text-decoration: none;
  color: var(--ink);
  padding: 2px 12px;
  border-radius: 999px;
}

.site-nav a:hover {
  background: var(--paper-deep);
  color: var(--plum);
}

.site-nav a[aria-current="page"] {
  background: var(--plum);
  color: #fff;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-header .wrap {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding-bottom: 8px;
  }
}

.hero {
  padding-block: 56px 40px;
  background:
    radial-gradient(circle at 85% 20%, rgba(142, 90, 168, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(79, 122, 58, 0.14), transparent 40%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-art {
  width: 100%;
  max-width: 460px;
  justify-self: center;
}

@media (max-width: 820px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

.page-head {
  padding-block: 48px 16px;
  text-align: center;
}

.page-head p {
  color: var(--ink-soft);
  max-width: 56ch;
  margin-inline: auto;
}

.section {
  padding-block: 40px;
}

.section + .section {
  border-top: 1px dashed var(--rule);
}

.prose {
  max-width: var(--measure);
}

.button {
  display: inline-block;
  background: var(--plum);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
}

.button:hover {
  background: var(--plum-dark);
  color: #fff;
}

.button-ghost {
  background: transparent;
  color: var(--plum);
  border: 2px solid var(--plum);
}

.button-ghost:hover {
  background: var(--plum);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 4px 5px 0 var(--paper-deep);
}

.card h3 {
  margin-bottom: 0.2em;
}

.meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.stamp {
  display: inline-block;
  font-family: var(--hand);
  font-size: 1.25rem;
  padding: 0 12px;
  border: 2px solid currentColor;
  border-radius: 8px;
  transform: rotate(-3deg);
}

.stamp-done {
  color: var(--leaf);
}

.stamp-planned {
  color: var(--plum);
}

.stamp-dream {
  color: #b0632b;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 3px dotted var(--plum-bloom);
  max-width: var(--measure);
}

.timeline li {
  position: relative;
  padding-bottom: 22px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--plum);
  border: 3px solid var(--paper);
}

.timeline strong {
  font-family: var(--hand);
  font-size: 1.6rem;
  color: var(--plum-dark);
  display: block;
  line-height: 1.1;
}

.note {
  background: var(--paper-deep);
  border-left: 5px solid var(--plum-bloom);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  max-width: var(--measure);
  font-style: italic;
}

.news {
  display: grid;
  gap: 24px;
  max-width: 760px;
  margin-inline: auto;
}

.news article header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 8px;
}

.plan-number {
  font-family: var(--hand);
  font-size: 4.5rem;
  line-height: 0.8;
  color: var(--plum-bloom);
}

.plan-card ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.gallery figure {
  margin: 0;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery img,
.gallery .placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--rule);
}

.gallery .placeholder {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, var(--paper-deep) 0 12px, var(--card) 12px 24px);
  font-family: var(--hand);
  font-size: 1.5rem;
  color: var(--ink-soft);
}

.gallery figcaption {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 6px 4px 0;
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
}

.lightbox::backdrop {
  background: rgba(30, 15, 38, 0.86);
}

.lightbox img {
  max-height: 84vh;
  border-radius: var(--radius);
}

.lightbox p {
  color: #fff;
  text-align: center;
  margin: 10px 0 0;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  font: inherit;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.facts {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0;
}

.facts div {
  background: var(--card);
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px;
}

.facts dt {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.facts dd {
  margin: 0;
  font-family: var(--hand);
  font-size: 1.7rem;
  color: var(--plum-dark);
  line-height: 1.15;
}

.rules {
  counter-reset: rule;
  list-style: none;
  padding: 0;
  max-width: var(--measure);
}

.rules li {
  counter-increment: rule;
  position: relative;
  padding: 0 0 14px 52px;
}

.rules li::before {
  content: counter(rule);
  position: absolute;
  left: 0;
  top: -4px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  font-family: var(--hand);
  font-size: 1.5rem;
}

.site-footer {
  margin-top: 56px;
  background: var(--plum-dark);
  color: #eadcf0;
  padding-block: 32px;
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a {
  color: #fff;
}

.site-footer .brand-name {
  color: #fff;
  font-size: 1.8rem;
}

.sources {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
