/* Partner Collection: collection.html, collection-*.html, collection-posts.html
   Generated pages; see tools/collection/README.md. */

body.pc-body {
  background: #F4F1EB;
}

.pc {
  --pc-page: #F4F1EB;
  --pc-stage: #F8F7F3;            /* the partner photos' studio background */
  --pc-ink: #1F1D1A;
  --pc-text: #4A463F;
  --pc-muted: #857F75;
  --pc-line: #E1DBD0;
  --pc-num: #D8D0C2;
  --pc-accent: #FDA12B;
  --pc-navy: #182333;
  --pc-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --pc-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  background: var(--pc-page);
  color: var(--pc-text);
  font-family: var(--pc-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}

.pc [hidden] { display: none !important; }

.pc-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.pc h1, .pc h2, .pc h3 {
  font-family: var(--pc-serif);
  color: var(--pc-ink);
  font-weight: 400;
  letter-spacing: .005em;
}

.pc a { color: var(--pc-ink); }

.pc-eyebrow {
  display: block;
  font-family: var(--pc-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pc-muted);
  margin: 0 0 14px;
}

.pc-h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; margin: 0 0 18px; }
.pc-h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05; margin: 0; }

.pc button:focus-visible,
.pc a:focus-visible {
  outline: 2px solid var(--pc-accent);
  outline-offset: 3px;
}

/* ------------------------------------------------------------ hero */

.pc-hero {
  position: relative;
  min-height: clamp(440px, 76vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #2A2620;
}

.pc-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 18, 13, 0) 0%, rgba(22, 18, 13, .14) 34%, rgba(22, 18, 13, .44) 64%, rgba(22, 18, 13, .74) 100%);
}

.pc-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(36px, 7vh, 76px);
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .22);
}

.pc-crumbs {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .86);
  margin: 0 0 18px;
}

.pc-crumbs a {
  color: inherit !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
}

.pc-crumbs span { margin: 0 12px; opacity: .6; }

.pc .pc-display {
  font-family: var(--pc-serif);
  font-weight: 300;
  font-size: clamp(60px, 10.5vw, 148px);
  line-height: .92;
  letter-spacing: -.005em;
  color: #fff;
  margin: 0 0 18px;
}

.pc-hero--landing .pc-display { font-size: clamp(52px, 8.4vw, 124px); }

.pc-lead {
  max-width: 580px;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .93);
  margin: 0 0 12px;
}

.pc-meta {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  margin: 0;
}

/* split hero: for collections without wide room photos */
.pc-hero--split { min-height: 0; display: block; background: var(--pc-page); overflow: visible; }
.pc-hero--split::after { display: none; }

.pc-split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(24px, 4vw, 56px);
}

.pc-hero--split .pc-crumbs { color: var(--pc-muted); text-shadow: none; }
.pc-hero--split .pc-crumbs a { color: var(--pc-ink) !important; border-bottom-color: var(--pc-line); }
.pc-hero--split .pc-display { color: var(--pc-ink); }
.pc-hero--split .pc-lead { color: var(--pc-text); }
.pc-hero--split .pc-meta { color: var(--pc-muted); }
.pc-split-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--pc-stage); }
.pc-split-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* four product shots instead of a room photo */
.pc-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: transparent; }
.pc-grid-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 9%;
  background: var(--pc-stage);
  overflow: hidden;
}
.pc .pc-grid-cell img {
  position: static;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: none;
}

/* ------------------------------------------------------------ intro + index */

.pc-intro { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 88px); }

.pc-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}

.pc-intro-text { margin: 0; max-width: 540px; font-size: 18px; }

.pc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 44px 0 32px;
}

.pc-chip {
  font: 400 14px/1 var(--pc-sans);
  letter-spacing: .04em;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--pc-line);
  background: transparent;
  color: var(--pc-ink);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.pc-chip span { color: var(--pc-muted); margin-left: 6px; }
.pc-chip:hover { border-color: var(--pc-ink); }
.pc-chip.is-on { background: var(--pc-ink); border-color: var(--pc-ink); color: #fff; }
.pc-chip.is-on span { color: rgba(255, 255, 255, .62); }

.pc-index {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 30px 20px;
}

.pc-tile a { display: block; text-decoration: none; color: inherit; }

.pc-tile-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--pc-stage);
  padding: 10px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.pc-tile-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pc-tile a:hover .pc-tile-img { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(31, 29, 26, .35); }

.pc-tile-no {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--pc-muted);
}

.pc-tile-name {
  display: block;
  font-family: var(--pc-serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--pc-ink);
  margin-top: 3px;
}

.pc-empty { margin: 24px 0 0; color: var(--pc-muted); }

/* ------------------------------------------------------------ model sections */

.pc-model {
  padding: clamp(56px, 7.5vw, 104px) 0;
  border-top: 1px solid var(--pc-line);
  scroll-margin-top: 90px;
}

.pc-model-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.pc-model.is-flip .pc-model-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pc-model.is-flip .pc-gallery { order: 2; }

.pc-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--pc-stage);
  border: 0;
  padding: clamp(12px, 3vw, 44px);
  cursor: zoom-in;
  overflow: hidden;
}

.pc-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity .25s ease;
}

.pc-stage.is-room { padding: 0; }
.pc-stage.is-room img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.pc-stage.is-loading img { opacity: .35; }

.pc-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.pc-thumb {
  width: 68px;
  height: 51px;
  padding: 4px;
  border: 1px solid transparent;
  background: var(--pc-stage);
  cursor: pointer;
  opacity: .72;
  transition: opacity .2s, border-color .2s;
}

.pc-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pc-thumb.is-room { padding: 0; }
.pc-thumb.is-room img { object-fit: cover; }
.pc-thumb:hover { opacity: 1; }
.pc-thumb.is-on { opacity: 1; border-color: var(--pc-ink); }

.pc-num {
  font-family: var(--pc-serif);
  font-weight: 300;
  font-variant-numeric: lining-nums;
  font-size: clamp(76px, 8vw, 124px);
  line-height: .78;
  color: var(--pc-num);
  margin: 0 0 22px;
}

.pc .pc-name { font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; line-height: 1.04; margin: 0 0 16px; }
.pc-summary { font-size: 18px; color: var(--pc-text); margin: 0 0 24px; }

.pc-details { list-style: none; padding: 0; margin: 0 0 26px; border-top: 1px solid var(--pc-line); }
.pc-details li { padding: 10px 0; border-bottom: 1px solid var(--pc-line); font-size: 15px; line-height: 1.5; }

.pc-shown { margin-bottom: 30px; }

.pc-shown-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--pc-muted);
  margin-bottom: 10px;
}

.pc-shown ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pc-shown li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

.pc-shown i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
  flex: none;
}

.pc .pc-ask {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--pc-navy);
  color: #fff;
  text-decoration: none;
  padding: 16px 26px;
  font: 500 13px/1 var(--pc-sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .25s ease;
}

.pc .pc-ask:hover { background: #0E1622; color: #fff; }
.pc-ask i { color: var(--pc-accent); font-size: 15px; }

.pc-photos { margin: 14px 0 0; font-size: 13px; color: var(--pc-muted); }
.pc-more { font-size: 16px; line-height: 1.6; margin: 0 0 28px; padding-top: 18px; border-top: 1px solid var(--pc-line); }

/* ------------------------------------------------------------ breaks, end, disclaimer */

.pc-break { margin: 0; height: clamp(300px, 72vh, 860px); overflow: hidden; background: #2A2620; }
.pc-break img { display: block; width: 100%; height: 100%; object-fit: cover; }

.pc-end {
  text-align: center;
  padding: clamp(64px, 9vw, 128px) 0;
  border-top: 1px solid var(--pc-line);
}

.pc-end p:not(.pc-eyebrow) { max-width: 560px; margin: 16px auto 30px; font-size: 18px; }
.pc .pc-link { display: inline-block; margin-top: 20px; color: var(--pc-ink); text-underline-offset: 4px; }
.pc-end .pc-link { display: block; }

.pc-disclaimer { border-top: 1px solid var(--pc-line); padding: 40px 0 72px; }
.pc-disclaimer p:last-child { max-width: 880px; font-size: 15px; line-height: 1.7; color: var(--pc-text); margin: 0; }
.pc-disclaimer strong { font-weight: 500; color: var(--pc-ink); }

/* ------------------------------------------------------------ lightbox */

.pc-lb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--pc-stage);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 88px 84px;
}

.pc-lb-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }

.pc-lb-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 26px;
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pc-muted);
}

.pc-lb-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 1px solid var(--pc-line);
  border-radius: 50%;
  background: #fff;
  color: var(--pc-ink);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s;
}

.pc-lb-btn:hover { border-color: var(--pc-ink); }
.pc-lb-close { top: 18px; right: 18px; font-size: 30px; }
.pc-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.pc-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

body.pc-lb-open { overflow: hidden; }

/* ------------------------------------------------------------ landing */

.pc-cards-wrap { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }

.pc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 28px;
}

.pc .pc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow .35s ease;
}

.pc .pc-card:hover { box-shadow: 0 24px 48px -28px rgba(31, 29, 26, .4); }

.pc-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pc-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pc .pc-card:hover .pc-card-img img { transform: scale(1.03); }
.pc .pc-card-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; background: #fff; }
.pc .pc-card-grid .pc-grid-cell { padding: 8%; }

.pc-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 28px; }
.pc-card-title { display: block; font-family: var(--pc-serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.05; color: var(--pc-ink); margin-bottom: 12px; }
.pc-card-text { display: block; flex: 1; margin-bottom: 22px; font-size: 15px; line-height: 1.6; }

.pc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pc-ink);
}

.pc-card-link i { color: var(--pc-accent); }

.pc-soon-wrap { margin-top: 56px; }

.pc-soon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.pc-soon { border: 1px solid var(--pc-line); padding: 26px 24px 28px; }
.pc-soon .pc-eyebrow { font-size: 10px; margin-bottom: 10px; }
.pc-soon-title { display: block; font-family: var(--pc-serif); font-size: 30px; line-height: 1.1; color: var(--pc-ink); }

.pc-how { padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--pc-line); }
.pc-how .pc-h2 { max-width: 760px; }

.pc-steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.pc-step-no { display: block; font-family: var(--pc-serif); font-weight: 300; font-variant-numeric: lining-nums; font-size: 72px; line-height: .9; color: var(--pc-num); margin-bottom: 14px; }
.pc .pc-steps h3 { font-size: 30px; margin: 0 0 8px; }
.pc-steps p { margin: 0; max-width: 340px; }

/* ------------------------------------------------------------ posts page */

.pc-posts-head { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.pc-posts-sec { padding: 24px 0 64px; }

.pc-posts-sechead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.pc-posts-sechead .pc-link { margin-top: 0; }

.pc-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px 22px;
}

.pc-post { background: #fff; display: flex; flex-direction: column; }
.pc-post-img { display: block; aspect-ratio: 4 / 5; background: var(--pc-stage); }
.pc-post-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-post-body { padding: 16px 16px 18px; }
.pc-post-title { margin: 0 0 12px; font-family: var(--pc-serif); font-size: 22px; font-weight: 500; line-height: 1.2; color: var(--pc-ink); }
.pc-post-title span { display: block; font-family: var(--pc-sans); font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--pc-muted); margin-bottom: 4px; }
.pc-post-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.pc .pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--pc-navy);
  background: var(--pc-navy);
  color: #fff;
  font: 500 12px/1 var(--pc-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.pc .pc-btn:hover { background: #0E1622; color: #fff; }
.pc .pc-btn--quiet { background: transparent; color: var(--pc-navy); border-color: var(--pc-line); }
.pc .pc-btn--quiet:hover { background: transparent; color: var(--pc-navy); border-color: var(--pc-navy); }
.pc .pc-btn.is-done { background: #2F6B3F; border-color: #2F6B3F; color: #fff; }

.pc-post-cap { margin-top: 12px; font-size: 14px; }
.pc-post-cap summary { cursor: pointer; color: var(--pc-muted); }
.pc-post-cap pre {
  white-space: pre-wrap;
  font: 300 14px/1.55 var(--pc-sans);
  color: var(--pc-text);
  background: var(--pc-page);
  padding: 12px;
  margin: 10px 0 0;
}

/* ------------------------------------------------------------ smaller screens */

@media (max-width: 991.98px) {
  .pc-split { grid-template-columns: 1fr; }
  .pc-split-img { order: -1; aspect-ratio: 4 / 3; }
  .pc-intro-grid { grid-template-columns: 1fr; }
  .pc-model-inner { grid-template-columns: 1fr; gap: 28px; }
  .pc-model.is-flip .pc-model-inner { grid-template-columns: 1fr; }
  .pc-model.is-flip .pc-gallery { order: 0; }
  .pc-num { font-size: 64px; margin-bottom: 14px; }
  .pc-steps { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 575.98px) {
  .pc { font-size: 16px; }
  .pc-wrap { padding: 0 16px; }
  .pc-hero { min-height: 72vh; }
  .pc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .pc-tile-name { font-size: 18px; }
  .pc-chips { gap: 8px; margin: 32px 0 24px; }
  .pc-chip { padding: 10px 14px; font-size: 13px; }
  .pc-thumb { width: 60px; height: 45px; }
  .pc-summary, .pc-intro-text { font-size: 16px; }
  .pc-break { height: 56vh; }
  .pc-lb { padding: 64px 8px 120px; }
  .pc-lb-prev, .pc-lb-next { top: auto; bottom: 52px; transform: none; }
  .pc-lb-prev { left: calc(50% - 64px); }
  .pc-lb-next { right: calc(50% - 64px); }
  .pc-lb-cap { bottom: 16px; }
  .pc-post-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pc *, .pc *::before, .pc *::after { transition: none !important; }
}
