@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap');

:root {
  --paper: #faf9f6 !important;
  --paper-deep: #faf9f6 !important;
  --brand-accent: #596052;
  --cookie-paper: #faf9f6 !important;
}

html,
body,
.site-header,
.gallery-site-header,
.gallery-next-story,
.gallery-inquiry,
.gallery-site-footer,
.portfolio-mid-inquiry,
.photo-lightbox,
.cookie-dialog {
  background-color: #faf9f6 !important;
}

body,
p,
nav,
label,
input,
select,
textarea,
button {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1,
h2,
.path-card h3,
.collection-cards h3,
.testimonial-feature blockquote,
.testimonial-closing blockquote,
.approach__quote,
.experience-testimonial blockquote,
.kind-word blockquote,
.words-quote blockquote,
.principle-grid blockquote,
.process-list blockquote,
.portfolio-mid-inquiry p {
  font-family: "Newsreader", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em !important;
}

h1,
h2,
.path-card h3,
.collection-cards h3 {
  line-height: 1.01 !important;
}

.testimonial-feature blockquote,
.testimonial-closing blockquote,
.experience-testimonial blockquote,
.kind-word blockquote,
.words-quote blockquote,
.principle-grid blockquote,
.process-list blockquote {
  line-height: 1.12 !important;
}

.approach__quote {
  line-height: 1.22 !important;
}

.wordmark,
.wordmark--footer,
.gallery-footer__wordmark {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.16em !important;
}

.wordmark--footer {
  max-width: 100%;
  font-size: clamp(2.4rem, 11vw, 8rem) !important;
}

/* Keep the large footer wordmark at the approved Experience-page rhythm everywhere. */
.site-footer {
  padding-top: clamp(4rem, 7.5vw, 7.5rem) !important;
}

.site-footer .footer-grid {
  margin-top: clamp(4rem, 7.5vw, 7.5rem) !important;
}

/* Keep each footer column title visually separate from the links beneath it. */
.site-footer .footer-label {
  margin-bottom: clamp(1.55rem, 1.45vw, 2rem) !important;
}

.site-footer .footer-grid nav {
  gap: 0.85rem;
}

.gallery-footer__wordmark {
  max-width: 100%;
  font-size: clamp(2.1rem, 5vw, 4.4rem) !important;
}

.eyebrow,
.gallery-next-story__label,
.gallery-form__eyebrow,
.gallery-footer__label {
  color: var(--brand-accent) !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.16em !important;
  line-height: 1.4 !important;
}

.primary-nav,
.menu-toggle,
.nav,
.gallery-menu-toggle {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.15em !important;
}

.text-link,
.submit-button,
.gallery-form button {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.1em !important;
}

.story-card__meta p,
.story-card__meta > span,
.gallery-tile__meta p,
.gallery-tile__meta > span,
.words-quote > p,
.words-photo figcaption {
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
}

.form-field label,
.gallery-form label {
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
}

.footer-grid a,
.footer-label,
.footer-legal,
.gallery-footer__grid a,
.gallery-footer__legal,
.persistent-inquiry,
.gallery-quick-actions a,
.gallery-quick-actions button {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em !important;
}

.text-link span,
.path-card > span {
  color: var(--brand-accent) !important;
}

.text-link {
  border-color: rgba(89, 96, 82, 0.42) !important;
}

/* Keep legal tables scrollable inside the page instead of widening mobile viewports. */
.legal-content,
.legal-content__body,
.legal-section,
.legal-table-wrap {
  min-width: 0;
  max-width: 100%;
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 760px) {
  .legal-content {
    display: block;
  }

  .legal-content__body {
    width: 100%;
  }
}

/*
 * Gallery pages were built from several generations of templates. Keep their
 * shared chrome on the same approved system as the main site, regardless of
 * the older inline rules inside an individual story.
 */
.gallery-site-header {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  min-height: var(--header-height, var(--header, 4.75rem)) !important;
  height: auto !important;
  padding: 0 var(--gutter, clamp(1rem, 2.8vw, 3.5rem)) !important;
  border-bottom: 1px solid var(--line, rgba(73, 67, 61, 0.12)) !important;
  background: #faf9f6 !important;
  line-height: 1.5 !important;
}

.gallery-site-header .wordmark {
  width: max-content !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: clamp(1.08rem, 1.5vw, 1.55rem) !important;
  font-weight: 300 !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
}

.gallery-site-header .nav {
  gap: clamp(1rem, 2.1vw, 2.5rem) !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.15em !important;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.gallery-site-header .nav > a,
.gallery-site-header .nav > .gallery-nav-group > a {
  padding: 1.75rem 0 !important;
}

.gallery-menu-toggle {
  display: none !important;
  align-items: center;
  gap: 0.7rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.15em !important;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.gallery-menu-toggle__mark,
.gallery-menu-toggle__mark::before {
  display: block;
  width: 1.2rem;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.gallery-menu-toggle__mark::before {
  transform: translateY(-0.3rem);
}

.gallery-site-header.is-menu-open .gallery-menu-toggle__mark {
  transform: rotate(45deg);
}

.gallery-site-header.is-menu-open .gallery-menu-toggle__mark::before {
  transform: rotate(-90deg);
}

.gallery-site-footer {
  padding: clamp(4rem, 7.5vw, 7.5rem)
    var(--gutter, clamp(1rem, 2.8vw, 3.5rem)) 2rem !important;
  border-top: 1px solid var(--line, rgba(73, 67, 61, 0.12)) !important;
  background: #faf9f6 !important;
  color: inherit;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  line-height: 1.5 !important;
}

.gallery-footer__wordmark {
  display: inline-block !important;
  max-width: 100%;
  margin: 0 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: clamp(2.4rem, 11vw, 8rem) !important;
  font-weight: 300 !important;
  letter-spacing: 0.16em !important;
  line-height: 1 !important;
}

.gallery-footer__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(8rem, 0.65fr)) minmax(16rem, 1fr) !important;
  gap: clamp(2rem, 5vw, 6rem) !important;
  margin-top: clamp(4rem, 7.5vw, 7.5rem) !important;
  padding-top: 2rem !important;
  border-top: 1px solid var(--line, rgba(73, 67, 61, 0.12)) !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  line-height: 1.5 !important;
}

.gallery-footer__grid nav {
  display: grid;
  gap: 0.85rem !important;
}

.gallery-footer__label {
  margin: 0 0 clamp(1.55rem, 1.45vw, 2rem) !important;
  color: var(--muted, #7c756d) !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.gallery-footer__grid a,
.gallery-footer__legal,
.gallery-footer__legal a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.gallery-footer__place p:last-child {
  max-width: 24rem;
  margin: 0;
  color: var(--muted, #7c756d);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 1rem !important;
  letter-spacing: normal !important;
  line-height: 1.5 !important;
  text-transform: none;
}

.gallery-footer__legal {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: normal !important;
  gap: 1.5rem !important;
  margin-top: 3.5rem !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid var(--line, rgba(73, 67, 61, 0.12)) !important;
}

.footer-legal {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: normal !important;
  gap: 1.5rem !important;
  margin-top: 3.5rem !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid var(--line, rgba(73, 67, 61, 0.12)) !important;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem !important;
}

.footer-legal p {
  margin: 0;
}

.gallery-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem !important;
}

.gallery-footer__legal p {
  margin: 0;
}

@media (max-width: 62rem) {
  .gallery-site-header {
    position: sticky !important;
    top: 0;
  }

  .gallery-menu-toggle {
    display: flex !important;
  }

  .gallery-site-header .nav {
    position: absolute !important;
    z-index: 90;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    display: none !important;
    align-content: start;
    align-items: stretch !important;
    flex-direction: column;
    gap: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 2rem var(--gutter, clamp(1rem, 2.8vw, 3.5rem)) 3rem !important;
    overflow-y: auto;
    border-bottom: 1px solid var(--line, rgba(73, 67, 61, 0.12));
    background: #faf9f6 !important;
  }

  .gallery-site-header.is-menu-open .nav {
    display: flex !important;
  }

  .gallery-site-header .nav > a,
  .gallery-site-header .nav > .gallery-nav-group > a {
    display: block;
    width: 100%;
    padding: 1rem 0 !important;
    border-bottom: 1px solid var(--line, rgba(73, 67, 61, 0.12));
    font-size: clamp(1.5rem, 5vw, 2.4rem) !important;
    font-weight: 400 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.1 !important;
    text-transform: none;
  }

  .gallery-nav-group {
    display: grid !important;
    width: 100%;
    gap: 0 !important;
  }

  .gallery-nav-group__menu {
    position: static !important;
    display: grid !important;
    min-width: 0 !important;
    padding: 0.5rem 0 1rem 1.5rem !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line, rgba(73, 67, 61, 0.12)) !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .gallery-nav-group__menu a {
    padding: 0.45rem 0 !important;
    font-size: 0.65rem !important;
    line-height: 1.5 !important;
  }

  .gallery-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 42rem) {
  .gallery-site-header {
    min-height: 4.25rem !important;
  }

  .gallery-site-footer {
    padding-bottom: 6.5rem !important;
  }

  .gallery-footer__place {
    grid-column: 1 / -1;
  }

  .footer-legal,
  .gallery-footer__legal {
    display: grid !important;
  }
}
