:root {
  color-scheme: light;
  --sqs-site-gutter: 4vw;
  --sqs-mobile-site-gutter: 6vw;
  --sqs-site-max-width: 1500px;
  --ink: #20201d;
  --paper: #fff;
  --subtle: #f1efe9;
  --accent: #6b293d;
  --rule: #d7d4cb;
  --heading: "Instrument Serif", Georgia, serif;
  --body: "Instrument Sans", system-ui, sans-serif;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font: 1rem/1.58 var(--body);
  margin: 0;
  min-height: 100vh;
}

main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
:is(a, summary):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
a:hover { text-decoration-thickness: .14em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, .display-heading {
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .32em;
  overflow-wrap: anywhere;
}

h1, .display-heading { font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2, .export-heading-two { font-size: clamp(2.15rem, 4.3vw, 4.3rem); }
h3, .export-heading-three { font-size: clamp(1.45rem, 2.7vw, 2.45rem); }
.text-center { text-align: center; }
.preserve-space { white-space: pre-wrap; }
.sqsrte-large { font-size: clamp(1.12rem, 1.8vw, 1.55rem); }
.sqsrte-text-color--white { color: #fff; }
pre { margin: .1rem 0 .8rem; white-space: pre-wrap; }
hr { border: 0; border-top: 1px solid currentColor; margin: 0; opacity: .5; }

.shell {
  margin-inline: auto;
  width: min(var(--sqs-site-max-width), calc(100% - 2 * var(--sqs-site-gutter)));
}

.skip-link, .visually-hidden {
  position: absolute;
  overflow: hidden;
  white-space: nowrap;
}

.visually-hidden, .skip-link:not(:focus) {
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
}

.skip-link:focus {
  background: #fff;
  color: #171714;
  inset: .65rem auto auto .65rem;
  padding: .65rem 1rem;
  z-index: 10;
}

.site-header { border-bottom: 1px solid var(--rule); }

.header-inner, .footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.5rem;
  justify-content: space-between;
  padding-block: .8rem;
}

.brand { display: block; }
.brand img { height: auto; width: clamp(5.25rem, 8vw, 6.75rem); }
.mobile-nav { display: none; }

.nav-list, .footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(.3rem, 1.7vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a, .footer-links a {
  align-items: center;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 550;
  min-height: 2.75rem;
  padding-inline: .15rem;
  text-decoration: none;
}

.nav-list a:hover, .nav-list [aria-current], .footer-links a:hover { text-decoration: underline; }

.export-section { isolation: isolate; position: relative; }
.theme-white { background: #fff; }
.theme-light { background: var(--subtle); }
.theme-black { background: #20201d; color: #fff; }
.has-export-background { align-content: center; min-height: 28rem; }
.export-background, .export-background::after {
  inset: 0;
  position: absolute;
  z-index: -1;
}
.export-background::after { background: #000; content: ""; z-index: 0; }

.fluid-engine { padding-block: .7rem; }
.fe-block { min-height: 0; min-width: 0; }
.sqs-block { display: flex; flex-direction: column; min-height: 100%; }
.sqs-block-alignment-wrapper { display: flex; }
.sqs-block-content { min-width: 0; width: 100%; }
.export-image, .export-image .sqs-block-alignment-wrapper, .export-image .sqs-block-content {
  flex: 1;
  height: 100%;
}
.export-image .export-photo, .export-background .export-photo { height: 100%; }
.export-photo { background: #dedbd4; overflow: hidden; }
.home-banner .export-photo { background: #53564b; }
.export-background .export-photo { background: #444440; }
.export-photo img { height: 100%; object-fit: cover; object-position: var(--photo-position, 50% 50%); width: 100%; }

.export-gallery-grid {
  display: grid;
  gap: clamp(1rem, 4vw, 56px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
  padding: 3rem var(--sqs-site-gutter);
  width: min(100%, var(--sqs-site-max-width));
}

.export-gallery-masonry { column-count: 2; column-gap: 0; }
.export-gallery .export-photo { aspect-ratio: var(--photo-ratio, 1); break-inside: avoid; }
.export-divider {
  border-radius: 0 0 50% 50% / 0 0 var(--divider-height) var(--divider-height);
  padding-bottom: var(--divider-height);
}

a.export-button {
  background: #252521;
  border: 1px solid #252521;
  color: #fff;
  display: inline-block;
  font-weight: 650;
  line-height: 1.35;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: .75rem 1rem;
  text-align: center;
  text-decoration: none;
}

a.export-button:hover { background: #41413a; }
a.export-button:focus-visible { outline-color: var(--accent); }
.theme-black a.export-button { background: #fff; color: #20201d; }
.theme-black a.export-button:focus-visible { outline-color: #fff; }

.export-mission, .error-page {
  margin-inline: auto;
  max-width: 48rem;
  padding: clamp(2rem, 5vw, 4.5rem) var(--sqs-site-gutter);
}
.error-page a { display: inline-block; margin: .7rem 1rem .2rem 0; }
.site-footer { background: var(--subtle); border-top: 1px solid var(--rule); }
.footer-brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--heading);
  font-size: 1.4rem;
  gap: .6rem;
  text-decoration: none;
}
.footer-brand img { height: auto; width: 2rem; }

@media (max-width: 767px) {
  .shell { width: calc(100% - 2 * var(--sqs-mobile-site-gutter)); }
  .site-header { position: relative; z-index: 1; }
  .header-inner { flex-wrap: nowrap; }
  .header-inner .brand img { width: 4.5rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary {
    cursor: pointer;
    min-height: 2.75rem;
    padding: .65rem .8rem;
  }
  .mobile-nav nav {
    background-color: var(--siteBackgroundColor);
    border-bottom: 1px solid var(--rule);
    inset: 100% 0 auto;
    max-height: 70vh;
    overflow-y: auto;
    padding: .5rem calc(var(--sqs-mobile-site-gutter) + .5rem);
    position: absolute;
  }
  .mobile-nav .nav-list { align-items: stretch; flex-direction: column; gap: 0; }
  .mobile-nav .nav-list a { display: flex; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .has-export-background { min-height: 19rem; }
  .export-gallery-grid { padding-inline: var(--sqs-mobile-site-gutter); }
}
