/* Recent client stories: a private note with a visible, unpublished draft. */
.client-stories {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, .09);
  isolation: isolate;
}
.client-stories::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6% -15% 0;
  background: radial-gradient(ellipse at 21% 43%, rgba(52, 89, 153, .1), transparent 43%), radial-gradient(ellipse at 81% 70%, rgba(142, 48, 58, .065), transparent 40%);
  pointer-events: none;
}
.story-intro .eyebrow { color: #c3cddd; letter-spacing: .14em; }
.story-intro .eyebrow::before { background: linear-gradient(90deg, #e77980, #6e99dd); }
.story-intro h2 {
  margin: 20px 0 24px;
  font-size: clamp(43px, 5vw, 66px);
  font-weight: 700;
  letter-spacing: -.058em;
  line-height: 1.07;
}
.story-intro h2 > span {
  color: #b9cee9;
  background: linear-gradient(110deg, #f4f6fb 5%, #b5c8e0 45%, #7d9bd0 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.story-intro-copy { max-width: 390px; margin: 0 0 16px; color: #e0e6ef; font-size: 18px; line-height: 1.65; }
.story-invitation { max-width: 420px; margin: 0; color: #9ca8ba; font-size: 14px; line-height: 1.8; }
.story-preview {
  position: relative;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid rgba(164, 183, 211, .2);
  border-radius: 6px 23px 23px 23px;
  background: linear-gradient(130deg, rgba(22, 32, 47, .78), rgba(11, 16, 25, .94));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .05);
}
.story-preview::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: linear-gradient(#d1767e, #759bdd 60%, transparent); opacity: .8; }
.story-preview-top { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.story-preview-top > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #a9bbd3; font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.story-preview-top i { height: 5px; width: 5px; border: 1px solid #86a5d3; border-radius: 50%; }
.story-draft { padding: 3px 7px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 5px; color: #aeb8c7; font-size: 9px; letter-spacing: .03em; }
.story-quote-mark { height: 44px; margin: 20px 24px 0; color: #7398c8; font-family: Georgia, serif; font-size: 72px; line-height: 1; opacity: .68; }
.story-preview blockquote { min-height: 79px; max-height: 330px; margin: 0; padding: 0 26px; overflow: auto; color: #e3eaf4; font-family: var(--heading); font-size: clamp(17px, 1.8vw, 22px); font-weight: 500; line-height: 1.6; letter-spacing: -.02em; white-space: pre-wrap; overflow-wrap: anywhere; }
.story-preview-credit { display: flex; gap: 11px; align-items: flex-start; margin: 25px 26px 26px; }
.story-credit-line { flex: none; width: 22px; height: 1px; margin-top: 10px; background: linear-gradient(90deg, #d27883, #7c9ed2); }
.story-preview-credit > div { min-width: 0; display: grid; gap: 2px; }
.story-preview-credit strong { color: #dce5f2; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.story-preview-credit > div > span { color: #94a3b8; font-size: 11px; overflow-wrap: anywhere; }
.story-preview-footer { display: flex; align-items: center; gap: 9px; padding: 13px 25px; border-top: 1px solid rgba(255, 255, 255, .065); background: rgba(8, 12, 19, .4); color: #8c9bb0; font-size: 10px; }
.story-preview-footer img { flex: none; object-fit: contain; }
.story-preview-note { margin: 12px 2px 0; color: #8a96a8; font-size: 10px; line-height: 1.7; }
.story-panel { min-width: 0; padding: 30px; border: 1px solid rgba(163, 182, 211, .17); border-radius: 24px; background: linear-gradient(140deg, rgba(21, 28, 40, .8), rgba(11, 15, 23, .9)); box-shadow: 0 25px 75px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .04); }
.story-panel-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 23px; margin-bottom: 25px; border-bottom: 1px solid rgba(255, 255, 255, .075); }
.story-panel-symbol { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(147, 176, 221, .22); border-radius: 13px; color: #b8cce6; background: linear-gradient(135deg, rgba(181, 69, 81, .12), rgba(62, 111, 183, .15)); font-size: 24px; }
.story-panel-heading h3 { margin: 0 0 3px; color: #edf2f9; font-size: 19px; line-height: 1.4; letter-spacing: -.035em; }
.story-panel-heading p { margin: 0; color: #8f9db1; font-size: 11px; }
.story-identity-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.story-field { display: grid; min-width: 0; gap: 8px; }
.story-field > span { display: flex; gap: 8px; justify-content: space-between; align-items: baseline; color: #dae2ed; font-size: 11px; font-weight: 600; }
.story-field small { color: #7f8da2; font-size: 8px; font-weight: 400; }
.story-field input, .story-field textarea { min-width: 0; width: 100%; padding: 12px 13px; border: 1px solid rgba(169, 187, 213, .15); border-radius: 9px; outline: none; background: rgba(6, 10, 17, .55); color: #ecf1f8; font-size: 12px; line-height: 1.6; transition: border-color .2s, box-shadow .2s, background .2s; }
.story-field input { min-height: 46px; }
.story-field textarea { min-height: 143px; resize: vertical; }
.story-field input::placeholder, .story-field textarea::placeholder { color: #6f7e93; opacity: 1; }
.story-field input:hover, .story-field textarea:hover { border-color: rgba(169, 187, 213, .3); }
.story-field input:focus, .story-field textarea:focus { border-color: #759ed8; background: rgba(10, 17, 28, .9); box-shadow: 0 0 0 3px rgba(99, 145, 208, .13); }
.story-impacts { margin: 24px 0; padding: 0; border: 0; }
.story-impacts legend { display: flex; flex-wrap: wrap; gap: 5px 9px; padding: 0; margin-bottom: 11px; color: #d7dfeb; font-size: 11px; font-weight: 600; }
.story-impacts legend > span { color: #7e8da3; font-size: 9px; font-weight: 400; }
.story-impact-options { display: flex; flex-wrap: wrap; gap: 7px; }
.story-impact-options button { display: inline-flex; align-items: center; gap: 6px; min-height: 37px; padding: 7px 10px; border: 1px solid rgba(161, 183, 217, .16); border-radius: 7px; background: rgba(255, 255, 255, .025); color: #9fadc1; font-size: 10px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.story-impact-options button > span { width: 10px; color: #788da9; font-size: 13px; line-height: 1; }
.story-impact-options button:hover { color: #dce8f9; border-color: rgba(142, 180, 235, .4); background: rgba(95, 137, 195, .08); }
.story-impact-options button[aria-pressed="true"] { color: #dceaff; border-color: #6989b8; background: rgba(76, 118, 180, .2); }
.story-impact-options button[aria-pressed="true"] > span { color: #a1c4f3; transform: rotate(45deg); }
.story-writing-meta { display: flex; align-items: flex-start; gap: 15px; justify-content: space-between; margin-top: 8px; color: #7e8ea4; font-size: 9px; line-height: 1.65; }
.story-writing-meta > span:first-child { max-width: 285px; }
.story-writing-meta > span:last-child { flex: none; font-variant-numeric: tabular-nums; }
.story-consent { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0; color: #bdc9d9; font-size: 10px; line-height: 1.7; cursor: pointer; }
.story-consent input { width: 16px; height: 16px; flex: none; margin: 2px 0 0; accent-color: #648ecb; }
.story-consent small { display: block; margin-top: 3px; color: #7e8fa7; font-size: 9px; }
.story-submit { display: flex; width: 100%; min-height: 50px; padding: 13px 17px; gap: 16px; justify-content: space-between; align-items: center; border: 1px solid rgba(173, 193, 227, .36); border-radius: 9px; background: linear-gradient(110deg, #b9c9df, #ebeff7 60%, #b6cce9); color: #132137; box-shadow: 0 5px 19px rgba(70, 113, 172, .12), inset 0 1px rgba(255, 255, 255, .65); font-size: 12px; font-weight: 700; cursor: pointer; transition: filter .2s, transform .2s, box-shadow .2s; }
.story-submit > span:last-child { font-size: 20px; font-weight: 400; line-height: 1; }
.story-submit:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 9px 25px rgba(70, 113, 172, .2); }
.story-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.story-privacy-note { margin: 13px 0 0; color: #7f8fa5; font-size: 9px; line-height: 1.8; }
.story-privacy-note button { display: inline; padding: 0; border: 0; border-bottom: 1px solid rgba(143, 166, 196, .4); background: transparent; color: #aebfd7; font-size: inherit; cursor: pointer; }
.story-error { margin: 0 0 16px; padding: 12px 14px; border: 1px solid rgba(238, 126, 139, .4); border-radius: 9px; background: rgba(176, 43, 64, .1); color: #f1b2bb; font-size: 12px; line-height: 1.7; }
.story-success { padding: 32px 3px 40px; text-align: center; }
.story-success-icon { display: grid; place-items: center; width: 61px; height: 61px; margin: 0 auto 22px; border: 1px solid rgba(127, 174, 221, .4); border-radius: 50%; background: radial-gradient(circle at 30% 20%, rgba(140, 190, 244, .15), rgba(58, 100, 158, .04)); color: #c8e3ff; box-shadow: 0 0 30px rgba(86, 144, 207, .09); font-size: 25px; }
.story-success-eyebrow { display: block; margin-bottom: 12px; color: #94afd2; font-size: 9px; font-weight: 600; letter-spacing: .16em; }
.story-success h3 { margin: 0 0 14px; color: #edf3fc; font-size: 27px; line-height: 1.3; letter-spacing: -.04em; }
.story-success p { max-width: 350px; margin: auto; color: #98aac2; font-size: 13px; line-height: 1.8; }
.story-success button { margin-top: 26px; padding: 10px 14px; border: 1px solid rgba(151, 178, 216, .25); border-radius: 9px; background: rgba(89, 135, 197, .07); color: #b9cde8; font-size: 11px; cursor: pointer; }
.story-success button > span { margin-left: 12px; }
.client-stories [hidden] { display: none !important; }
.contact-beacon.is-at-client-story { pointer-events: none; opacity: 0; transform: translateY(16px); visibility: hidden; }
.client-stories button:focus-visible, .story-consent input:focus-visible, .story-error:focus-visible, .story-success:focus-visible { outline: 2px solid #a8c6f4; outline-offset: 4px; }
@media (min-width: 901px) { .story-intro { position: sticky; top: 135px; } }
@media (max-width: 1050px) { .client-stories { column-gap: 40px; } .story-panel { padding: 25px; } .story-identity-fields { grid-template-columns: 1fr; gap: 17px; } }
@media (max-width: 900px) { .client-stories { grid-template-columns: 1fr; gap: 35px; padding-top: 90px; padding-bottom: 90px; } .story-intro h2 { font-size: clamp(42px, 7.5vw, 64px); } .story-intro-copy, .story-invitation { max-width: 570px; } .story-preview { max-width: 600px; margin-top: 28px; } .story-preview blockquote { min-height: 60px; font-size: 20px; } .story-panel { max-width: 600px; width: 100%; } .story-identity-fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .client-stories { gap: 28px; padding-top: 75px; padding-bottom: 75px; } .story-intro .eyebrow { font-size: 9px; letter-spacing: .1em; } .story-intro h2 { margin-top: 19px; font-size: 45px; } .story-intro-copy { font-size: 16px; } .story-invitation { font-size: 12px; } .story-panel { padding: 23px 20px; border-radius: 18px; } .story-panel-heading { padding-bottom: 20px; margin-bottom: 22px; } .story-identity-fields { grid-template-columns: 1fr; gap: 18px; } .story-field > span { font-size: 12px; } .story-field input, .story-field textarea { font-size: 16px; } .story-field input { min-height: 48px; } .story-field textarea { min-height: 170px; font-size: 14px; } .story-impacts legend { font-size: 12px; } .story-impact-options button { font-size: 11px; min-height: 40px; } .story-writing-meta { gap: 8px; font-size: 8px; } .story-consent { font-size: 11px; } .story-consent small { font-size: 10px; } .story-privacy-note { font-size: 10px; } .story-preview-top { padding: 17px 20px 0; } .story-preview blockquote { padding-inline: 22px; font-size: 18px; } .story-quote-mark { margin-inline: 20px; } .story-preview-credit { margin-inline: 22px; } .story-preview-footer { padding-inline: 21px; } }
@media (max-width: 350px) { .story-intro h2 { font-size: 40px; } .story-panel { padding-inline: 16px; } .story-impact-options { gap: 6px; } .story-impact-options button { padding-inline: 8px; font-size: 10px; } .story-preview-top > span:first-child { font-size: 8px; letter-spacing: .08em; } .story-writing-meta { flex-wrap: wrap; } .story-writing-meta > span:last-child { margin-left: auto; } }
@media (max-width: 520px) { .story-field textarea { font-size: 16px; } .story-consent, .story-privacy-note { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .client-stories *, .client-stories *::before, .client-stories *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
