.pro-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 8vw, 130px);
  padding-block: clamp(56px, 8vw, 120px);
  border-top: 1px solid var(--pro-rule);
}

.pro-story h2 {
  margin: 0;
  font-size: clamp(40px, 5.9vw, 88px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.075em;
}

.pro-story h2 em {
  font-family: var(--editorial-serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.065em;
}

.pro-story p {
  max-width: 42ch;
  margin: 22px 0 0;
  color: var(--pro-muted);
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.55;
}

.pro-story-details { margin: 0; }

.pro-story-details div {
  padding-block: 18px;
  border-bottom: 1px solid var(--pro-rule);
}

.pro-story-details div:first-child { padding-top: 4px; }
.pro-story-details dt { font-weight: 600; }

.pro-story-details dd {
  margin: 7px 0 0;
  color: var(--pro-muted);
  line-height: 1.45;
}

.pro-story .pro-story-lead {
  margin-top: 0;
  color: var(--pro-paper);
  font: 400 clamp(25px, 3.2vw, 48px)/1.13 var(--editorial-serif);
  letter-spacing: -.045em;
}

.pro-story-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 16px;
  text-underline-offset: .35em;
}

.pro-story-link:hover { color: var(--aqua); }

.pro-story-partners { align-items: center; }
.pro-story-partners .pro-button { justify-self: end; }

.pro-quote-trigger { margin-top: clamp(22px, 3vw, 36px); }

html:has(.pro-quote[open]) { overflow: hidden; }

.pro-quote {
  width: min(640px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid #454440;
  border-radius: 14px;
  background: #111;
  color: var(--pro-paper);
  overscroll-behavior: contain;
}

.pro-quote::backdrop { background: rgb(0 0 0 / .76); }
.pro-quote-panel { padding: clamp(18px, 5vw, 36px); }

.pro-quote-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  margin-bottom: 22px;
}

.pro-quote-heading h2 {
  margin: 0;
  font-size: clamp(30px, 6vw, 51px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -.065em;
}

.pro-quote-heading em { font-family: var(--editorial-serif); font-style: normal; font-weight: 400; }

.pro-quote-close {
  flex: 0 0 44px;
  height: 44px;
  margin: -3px -7px 0 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 1.55rem;
  line-height: 1;
}

.pro-quote-close:hover { background: #272727; }

.pro-quote-form fieldset {
  min-inline-size: 0;
  display: grid;
  gap: 16px;
  margin: 0;
  border: 0;
  padding: 0;
}

.pro-quote-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pro-quote-form label { display: grid; min-width: 0; gap: 7px; font-size: .9rem; font-weight: 600; }

.pro-quote-form :is(input:not([type="file"]), textarea) {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #565450;
  border-radius: 6px;
  background: #1b1b1b;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}

.pro-quote-form textarea { resize: vertical; min-height: 86px; }
.pro-quote-form :is(input, textarea)::placeholder { color: #a09e97; }

.pro-quote-form .pro-quote-pick {
  display: inline-flex;
  position: relative;
  min-height: 44px;
  align-items: center;
  padding-inline: 13px;
  border: 1px solid #565450;
  border-radius: 6px;
  cursor: pointer;
}

.pro-quote-pick:has(input:focus-visible) { outline: 2px solid var(--aqua); outline-offset: 4px; }
.pro-quote-form fieldset:disabled .pro-quote-pick { cursor: wait; opacity: .65; }
.pro-quote-attachments p, .pro-quote-privacy { color: var(--pro-muted); font-size: .85rem; line-height: 1.45; }
.pro-quote-attachments p { margin: 7px 0 0; }
.pro-quote-privacy { margin: 0; }
.pro-quote-privacy a { text-underline-offset: .2em; }
.pro-quote-files { margin: 7px 0 0; padding: 0; list-style: none; }

.pro-quote-files li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-inline: 4px;
  border-bottom: 1px solid var(--pro-rule);
  font-size: .85rem;
}

.pro-quote-files span { overflow-wrap: anywhere; }
.pro-quote-files button { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.pro-quote-form .pro-button { justify-self: start; }
.pro-quote-message { margin: 12px 0 0; line-height: 1.45; }
.pro-quote-message:empty { margin: 0; }
.pro-quote-message[data-error] { color: #ffb1a6; }
.pro-quote-success h3 { margin: 0; font-size: 1.25rem; }
.pro-quote-success p { margin: 9px 0 20px; color: var(--pro-muted); line-height: 1.5; }
.pro-quote-success strong { color: var(--pro-paper); white-space: nowrap; }

@media (max-width: 760px) {
  .pro-story { grid-template-columns: minmax(0, 1fr); }
  .pro-story-partners .pro-button { justify-self: start; }
}

@media (max-width: 520px) {
  .pro-quote-contact { grid-template-columns: minmax(0, 1fr); }
}
