@font-face {
  font-family: "Cal Sans";
  src: url("../fonts/cal-sans-400.woff2") format("woff2"),
       url("../fonts/cal-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;500;600&display=swap");

:root {
  --ink: #0a0a0a;
  --muted: #5a5a5a;
  --line: #d9d9d9;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --font-head: "Cal Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
}

.has-ink-color {
  color: #0a0a0a !important;
}

.has-muted-color {
  color: #5a5a5a !important;
}

.has-soft-gray-color {
  color: #8a8a8a !important;
}

.has-white-color {
  color: #ffffff !important;
}

.has-warm-sand-color {
  color: #c7b9a5 !important;
}

.has-deep-olive-color {
  color: #59614d !important;
}

h1,
.wp-block-heading {
  font-family: var(--font-head);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: visible;
}



.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 1.4rem 6vw 0.9rem;
  column-gap: 2rem;
  overflow: visible;
}



.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}


.site-brand__title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.site-brand__tagline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.menu--footer {
  gap: 1rem;
}

.site-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--ink);
}

.site-social-link svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  justify-self: end;
  margin-right: 0;
  width: 40px;
  height: 40px;
  overflow: visible;
}








.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 6px auto;
  transform-origin: center;
}





.site-main {
  padding-bottom: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  padding: 4rem 6vw 4.5rem;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wp-block-group.hero.has-background {
  overflow: hidden;
}

.wp-block-group.hero.has-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0.48) 100%);
  pointer-events: none;
}

.wp-block-group.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero__content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 3.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 1rem 0;
  font-weight: 400;
}

.hero__dek {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--ink);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn--ghost {
  border-color: var(--line);
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 338px;
  width: 100%;
}

.image-frame {
  width: 100%;
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  height: 100%;
  position: relative;
}

.image-frame--photo {
  padding: 0;
  position: relative;
  min-height: 338px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-frame__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


.section {
  padding: 3rem 6vw;
}

.section--full {
  padding: 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__header h1,
.section__header h2 {
  font-family: var(--font-head);
  letter-spacing: 0.01em;
  font-weight: 400;
}

.section__header {
  margin-bottom: 2rem;
}

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

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--gallery {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.book-gallery {
  position: relative;
  margin: 10px;
  background: #fff;
}

.book-gallery__frame {
  background: #fff;
  padding: 0;
  position: relative;
  perspective: 1800px;
  overflow: hidden;
  width: calc(100vw - 20px);
  margin-left: calc(50% - 50vw + 10px);
  margin-right: calc(50% - 50vw + 10px);
  height: min(78vh, 720px);
}

.book-gallery__spreads {
  position: relative;
  height: 100%;
  min-height: 0;
}

.book-gallery__spreads::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #fefefe;
  z-index: 4;
  pointer-events: none;
}

.book-gallery__spread {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.book-gallery__spread.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.book-gallery__spread.is-previous {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.book-gallery__spread.is-active .book-gallery__page--left,
.book-gallery__spread.is-previous .book-gallery__page--left {
  transform: none !important;
}

.book-gallery__page {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.page-template-template-photos .section.section--full,
.page-template-template-photos .site-main > .section.section--full,
body.page.slug-photos .section.section--full {
  background: #fff;
  padding-top: 0;
  padding-bottom: 0;
}

.book-gallery__page--right {
  position: relative;
  transform-origin: left center;
  transform-style: preserve-3d;
}


.book-gallery__spread.is-active .book-gallery__page--right {
  animation: none;
}

.book-gallery__page img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.book-gallery__page--blank {
  background: #fff;
}

.book-gallery__blank {
  width: 100%;
  height: 100%;
  background: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}

.lightbox--open {
  display: flex;
}

.lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox__nav {
  display: none !important;
}

.lightbox__nav--prev {
  left: 2rem;
}

.lightbox__nav--next {
  right: 2rem;
}

.lightbox__nav::before,
.lightbox__nav::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #fff;
}

.lightbox__nav--prev::before,
.lightbox__nav--prev::after {
  left: 18px;
  transform-origin: left center;
}

.lightbox__nav--prev::before {
  transform: translateY(-50%) rotate(-45deg);
}

.lightbox__nav--prev::after {
  transform: translateY(-50%) rotate(45deg);
}

.lightbox__nav--next::before,
.lightbox__nav--next::after {
  right: 18px;
  transform-origin: right center;
}

.lightbox__nav--next::before {
  transform: translateY(-50%) rotate(45deg);
}

.lightbox__nav--next::after {
  transform: translateY(-50%) rotate(-45deg);
}

.lightbox__close::before,
.lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 2px;
  background: #fff;
}

.lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

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

.post-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.post-content--notes {
  max-width: 760px;
}

.list--sidebar {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.list--sidebar__item {
  position: relative;
  padding-bottom: 0.85rem;
}

.list--sidebar__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 35px;
  height: 1px;
  background: #e6e6e6;
}

.list--sidebar__item:last-child::after {
  display: none;
}

@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
}

.tile,
.note {
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border-top-right-radius: 0.5em;
}

.note h2,
.note h3 {
  font-family: var(--font-head);
  margin-top: 0;
}

.note--with-image {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  height: 100%;
  padding: 0;
}

.grid--notes {
  align-items: stretch;
}


.note--link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.grid--notes > .note--link {
  height: 100%;
}

.grid--notes > .note--link > .note {
  height: 100%;
}


.note--link:hover {
  opacity: 0.9;
}

.note__media {
  flex: 0 0 auto;
  height: 180px;
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.note__content {
  flex: 1 1 auto;
  padding: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.note__content p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.note__content p:last-child {
  margin-top: 0.5rem;
}



.note__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}


.tile::before,
.note::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 40px solid #444444;
  border-left: 40px solid transparent;
}

.tile::after,
.note::after {
  content: "+";
  position: absolute;
  top: 6px;
  right: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
}

.content {
  font-size: 1.05rem;
  line-height: 1.7;
}

.content a,
.field-notes__intro a,
.wp-block-post-content a {
  color: #b84822;
}

.content a:hover,
.field-notes__intro a:hover,
.wp-block-post-content a:hover {
  color: #d45828;
  opacity: 1;
}

.content blockquote,
.content .wp-block-quote,
.content .wp-block-pullquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--ink);
  background: var(--bg-alt);
}

.content blockquote p,
.content .wp-block-quote p,
.content .wp-block-pullquote p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.55;
}

.content .wp-block-quote p,
.content .wp-block-pullquote p {
  font-family: var(--font-head);
}

.content .wp-block-quote.is-style-large,
.content .wp-block-quote.is-large,
.content .wp-block-pullquote.is-style-solid-color {
  padding: 2rem 2.25rem;
}

.content .wp-block-pullquote {
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content cite,
.content .wp-block-quote cite,
.content .wp-block-pullquote cite {
  display: block;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: normal;
}

.post-featured-image {
  margin: 1.5rem 0 0.75rem;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-date {
  color: #b6b6b6;
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.post-tags {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.post-tags__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.post-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.post-tags__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 0.95rem;
  line-height: 1;
}

.post-tags__link:hover {
  opacity: 1;
  background: #ededed;
}

.kwp-contact-form {
  margin-top: 2rem;
  max-width: 720px;
}

.kwp-contact-form__form {
  display: grid;
  gap: 1.25rem;
}

.kwp-contact-form__field {
  display: grid;
  gap: 0.45rem;
}

.kwp-contact-form__field label {
  font-family: var(--font-head);
  font-size: 1rem;
}

.kwp-contact-form__field input,
.kwp-contact-form__field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0.9rem 1rem;
  border-radius: 0;
  font: inherit;
}

.kwp-contact-form__field textarea {
  min-height: 220px;
  resize: vertical;
}

.kwp-contact-form__field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kwp-contact-form__submit {
  width: fit-content;
  min-width: 180px;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-family: var(--font-head);
  cursor: pointer;
}

.kwp-contact-form__submit:hover {
  opacity: 0.85;
}

.kwp-contact-form__notice {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.kwp-contact-form__notice p {
  margin: 0;
}

.kwp-contact-form__notice--success {
  border-color: #b8cbb0;
  background: #f4f9f1;
}

.kwp-contact-form__notice--error {
  border-color: #d7b6b6;
  background: #fcf3f3;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 6vw;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__contact {
  color: var(--ink);
}


  .menu {
    flex-wrap: wrap;
  }
}

.happening-images {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}


.happening-images__item {
  margin: 0;
}

.happening-images__item img {
  width: 100%;
  height: auto;
  display: block;
  border-right: 20px solid #f2f2f2;
  border-bottom: 20px solid #f2f2f2;
  box-sizing: border-box;
}


@media (max-width: 800px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    row-gap: 0.75rem;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
  }

  .site-header--open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: none;
    position: relative;
    right: 0;
  }
}

.nav-toggle--open .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle--open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-toggle__bar {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 800px) {
  .site-brand__title {
    font-size: 1.5rem;
  }
}

.nav-toggle {
  position: relative;
}

.nav-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 33px;
  line-height: 1;
  color: var(--ink);
  opacity: 0;
}

.nav-toggle--open::after {
  content: "×";
  opacity: 1;
}

.nav-toggle--open .nav-toggle__bar {
  opacity: 0;
  transform: none;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  padding: 4rem 6vw 4.5rem;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 338px;
  width: 100%;
}

.image-frame {
  width: 100%;
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  height: 100%;
  position: relative;
}

.image-frame--photo {
  padding: 0;
  position: relative;
  min-height: 338px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mobile-gallery {
  display: none;
  margin: 1rem 0;
  position: relative;
}

.mobile-gallery__viewport {
  overflow: hidden;
  border: 0;
  line-height: 0;
  touch-action: pan-y;
}

.mobile-gallery__track {
  display: flex;
  transition: transform 0.4s ease;
  align-items: flex-start;
}

.mobile-gallery__slide {
  flex: 0 0 100%;
  display: flex;
  align-items: flex-start;
  min-height: 0;
}

.mobile-gallery__slide img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.mobile-gallery__blank {
  width: 100%;
  min-height: 0;
  height: 0;
  background: #fff;
  border: 1px solid var(--line);
  display: block;
}

.mobile-gallery__btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  display: none !important;
}

.mobile-gallery--enhanced .mobile-gallery__controls button,
.mobile-gallery--enhanced .mobile-gallery__btn {
  display: none !important;
}

@media (max-width: 800px) {
  .book-gallery {
    display: none;
  }

  .mobile-gallery {
    display: block;
  }
}

@media (orientation: landscape) {
  .lightbox {
    padding: 0.75rem;
  }

  .lightbox__image {
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100vh - 1.5rem);
  }
}
