/* closing.css — the moodboard's door hanger, swinging on a brass knob. */

.closing {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 50px var(--gutter) 56px;
  background: radial-gradient(90% 50% at 50% 30%, #e6bcb0, var(--rose) 60%, var(--rose-2));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.closing::before {
  /* the knob the hanger hangs from */
  content: "";
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-4), var(--gold-2) 45%, var(--gold-1) 90%);
  box-shadow: 0 6px 14px rgba(80, 40, 30, 0.4);
  position: relative;
  z-index: 2;
}
.hanger {
  position: relative;
  width: min(62vw, 250px);
  margin-top: -32px;
  padding: 72px 18px 30px;
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(170deg, #fbf6ee, #efe2cf);
  border: 1px solid rgba(201, 154, 62, 0.6);
  box-shadow: 0 30px 50px -26px rgba(80, 30, 30, 0.6), inset 0 0 0 6px #fbf6ee, inset 0 0 0 7px rgba(201, 154, 62, 0.65);
  color: var(--wine);
  transform-origin: 50% 0;
}
.hanger__hole {
  position: absolute;
  top: 16px; left: 50%;
  width: 40px; height: 40px;
  margin-left: -20px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 0 0 2px var(--gold-2);
}
.hanger__top { font-family: var(--f-ui); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; }
.hanger__main { margin: 12px 0 4px; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 40px; line-height: 1; }
.hanger__rule { color: var(--gold-2); font-size: 14px; }
.hanger__date { margin-top: 4px; font-family: var(--f-ui); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.hanger__foot { margin-top: 4px; font-family: var(--f-display); font-style: italic; font-size: 18px; color: var(--ink-soft); }

.closing__script {
  margin-top: 12px;
  font-family: var(--f-script);
  font-size: clamp(54px, 15vw, 84px);
  line-height: 1.1;
  padding: 0 0.15em;
  text-shadow: 0 2px 20px rgba(120, 60, 50, 0.35);
}
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.closing__logo { width: min(64vw, 280px); margin-top: 18px; border-radius: 8px; box-shadow: 0 16px 34px -18px rgba(80, 30, 30, 0.6); }

/* studio credit: the last line of the page */
.credit {
  padding: 18px var(--gutter) max(22px, env(safe-area-inset-bottom));
  background: var(--rose-2);
  text-align: center;
}
.credit__link {
  display: inline-block;
  padding: 8px 6px;
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 243, 207, 0.55);
}
.credit__link:hover,
.credit__link:focus-visible { color: #fff; border-bottom-color: var(--gold-3); }
