@font-face {
  font-family: Young Serif;
  src: url("assets/young-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("assets/fraunces-300-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}
:root {
  --paper: #fef9f3;
  --blush: #f8e6dd;
  --peach: #ecc3b2;
  --ink: #5a3423;
  --muted: #704e3f;
  --accent: #934831;
  --drawn-line: #c98a6b;
  --line: #dfc7b9;
  --serif: "Young Serif", Georgia, serif;
  --italic: Fraunces, Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.header {
  min-height: 7.8rem; padding-block-start: 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand { justify-self: start; padding: 0.4rem; margin-inline-start: 0.55rem; }
.brand img { width: clamp(5.5rem, 8.1vw, 7.75rem); height: auto; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(0.7rem, 3vw, 2.75rem); }
.site-nav a { text-decoration: none; padding-block: 0.5rem; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.menu-toggle, .menu-social { display: none; }
.header-social.button {
  justify-self: end; gap: 0.55rem; min-height: 2.75rem;
  padding: 0.5rem 1rem; border-radius: 0.6rem;
}
.instagram-icon {
  flex: none; width: 1.2rem; height: 1.2rem;
  fill: none; stroke: currentColor; stroke-width: 1.75;
}
.instagram-icon .camera-dot { fill: currentColor; stroke: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.15rem; padding: 0.67rem 1.35rem;
  border: 1px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: var(--paper);
  font-weight: 650; text-decoration: none; text-align: center; cursor: pointer;
}
.button:hover { background: #763823; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-outline:hover { background: var(--blush); }
.note-line-end { display: none; }
.hero-copy {
  position: relative; isolation: isolate; overflow: clip;
  display: grid; justify-items: center; text-align: center;
  padding: clamp(2.3rem, 4vw, 4.25rem) 1.25rem;
}
.hero-ornament {
  position: absolute; z-index: -1; pointer-events: none;
  width: clamp(8rem, 18vw, 21rem); height: auto; fill: var(--blush);
}
.hero-ornament-left { inset: auto auto -0.5rem 0; }
.hero-ornament-right { inset: -0.45rem 0 auto auto; }
.hero-ornament-line {
  fill: none; stroke: var(--drawn-line); opacity: 0.72;
  stroke-width: 1.2;
}
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 {
  max-width: 17ch;
  font-size: clamp(2.55rem, 3.8vw, 3.75rem);
  line-height: 1.12; letter-spacing: -0.037em; text-wrap: balance;
}
em { color: var(--accent); font-family: var(--italic); font-weight: 300; }
h2 { font-size: clamp(2.15rem, 4.35vw, 4.2rem); line-height: 1.07; letter-spacing: -0.04em; }
h3 { font-size: clamp(1.22rem, 2.1vw, 1.6rem); line-height: 1.28; letter-spacing: -0.025em; }
p { color: var(--muted); margin: 0; }
.hero p { max-width: 29rem; margin: 1.4rem 0; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-link { display: table; margin-top: 0.9rem; text-underline-offset: 0.25em; }
.hero-strip {
  position: relative; container-type: size; height: clamp(13rem, 24vw, 26rem);
  overflow: clip; background: var(--blush);
}
.hero-photo {
  position: absolute; inset: auto auto 0 50%;
  width: max(100%, 435cqh); max-width: none; height: auto;
  transform: translate(-50%, 27%);
}
.note-line {
  position: absolute; pointer-events: none; fill: none; stroke: var(--drawn-line);
  stroke-linecap: round; stroke-linejoin: round;
}
.note-line path { stroke-width: 1.55; }
.reading-note {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--blush); border-block-end: 1px solid var(--line);
}
.note-line {
  z-index: -1; width: clamp(12rem, 21vw, 20rem); top: -1.5rem; left: -3.2rem;
  opacity: 0.75; transform: rotate(-12deg);
}
.reading-inner {
  display: grid; justify-items: center; text-align: center;
  padding-block: clamp(2.8rem, 7vw, 5.25rem);
}
.reading-inner h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.reading-inner p { max-width: 34rem; margin: 1.15rem auto 0.75rem; font-size: 1.05rem; }
.stories p, .about p { max-width: 38rem; margin-top: 0.9rem; }
.stories, .printable-grid {
  padding-block: clamp(3rem, 7vw, 6rem);
  padding-inline: clamp(0rem, 3vw, 3rem);
}
.stories {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 7vw, 6rem); align-items: center;
}
.stories-intro .profile-link { display: inline-block; margin-top: 0.75rem; }
.section-ornament {
  display: block; height: auto; pointer-events: none; fill: none; stroke: var(--drawn-line);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.instagram-ornament {
  width: min(100%, clamp(16rem, 27vw, 26rem)); margin-top: clamp(1.3rem, 3vw, 2.5rem);
  stroke-width: 0.85;
}
.profile-link { color: var(--accent); text-underline-offset: 0.25em; padding-block: 0.45rem; }
.button:disabled { opacity: 0.48; cursor: default; background: transparent; }
.instagram-feed { width: min(100%, 540px); min-width: 0; justify-self: center; }
.instagram-stage { position: relative; }
.instagram-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 0.8rem) / 2);
  gap: 0.8rem; margin: 0; padding: 0.2rem 0.2rem 0.55rem; list-style: none;
  overflow: scroll hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scroll-padding-inline: 0.2rem; scrollbar-color: #b98f7c transparent; scrollbar-width: thin;
}
.instagram-track li {
  position: relative; min-width: 0; aspect-ratio: 4 / 5; scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 0.75rem; background: var(--blush);
}
.instagram-track .instagram-placeholder { background: #f3e7dd; }
.instagram-track a { position: absolute; inset: 0; border-radius: inherit; }
.instagram-track img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.instagram-track img[hidden] { display: none; }
.instagram-card-fallback, .instagram-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 1rem; text-align: center;
}
.instagram-card-fallback[hidden], .instagram-fallback[hidden] { display: none; }
.instagram-fallback { background: var(--paper); }
.instagram-fallback:not([hidden]) { z-index: 1; }
.instagram-reel {
  position: absolute; top: 0.55rem; right: 0.55rem; padding: 0.15rem 0.45rem;
  border-radius: 0.3rem; background: var(--paper); color: var(--ink); font-size: 0.85rem;
}
.instagram-controls { display: flex; justify-content: flex-end; gap: 0.65rem; margin-top: 0.75rem; }
.instagram-controls .button { min-height: 2.75rem; }
.instagram-feed[aria-busy="true"] .instagram-controls, .instagram-controls.is-unavailable { visibility: hidden; }
.printables { background: var(--blush); border-block: 1px solid var(--line); }
.printable-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 1.25rem clamp(2rem, 7vw, 6rem); align-content: center; align-items: start;
}
.print-intro p { margin-top: 0.9rem; max-width: 27rem; }
.print-preview {
  position: relative; width: 100%; aspect-ratio: 5 / 4;
  max-width: 35rem; grid-column: 2; grid-row: 1 / span 2; align-self: center;
  overflow: hidden; background: #ead4c4; border-radius: 0.75rem;
}
.print-preview img {
  position: absolute; top: 50%; left: 50%; width: auto; height: 82%; max-width: 90%;
  border: 1px solid var(--line); transform: translate(-50%, -50%) rotate(-5deg);
  box-shadow: 0 0.4rem 0.65rem #5a342320;
}
.print-form {
  display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line); border-radius: 1rem; background: var(--paper);
}
.print-form p { max-width: 29rem; }
.print-fields { display: grid; gap: 0.35rem; }
.print-fields label { font-weight: 650; }
.print-fields input[type="email"] {
  width: 100%; min-height: 3rem; padding: 0.5rem 0.75rem;
  border: 1px solid #b98f7c; border-radius: 0.45rem;
  background: white; color: var(--ink); font: inherit;
}
.print-fields label:not(:first-child) { margin-top: 0.4rem; }
.newsletter-choice { display: flex; align-items: flex-start; gap: 0.6rem; }
.newsletter-choice[hidden] { display: none; }
.newsletter-choice input { flex: 0 0 auto; margin: 0.28em 0 0; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }
.newsletter-help { font-size: 0.9rem; }
.print-fields .button { justify-self: start; margin-top: 0.65rem; }
#print-status { color: var(--accent); }
#print-status:empty { display: none; }
#print-status span { display: block; margin-top: 0.35rem; }
.newsletter-page { max-width: 35rem; padding-block: 4rem; }
.newsletter-page p, .newsletter-page form { margin-top: 1rem; }
.about { position: relative; isolation: isolate; overflow: clip; background: #f4e5d7; }
.about-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.57fr);
  gap: 2rem clamp(2rem, 8vw, 8rem);
  align-items: center; padding: clamp(3rem, 6vw, 5rem) clamp(0rem, 3vw, 3rem);
}
.about-mark {
  display: grid; justify-items: center; align-content: center; gap: 0.45rem;
  width: min(100%, 24rem); justify-self: end; padding-inline: clamp(0.75rem, 3vw, 2.5rem);
}
.about-mark img { width: clamp(8rem, 14vw, 13rem); max-width: 100%; height: auto; }
.about-ornament { width: 100%; opacity: 0.78; stroke-width: 1.5; }
.about .button { margin-top: 1.4rem; border-color: #b98f7c; }
.footer {
  color: var(--paper); background: var(--ink);
}
.footer-inner { padding: clamp(2.6rem, 5vw, 4.5rem) clamp(0rem, 3vw, 3rem) 1.25rem; }
.footer-main {
  display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content;
  align-items: start; gap: 1.6rem clamp(2rem, 7vw, 8rem);
}
.footer-name {
  color: inherit; font: clamp(2rem, 3.75vw, 3.6rem)/1.1 var(--serif);
  letter-spacing: -0.035em;
}
.footer-name em { color: var(--peach); }
.footer-links { display: grid; justify-items: start; gap: 0.45rem; }
.footer-contact p { color: var(--peach); margin-bottom: 0.45rem; }
.footer-links a, .footer-bottom a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer a { text-underline-offset: 0.25em; }
.footer a:focus-visible { outline-color: var(--peach); }
.footer-bottom {
  display: flex; justify-content: flex-end; color: var(--peach); font-size: 0.9rem;
  margin-top: clamp(1.7rem, 4vw, 3.5rem); padding-top: 0.8rem;
  border-top: 1px solid #986d58;
}
.footer-bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; background: var(--paper); padding: 0.5rem; }
@media (min-width: 1200px) {
  .wrap { width: min(100% - clamp(4rem, 7vw, 11rem), 108rem); }
  .stories { gap: clamp(3rem, 7vw, 10rem); }
  .stories-intro { padding-left: clamp(1rem, 4vw, 5rem); }
  .note-line-end {
    display: block; width: clamp(13rem, 20vw, 24rem);
    top: auto; left: auto; right: -2.6rem; bottom: -2.25rem;
    transform: rotate(9deg);
  }
  .print-preview { aspect-ratio: 6 / 4; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.25rem); }
  .header {
    position: relative; z-index: 2; min-height: 6.25rem; grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem; padding-block: 0.65rem; background: var(--paper);
  }
  .brand { margin-inline-start: 0; padding: 0.15rem 0; }
  .brand img { width: clamp(5.35rem, 24vw, 6.75rem); }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; gap: 0.4rem 1rem; }
  .header-social.button { display: none; }
  .menu-social { display: flex; align-items: center; gap: 0.55rem; color: var(--accent); }
  .menu-toggle {
    grid-row: 1; grid-column: 2; display: inline-flex; align-items: center; gap: 0.55rem;
    min-height: 2.75rem; padding: 0.45rem 0.8rem;
    border: 1px solid var(--line); border-radius: 0.55rem;
    background: transparent; color: var(--ink); cursor: pointer;
    /* The wordmark carries more visual weight below the heart. */
    translate: 0 0.5rem;
  }
  .menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--blush); }
  .menu-icon { position: relative; width: 1.1rem; height: 1rem; }
  .menu-icon span {
    position: absolute; left: 0; top: calc(50% - 1px); width: 100%; height: 2px;
    border-radius: 2px; background: currentColor;
  }
  .menu-icon span:first-child { transform: translateY(-5px); }
  .menu-icon span:last-child { transform: translateY(5px); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { visibility: hidden; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: rotate(-45deg); }
  .header.has-menu .site-nav {
    position: absolute; top: calc(100% + 0.4rem); right: 0;
    display: grid; grid-template-columns: 1fr; gap: 0; width: min(100%, 18rem);
    padding: 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 0.65rem;
    background: var(--paper); box-shadow: 0 0.6rem 1.3rem #5a34231a;
  }
  .header.has-menu .site-nav a { min-height: 2.75rem; padding: 0.63rem 0.25rem; }
  .header.has-menu .site-nav a + a { border-top: 1px solid var(--line); }
  h1 { font-size: clamp(2.25rem, 7.8vw, 3.5rem); }
  .hero-ornament { width: clamp(5.5rem, 24vw, 9.5rem); opacity: 0.62; }
  .hero-ornament-left { left: -0.9rem; }
  .hero-ornament-right { right: -0.9rem; }
  .hero-strip { height: clamp(13rem, 59vw, 19rem); }
  .note-line { opacity: 0.42; left: -6.5rem; top: -2.25rem; }
  .stories { grid-template-columns: 1fr; }
  .instagram-ornament { width: min(80%, 15rem); }
  .instagram-feed { justify-self: start; }
  .instagram-track { grid-auto-columns: min(76%, 16rem); }
  .printable-grid { grid-template-columns: 1fr; }
  .print-preview { grid-column: auto; grid-row: auto; }
  .about-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 1.15rem 0.75rem; }
  .about-copy { display: contents; }
  .about-copy h2 { grid-column: 1; grid-row: 1; font-size: clamp(1.9rem, 8vw, 3.2rem); }
  .about-copy h2 em { display: block; }
  .about-details { grid-column: 1 / -1; grid-row: 2; }
  .about p { margin-top: 0; }
  .about-mark {
    grid-column: 2; grid-row: 1; width: clamp(4.6rem, 23vw, 7rem); padding: 0;
  }
  .about-mark img { width: 92%; }
  .footer-inner { padding-inline: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .footer-name { grid-column: 1 / -1; }
  .footer-bottom { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .site-nav { gap: 0.15rem 0.65rem; }
  .printable-grid { gap: 1.75rem; }
  .print-preview { max-width: 23rem; }
}
@supports (animation-timeline: view()) and (animation-range: entry) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-strip { view-timeline-name: --hero-scroll; }
    .reading-note { view-timeline-name: --reading-scroll; }
    .stories { view-timeline-name: --instagram-scroll; }
    .about { view-timeline-name: --about-scroll; }
    .hero-photo {
      will-change: transform;
      animation: coffee-depth linear both;
      animation-timeline: --hero-scroll;
      animation-range: entry 0% exit 100%;
    }
    .instagram-ornament, .about-ornament { animation: ornament-depth linear both; }
    .instagram-ornament { animation-timeline: --instagram-scroll; }
    .about-ornament { animation-timeline: --about-scroll; }
    :where(.hero-ornament-line, .note-line path, .section-ornament path) {
      stroke-dasharray: 1;
      animation: draw-line linear both;
      animation-range: entry 0% entry 100%;
    }
    .hero-ornament-line { animation-timeline: scroll(root block); animation-range: 0px 190px; }
    .note-line path { animation-timeline: --reading-scroll; }
    .instagram-ornament path { animation-timeline: --instagram-scroll; }
    .instagram-ornament path:first-child { animation-range: entry 0% entry 65%; }
    .instagram-ornament path:nth-child(2) { animation-range: entry 49% entry 82%; }
    .instagram-ornament path:nth-child(n + 3) { animation-range: entry 78% entry 100%; }
    .about-ornament path { animation-timeline: --about-scroll; }
    .about-ornament path + path { animation-range: entry 45% entry 100%; }
    @keyframes draw-line {
      from { stroke-dashoffset: 1; }
      to { stroke-dashoffset: 0; }
    }
    @keyframes coffee-depth {
      from { transform: translate(-50%, 29.5%); }
      to { transform: translate(-50%, 24%); }
    }
    @keyframes ornament-depth {
      from { transform: translateY(0.7rem); }
      to { transform: translateY(-0.7rem); }
    }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
