:root {
  --ink: #4d4a48;
  --muted: #7d7874;
  --blush: #f5e2d8;
  --blush-deep: #e9c8b5;
  --paper: #fffdfb;
  --sage: #dfeae7;
  --line: #e9e2de;
  --header-h: 118px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  color: #fff;
  background: #242120;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 100;
  min-height: var(--header-h);
  background: rgba(255, 253, 251, 0.96);
}

.site-header__inner {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: var(--header-h);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
  width: 178px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a,
.share-button {
  border: 0;
  background: transparent;
  color: #3e3b39;
  font: 600 0.76rem/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 18px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  background: var(--blush-deep);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .buy-link {
  padding: 17px 19px;
  background: var(--blush);
}

.site-nav .buy-link::after {
  display: none;
}

.share-button {
  min-width: 48px;
  padding: 14px 8px;
  cursor: pointer;
}

.share-button::before {
  content: "↗";
  font-size: 1.25rem;
  line-height: 1;
}

.share-button span {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: #383432;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  min-height: min(700px, calc(100vh - var(--header-h)));
  background: #f7f7f6 url("images/home-hero.jpg") center center / cover no-repeat;
}

.section {
  padding: clamp(64px, 8vw, 112px) 24px;
}

.section--blush {
  background: var(--blush);
}

.section--soft {
  background: #fbf5f2;
}

.container {
  width: min(980px, 100%);
  margin: 0 auto;
}

.container--wide {
  width: min(1180px, 100%);
}

.intro,
.centered {
  text-align: center;
}

.intro p,
.centered p {
  margin: 0 auto 28px;
}

.intro p {
  max-width: 900px;
}

.intro .audience {
  max-width: 820px;
  margin-top: 34px;
}

.audience strong,
.eyebrow,
.section-title {
  display: block;
  color: #3f3b39;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.audience em {
  color: #6c6662;
}

.button {
  display: inline-flex;
  min-height: 48px;
  margin-top: 18px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid #54504d;
  background: #54504d;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: #2d2927;
  background: #2d2927;
}

.button--dark {
  background: #25211f;
  border-color: #25211f;
}

.ornament {
  width: 18px;
  height: 18px;
  margin: 44px auto 24px;
  border-radius: 50%;
  background: var(--blush-deep);
  box-shadow: 8px -7px 0 -6px var(--blush-deep);
}

.slider {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 48px));
  aspect-ratio: 1.555 / 1;
  margin: 0 auto;
  background: var(--sage);
  touch-action: pan-y;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 520ms ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  border: 0;
  transform: translateY(-50%);
  place-items: center;
  background: rgba(50, 48, 46, 0.58);
  color: #fff;
  cursor: pointer;
  font-size: 1.45rem;
}

.slider-control--prev {
  left: 20px;
}

.slider-control--next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 20px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid #33302e;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-dot[aria-current="true"] {
  background: #33302e;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.gallery-button {
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #f6f5f4;
  cursor: zoom-in;
}

.gallery-button img {
  width: 100%;
  height: auto;
  transition: transform 260ms ease;
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
  transform: scale(1.025);
}

.lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: none;
  padding: 28px;
  place-items: center;
  background: rgba(31, 28, 27, 0.92);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(94vw, 1000px);
  max-height: 86vh;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
}

.page-lead {
  padding-top: clamp(72px, 8vw, 116px);
  padding-bottom: clamp(52px, 6vw, 84px);
}

.page-lead p {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.archive-lead h1,
.post-header h1,
.minimal-card h1 {
  margin: 0 0 22px;
  color: #3d3937;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
}

.archive-lead p {
  max-width: 820px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.post-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 38px rgba(71, 58, 51, .08);
}

.post-card__image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee9e5;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.post-card__image:hover img,
.post-card__image:focus-visible img {
  transform: scale(1.025);
}

.post-card__body {
  padding: 28px;
}

.post-card h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.35;
}

.post-card h2 a,
.post-card__more {
  text-decoration: none;
}

.post-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  color: #6f6965;
  font-size: .92rem;
  line-height: 1.65;
}

.post-card__more {
  display: inline-block;
  border-bottom: 1px solid var(--blush-deep);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.post-page {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.post-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.post-header .eyebrow {
  margin-bottom: 12px;
  color: #9b7b6b;
}

.post-featured {
  width: min(720px, 100%);
  max-height: 720px;
  margin: 0 auto 54px;
  object-fit: cover;
}

.post-body {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.post-body p {
  margin: 0 0 26px;
}

.post-body a {
  text-decoration-color: var(--blush-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 54px 0 0;
}

.post-gallery figure {
  margin: 0;
}

.post-gallery img {
  width: 100%;
  height: auto;
}

.post-gallery figcaption {
  margin-top: 8px;
  color: #756f6b;
  font-size: .8rem;
  text-align: center;
}

.post-pagination {
  display: grid;
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.post-pagination a {
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.post-pagination a:last-child {
  text-align: right;
}

.post-pagination__archive {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: center !important;
}

.story {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.story h1 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.story .author {
  margin: 2px 0 42px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.author-photo {
  width: min(537px, 100%);
  margin: 0 auto 56px;
}

.story p {
  margin: 0 0 28px;
}

.story p:last-child {
  font-weight: 650;
}

.minimal-page {
  display: flex;
  min-height: calc(100vh - var(--header-h));
  flex-direction: column;
}

.minimal-page main {
  display: grid;
  flex: 1;
  place-items: center;
}

.minimal-card {
  width: min(840px, calc(100% - 48px));
  padding: clamp(64px, 9vw, 110px) clamp(24px, 7vw, 90px);
  text-align: center;
}

.minimal-card--blush {
  background: #fbf4f1;
}

.minimal-card p {
  margin: 0 auto 22px;
}

.site-footer {
  padding: 60px 24px 54px;
  text-align: center;
}

.site-footer img {
  width: min(390px, 92%);
  margin: 0 auto 22px;
  opacity: .48;
}

.site-footer p {
  margin: 3px 0;
  color: #77716d;
  font-size: 0.86rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #282523;
}

.back-to-top {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,.12);
  place-items: center;
  background: rgba(255,255,255,.9);
  color: #494542;
  text-decoration: none;
}

.share-toast {
  position: fixed;
  z-index: 400;
  right: 20px;
  bottom: 74px;
  padding: 10px 14px;
  transform: translateY(20px);
  border-radius: 2px;
  opacity: 0;
  background: #2d2927;
  color: #fff;
  font-size: .84rem;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.share-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  :root {
    --header-h: 92px;
  }

  .site-header__inner {
    width: min(100% - 32px, 1180px);
  }

  .brand {
    width: 128px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 110;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 40px 28px;
    transform: translateX(100%);
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    background: rgba(255,253,251,.985);
    visibility: hidden;
    transition: transform 240ms ease, visibility 240ms;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav a,
  .share-button {
    width: min(340px, 100%);
    padding: 16px;
    text-align: center;
    font-size: .92rem;
  }

  .site-nav .buy-link {
    margin-top: 10px;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 54vw;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
    line-height: 1.72;
  }

  .site-header__inner {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: 75vw;
    background-position: 55% center;
  }

  .section {
    padding: 54px 20px;
  }

  .slider {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .slider-control {
    width: 42px;
    height: 42px;
  }

  .slider-control--prev {
    left: 8px;
  }

  .slider-control--next {
    right: 8px;
  }

  .slider-dots {
    bottom: 12px;
  }

  .slider-dot {
    width: 12px;
    height: 12px;
  }

  .gallery {
    gap: 12px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .post-page {
    width: calc(100% - 36px);
  }

  .post-gallery {
    grid-template-columns: 1fr;
  }

  .post-pagination {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .post-pagination a:last-child {
    text-align: center;
  }

  .minimal-card {
    width: calc(100% - 28px);
  }

  .site-footer {
    padding: 46px 20px 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
