:root {
  --bg: #262827;
  --bg-deep: #202221;
  --text: #dedfdb;
  --muted: #b9bbb8;
  --line: rgba(226, 228, 224, .74);
  --thin: rgba(226, 228, 224, .28);
  --green-line: rgba(143, 171, 148, .58);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, .035), transparent 28rem),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .03), transparent 24rem),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .014) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 46px 46px, 46px 46px, auto;
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.55;
  margin: 0;
  min-height: 100vh;
}

body::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .012), rgba(255, 255, 255, .012) 1px, transparent 1px, transparent 4px),
    radial-gradient(circle at center, transparent, rgba(0, 0, 0, .18));
  content: "";
  inset: 0;
  opacity: .7;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -4rem;
}

.skip-link:focus {
  top: 1rem;
  z-index: 10;
}

.site-header {
  display: none;
}

main {
  min-height: calc(100vh - 46px);
}

.hero {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: calc(100vh - 46px);
  padding: 7vh 24px 9vh;
  text-align: center;
}

.gift-letters {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  margin: 0 auto 8vh;
  max-width: 1160px;
  width: min(100%, 1120px);
}

.gift-letter {
  color: var(--green-line);
  display: grid;
  justify-items: center;
  min-height: clamp(170px, 22vw, 290px);
  position: relative;
  text-decoration: none;
}

.gift-letter img {
  display: block;
  height: clamp(160px, 21vw, 270px);
  object-fit: contain;
  width: 100%;
}

.gift-letter .label {
  color: var(--text);
  display: block;
  font-size: .9rem;
  font-style: italic;
  margin-top: 1.9rem;
  text-transform: uppercase;
}

.home-title h1 {
  color: rgba(226, 228, 224, .78);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 100;
  line-height: 1;
  margin: 0 0 12vh;
  text-transform: uppercase;
}

.home-title p {
  color: rgba(226, 228, 224, .8);
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  margin: 0;
}

.clone-page {
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100vh - 46px);
  padding: 12vh 24px 9vh;
}

.clone-top-link {
  color: var(--muted);
  display: block;
  font-size: 1rem;
  margin: 0 auto 10vh;
  text-align: center;
  width: max-content;
}

.clone-top-link span {
  display: inline-block;
  margin-left: .4rem;
  text-decoration: none;
}

.category-menu {
  display: grid;
  gap: 3.8rem;
  justify-content: center;
  margin: 9vh auto 0;
}

.category-menu a,
.profile-buttons a {
  border: 1px solid var(--line);
  color: #fff;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  min-width: 260px;
  padding: 1rem 1.4rem;
  text-decoration: none;
  text-transform: uppercase;
}

.gallery-page h1 {
  color: rgba(226, 228, 224, .72);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 100;
  margin: -4vh 0 6vh;
  text-align: center;
  text-transform: uppercase;
}

.clone-gallery-grid {
  display: grid;
  gap: 4.6rem 2.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 920px;
}

.clone-gallery-grid article {
  margin: 0;
}

.clone-gallery-grid p {
  color: #f4f4f2;
  font-size: 1rem;
  font-style: italic;
  margin: 1rem 0 0;
  text-align: center;
  text-transform: uppercase;
}

.gallery-image {
  aspect-ratio: 1;
  cursor: zoom-in;
  display: block;
  object-fit: cover;
  width: 100%;
}

.gallery-image:focus {
  outline: 2px solid rgba(255, 255, 255, .84);
  outline-offset: 4px;
}

.has-lightbox {
  overflow: hidden;
}

.image-lightbox {
  align-items: center;
  background: rgba(16, 17, 16, .92);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 5vh 24px;
  position: fixed;
  z-index: 50;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox figure {
  margin: 0;
  max-width: min(1100px, 94vw);
  width: max-content;
}

.image-lightbox img {
  display: block;
  max-height: 82vh;
  max-width: 94vw;
  object-fit: contain;
}

.image-lightbox figcaption {
  color: #f4f4f2;
  font-size: 1rem;
  font-style: italic;
  margin-top: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.image-lightbox-close {
  align-items: center;
  background: rgba(32, 34, 33, .86);
  border: 1px solid rgba(226, 228, 224, .72);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 2rem;
  height: 46px;
  justify-content: center;
  line-height: 1;
  position: fixed;
  right: 24px;
  top: 22px;
  width: 46px;
}

.mock-image {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .14)),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    #67716d;
  background-size: auto, 52px 52px, 52px 52px, auto;
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .92);
  min-height: 235px;
}

.scene-1,
.scene-3,
.scene-12,
.scene-20 {
  background-color: #7c8b8d;
}

.scene-2,
.scene-6,
.scene-14,
.scene-18 {
  background-color: #78928d;
}

.scene-4,
.scene-8,
.scene-13,
.scene-16 {
  background-color: #726f66;
}

.scene-5,
.scene-7,
.scene-9,
.scene-15 {
  background-color: #7d7668;
}

.scene-10,
.scene-11,
.scene-17,
.scene-19 {
  background-color: #87907d;
}

.text-page {
  max-width: 1020px;
}

.copy-block {
  color: #f1f1ef;
  font-size: 1.15rem;
  margin: 0 auto;
  max-width: 860px;
}

.copy-block p {
  margin: 0 0 1.4rem;
}

.copy-block strong {
  font-weight: 800;
}

.bottom-word-row {
  display: flex;
  font-size: 1rem;
  font-style: italic;
  justify-content: space-around;
  margin-top: 14vh;
  text-transform: uppercase;
}

.profile-page {
  max-width: 1050px;
}

.profile-head {
  align-items: start;
  display: grid;
  gap: 2.6rem;
  grid-template-columns: 320px 1fr;
  margin: 0 auto 8vh;
  max-width: 820px;
}

.portrait-image {
  aspect-ratio: 1 / .92;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.profile-lines {
  color: #dedfdb;
  font-size: 1.05rem;
}

.profile-lines p {
  margin: 0 0 1rem;
}

.profile-lines strong {
  font-weight: 800;
  text-transform: uppercase;
}

.profile-lines span {
  margin-left: 1.5rem;
}

.profile-buttons {
  display: flex;
  justify-content: space-around;
  margin: 0 auto 7vh;
  max-width: 720px;
}

.profile-copy {
  color: #e4e5e2;
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 860px;
}

.profile-copy ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding-left: 1.5rem;
}

.profile-copy li::before {
  content: "›";
  margin-right: 1.5rem;
}

.profile-logo {
  display: block;
  margin: 8vh auto 0;
  max-width: 420px;
  opacity: .32;
  width: min(70vw, 420px);
}

.network-page {
  max-width: 980px;
}

.network-top,
.partner-grid,
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 360px 1fr;
}

.network-page h1,
.network-page h2 {
  color: rgba(226, 228, 224, .8);
  font-size: 2.1rem;
  margin: 0 0 3rem;
  text-transform: uppercase;
}

.network-page h2 {
  margin: 12vh 0 3rem 3rem;
}

.map-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(210, 210, 204, .8)),
    linear-gradient(90deg, rgba(0, 0, 0, .08) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, .08) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  color: #555;
  display: grid;
  min-height: 310px;
  padding: 1.2rem;
  place-items: center;
  text-align: center;
}

.network-image {
  display: block;
  height: auto;
  width: 100%;
}

.success-page {
  max-width: 980px;
}

.success-page h1 {
  color: rgba(226, 228, 224, .78);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 100;
  margin: -4vh 0 6vh;
  text-align: center;
  text-transform: uppercase;
}

.success-top-grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto 5vh;
  max-width: 780px;
}

.success-top-grid img,
.success-bottom-image {
  display: block;
  height: 360px;
  object-fit: cover;
  width: 100%;
}

.success-copy {
  color: #f1f1ef;
  font-size: 1.12rem;
  margin: 0 auto 5vh;
  max-width: 680px;
  text-align: left;
}

.success-copy p {
  margin: 0 0 1.1rem;
}

.success-bottom-image {
  margin: 0 auto;
  max-width: 520px;
}

.office-photo {
  display: block;
  height: 245px;
  object-fit: cover;
  width: 100%;
}

.network-page dl,
.partner-grid dl {
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: auto 1fr;
  margin: 0;
}

.network-page dt,
.partner-grid dt {
  color: #f2f2ef;
  text-transform: uppercase;
}

.network-page dd,
.partner-grid dd {
  margin: 0;
}

.contact-clone-page {
  max-width: 980px;
}

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

.map-placeholder {
  min-height: 210px;
}

.map-embed {
  padding: 0;
}

.map-embed iframe {
  border: 0;
  display: block;
  height: 100%;
  min-height: 210px;
  width: 100%;
}

.contact-data {
  align-self: center;
  color: rgba(226, 228, 224, .75);
  font-size: 1.7rem;
}

.contact-data h1 {
  color: rgba(226, 228, 224, .86);
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 1rem;
}


.site-footer {
  color: #f3f3f0;
  font-size: .9rem;
  padding: 0 1rem 2rem;
  text-align: center;
}

.site-footer a {
  text-decoration: underline;
}

.page-hero,
.section,
.split-section,
.form-panel {
  margin: 0 auto;
  max-width: var(--max);
  padding: 5rem 1.25rem;
}

.button {
  border: 1px solid var(--line);
  color: var(--text);
  display: inline-flex;
  padding: .85rem 1rem;
  text-decoration: none;
}

.request-form {
  border: 1px solid var(--thin);
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.request-form fieldset {
  border: 1px solid var(--thin);
  margin: 0;
  padding: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.request-form label {
  display: grid;
  gap: .45rem;
}

.request-form input,
.request-form select,
.request-form textarea {
  background: rgba(0, 0, 0, .2);
  border: 1px solid var(--thin);
  color: var(--text);
  font: inherit;
  min-height: 46px;
  padding: .75rem;
  width: 100%;
}

.request-form .wide {
  grid-column: 1 / -1;
}

.checkbox-line {
  align-items: start;
  display: grid;
  gap: .7rem;
  grid-template-columns: auto 1fr;
}

.checkbox-line input {
  min-height: auto;
  width: auto;
}

.endpoint-note {
  border: 1px solid var(--thin);
  margin: 0;
  padding: .85rem 1rem;
}

@media (max-width: 920px) {
  .gift-letters,
  .clone-gallery-grid,
  .profile-head,
  .network-top,
  .partner-grid,
  .contact-grid,
  .success-top-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .success-top-grid img,
  .success-bottom-image {
    height: auto;
  }

  .gift-letters {
    gap: 2rem;
    max-width: 260px;
  }

  .gift-letter {
    min-height: 170px;
  }

  .gift-letter img {
    height: 160px;
  }

  .profile-buttons,
  .bottom-word-row {
    display: grid;
    gap: 1rem;
    justify-content: center;
  }
}
