/* Mary Zaragoza, hybrid v0.2
   Cartoon journal layout, Soft Nostalgia palette and light scrapbook accents. */
@import url("https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400;1,400&family=Shadows+Into+Light&display=swap");

:root {
  --paper: #f9f1ea;
  --ink: #5c4a3e;
  --muted: #7a6558;
  --sage: #9caf88;
  --copper: #c08552;
  /* Specified copper is for accents. This deeper copper keeps small links readable. */
  --copper-ink: #9e6032;
  --line: rgba(92, 74, 62, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --didone: "Libre Bodoni", Didot, "Bodoni MT", "Times New Roman", serif;
  --hand: "Shadows Into Light", "Segoe Print", "Bradley Hand", cursive;
  --sans: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

a { color: var(--copper-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

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

::selection {
  background: #e4eee0;
  color: var(--ink);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.6rem 1.4rem 4rem;
}

.wrap > :not(header.site) {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

header.site {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 0.7rem 0 0.95rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.2rem;
}

header.site .brand {
  line-height: 0;
}

header.site .brand img {
  display: block;
  height: 28px;
  width: auto;
  margin: 0 auto;
}

header.site nav.links {
  width: 100%;
  justify-content: center;
}

header.site .logo {
  margin: 0 0 1.05rem;
  line-height: 1;
}

header.site .logo a {
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}

header.site .logo-mary {
  display: block;
  font-family: var(--didone);
  font-style: italic;
  font-weight: 400;
  font-size: 2.55rem;
  letter-spacing: 0.01em;
}

header.site .logo-family {
  display: block;
  font-family: var(--didone);
  font-style: normal;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  margin-top: 0.42rem;
  padding-left: 0.46em;
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.05rem;
  row-gap: 0.45rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

nav.links a {
  color: var(--muted);
  margin: 0;
  padding-bottom: 0.18rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

nav.links a:hover,
nav.links a.here {
  color: var(--copper-ink);
  text-decoration: none;
}

nav.links a.here {
  border-bottom-color: var(--copper);
}

.hero {
  text-align: center;
  margin: 0 0 3.2rem;
}

.hero img,
.post img,
article.entry img,
article.post-tease img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.hero p.tag {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1rem 0 0;
}

.page-title {
  text-align: center;
  margin: 0 0 2.5rem;
}

.page-title h1,
.shop-intro h1 {
  font-family: var(--hand);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}

.page-title .rule,
.shop-intro .rule {
  width: 4.25rem;
  margin: 0.85rem auto 0.95rem;
  border: 0;
  border-top: 1.5px dashed var(--sage);
}

.page-title .lede,
.shop-intro p {
  margin: 0 auto;
}

.lede {
  color: var(--muted);
}

article.post-tease {
  padding: 0 0 2.6rem;
  margin: 0 0 2.6rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

article.post-tease .figure {
  margin: 0 0 1.2rem;
}

article.post-tease h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.55rem;
}

article.post-tease h2 a {
  color: var(--ink);
  text-decoration: none;
}

article.post-tease .date,
article.entry .date {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.read-more {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-ink);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 2px;
  text-decoration: none;
}

.read-more:hover { opacity: 0.75; text-decoration: none; }

article.entry h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.15rem;
  line-height: 1.25;
  text-align: center;
  margin: 0 0 0.5rem;
}

article.entry h1.hand {
  font-family: var(--hand);
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0;
}

article.entry .rule {
  width: 4.25rem;
  margin: 0.85rem auto 0;
  border: 0;
  border-top: 1.5px dashed var(--sage);
}

article.entry .date { text-align: center; }

article.entry .figure {
  margin: 1.6rem 0 1.8rem;
}

article.entry p { margin: 0 0 1.15rem; }
article.entry ul {
  margin: 0 0 1.4rem;
  padding-left: 1.15rem;
}
article.entry li { margin-bottom: 0.45rem; }

.note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

footer.site {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

footer.site p { margin: 0.35rem 0; }

footer.site a {
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

footer.site a:hover { color: var(--copper-ink); }

.about-copy {
  text-align: left;
}

.shop-intro {
  text-align: center;
  margin: 0 0 3rem;
}

.shop-intro h1 { margin-bottom: 0; }
.shop-intro .note { margin-top: 0.85rem; }

.product {
  padding: 0 0 2.8rem;
  margin: 0 0 2.8rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.product .figure { margin: 0 0 1.3rem; }

.product img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.product h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0 0 0.55rem;
}

.product .price {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin: 0.9rem 0 1.15rem;
}

.get-pdf {
  appearance: none;
  background: transparent;
  border: 1px solid var(--copper);
  color: var(--copper-ink);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
}

.get-pdf:hover { opacity: 0.75; }

@media (max-width: 760px) {
  header.site { gap: 0.7rem; }
  header.site .brand img { height: 22px; }
}

@media (max-width: 420px) {
  .wrap { padding-left: 1.1rem; padding-right: 1.1rem; }

  header.site .logo-mary { font-size: 2.25rem; }

  header.site .logo-family {
    font-size: 0.64rem;
    letter-spacing: 0.38em;
  }

  nav.links {
    column-gap: 0.48rem;
    row-gap: 0.35rem;
    letter-spacing: 0.07em;
    font-size: 0.66rem;
  }

  .page-title h1,
  .shop-intro h1,
  article.entry h1.hand { font-size: 2.05rem; }

  article.post-tease h2 { font-size: 1.7rem; }
}

/* Homepage intro. The header logo and centered menu are shared. */
.home {
  font-family: "Source Sans 3", "Gill Sans", Calibri, "Trebuchet MS", sans-serif;
}

.home .page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.35rem 1.25rem 3.5rem;
}

.home .intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem 2.75rem;
  align-items: center;
  margin-bottom: 3.4rem;
}

.home .intro-visual { margin: 0; }

.home .intro-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 0 12px 40px rgba(92, 74, 62, 0.08);
}

.home .greeting {
  font-family: "Cormorant Garamond", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.55rem, 5.5vw, 3.55rem);
  line-height: 1.05;
  margin: 0 0 1.35rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.home .greeting em {
  font-style: italic;
  font-weight: 500;
}

.home .little-about {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.65rem;
}

.home .about-blurb {
  font-family: "Cormorant Garamond", Palatino, Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  max-width: 28rem;
}

.home .sage-rule {
  width: 2.5rem;
  height: 2px;
  background: var(--sage);
  border: 0;
  margin: 1.4rem 0 0;
}

.home .about-block {
  margin: 0 0 3.2rem;
  padding-top: 0.5rem;
}

.home .section-label {
  font-family: "Source Sans 3", "Gill Sans", Calibri, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.home .section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.home .about-long {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  max-width: 40rem;
}

.home .follow {
  margin: 2.8rem 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
}

.home .journal {
  margin-top: 0.5rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.home .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home .card {
  background: #fff9f4;
  border: 1px solid #e5d8cc;
  border-radius: 2px;
  padding: 1.35rem 1.25rem 1.45rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home .card .visual {
  display: block;
  margin: -1.35rem -1.25rem 1rem;
}

.home .card .visual img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home .card .cat {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.home .card h3 {
  font-family: "Cormorant Garamond", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 0 0 0.55rem;
}

.home .card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.home .card h3 a:hover { color: var(--copper-ink); }

.home .card time {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.home .card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1.1rem;
  flex: 1;
}

.home .card .more {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-ink);
  font-weight: 600;
  border-bottom: 1px solid var(--copper);
  align-self: flex-start;
  padding-bottom: 1px;
  text-decoration: none;
}

.home .card .more:hover { text-decoration: none; }

.home footer.site { margin-top: 3.2rem; }

@media (max-width: 720px) {
  .home .page { padding: 1.1rem 1.05rem 2.8rem; }

  .home .intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.6rem;
  }

  .home .greeting { font-size: 2.55rem; margin-bottom: 1.1rem; }

  .home .cards {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .home .card .visual { margin: -1.2rem -1.1rem 1rem; }
}

@media (min-width: 900px) {
  .home .page { padding: 1.6rem 2rem 4rem; }
  .home .intro { margin-bottom: 3.8rem; }
}
