
:is(.relaunch-page, .night-page) {
  --content-text: #53575b;
  --content-line: #c8cdd0;
  --content-accent: #30363b;
  --content-focus: #4b555e;
  --statement-font: Georgia, 'Times New Roman', serif;
}
.relaunch-page { background: #f2f3f3; }
:is(.relaunch-page, .night-page) .site-header {
  gap: 28px;
  background: #fafbfc;
  border-bottom-color: rgba(134, 145, 153, .23);
}
@media screen and (min-width: 1101px) {
  :is(.relaunch-page, .night-page) .main-nav { gap: clamp(13px, 1.5vw, 24px); }
  :is(.relaunch-page, .night-page) .main-nav a { white-space: nowrap; }
}
.relaunch-page .section-rail { gap: 11px; }
.relaunch-page .section-rail a span {
  top: 50%;
  right: 34px;
  transform: translateY(-50%);
  padding: 5px 9px;
  white-space: nowrap;
  letter-spacing: .025em;
  line-height: 1.5;
  color: #30363b;
  background: rgba(248, 250, 251, .96);
  border: 1px solid rgba(134, 145, 153, .25);
  pointer-events: none;
}
.relaunch-page .statement-heading,
.night-page .legal-overview .statement-heading,
.night-page .night-contact-copy h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.relaunch-page .statement-heading em {
  font-weight: 400;
  color: #64717b;
}
.relaunch-page .hero {
  background: radial-gradient(ellipse at 75% 38%, rgba(255,255,255,.9), transparent 56%),
    linear-gradient(180deg, #fff 0%, #f7f8f9 40%, #e0e3e6 100%);
}
.relaunch-page .hero h1.statement-heading {
  font-size: clamp(38px, 4.4vw, 67px);
  margin-top: 30px;
  line-height: 1.1;
  letter-spacing: -.055em;
  hyphens: none;
  text-wrap: balance;
}
.relaunch-page .hero h1 > span { color: #59636b; }
.relaunch-page .hero h1 em { color: #313b43; }
.relaunch-page .hero-description { max-width: 490px; }
.relaunch-page .hero-art { margin-left: 6px; }
.relaunch-page .hero-grid-lines { opacity: .5; }
.relaunch-page .hero-subtitle { font-size: clamp(18px, 1.55vw, 23px); }
.relaunch-page .metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
.relaunch-page .profile {
  background: linear-gradient(180deg, #e0e3e6 0%, #edf0f1 52%, #f6f7f7 100%);
}
.relaunch-page .profile h2.statement-heading,
.relaunch-page .section-intro h2.statement-heading,
:is(.relaunch-page, .night-page) .legal-overview h2.statement-heading {
  font-size: clamp(32px, 3.5vw, 49px);
}
.relaunch-page .profile h2.statement-heading { hyphens: none; text-wrap: balance; }
.relaunch-page .portrait-caption {
  font-family: var(--statement-font);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -.02em;
  color: #535e67;
}

.relaunch-page .profile-layout { align-items: start; }
.relaunch-page .portrait-column { padding: 0 14px 0 0; max-width: 435px; margin: 0; }
.relaunch-page .portrait-frame { background: #dbe0e4; box-shadow: 14px 16px 0 #d2d7dc; }
.relaunch-page .portrait-frame::after { display: none; }
.relaunch-page .portrait-frame img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: none; }
.relaunch-page .portrait-caption { margin: 32px 0 0; max-width: 390px; }
.relaunch-page .portrait-credit { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: #535e67; }
.relaunch-page .portrait-credit::before { content: ''; flex: 0 0 24px; height: 1px; background: currentColor; }
.relaunch-page .dimensions {
  background: linear-gradient(180deg, #f6f7f7 0%, #fff 27%, #fafafa 58%, #e4e6e8 100%);
  padding-bottom: 0;
}
.relaunch-page .dimensions .section-intro { align-items: flex-start; }
.portfolio-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 36px;
  margin: 55px 0 75px;
}
.portfolio-roles article {
  min-inline-size: 0;
  padding: 27px 0 33px;
  border-top: 1px solid var(--content-line);
}
.portfolio-roles article > span {
  font-size: .75rem;
  line-height: 1.6;
  letter-spacing: .08em;
  color: #626a70;
}
.portfolio-roles h3 {
  margin-top: 20px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.portfolio-roles p {
  margin-top: 16px;
  font-size: .9375rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.relaunch-page .approach { background: transparent; padding: 74px 0 90px; }
.relaunch-page .approach h3.statement-heading {
  font-size: clamp(37px, 4.15vw, 60px);
  margin: 26px 0;
}
.relaunch-page .approach-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.approach-steps li > span { flex: 0 0 auto; white-space: nowrap; }
.approach-steps li > div { flex: 1 1 auto; min-width: 0; }
.tone-bridge { height: clamp(45px, 5.5vw, 82px); }
.tone-bridge-to-dark { background: linear-gradient(180deg, #e4e6e8, #c6cacf 20%, #939aa1 48%, #656e76 73%, #3b4249); }
.relaunch-page .experience,
.night-page {
  --content-inverse: #edf0f2;
  --content-inverse-muted: #d7dde1;
  --content-inverse-line: #78818a;
  --content-inverse-focus: #dedede;
  --reference-surface: linear-gradient(165deg, #3b4249 0%, #414950 46%, #505961 100%);
  --reference-heading: #f1f3f3;
  --reference-emphasis: #d0d9df;
}
.relaunch-page .experience { background: var(--reference-surface); }
.relaunch-page .experience .statement-heading em { color: var(--reference-emphasis); }

.relaunch-page .project summary { grid-template-columns: minmax(0,1fr) 260px 31px; gap: 28px; }
.relaunch-page .project-signal-text strong { font-size: 24px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; hyphens: none; }
.relaunch-page .project-body { padding-left: 0; }
@media screen and (min-width: 681px) and (max-width: 1100px) {
  .relaunch-page .project summary { grid-template-columns: minmax(0,1fr) 240px 28px; gap: 20px; }
}
.tone-bridge-to-silver { background: linear-gradient(180deg, #505961, #737d85 30%, #a7afb5 66%, #ced3d7); }
.relaunch-page .qualifications {
  background: linear-gradient(180deg, #ced3d7 0%, #e6e9eb 34%, #f7f8f8 100%);
}
.relaunch-page .qualification-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 28px;
  border: 0;
  margin-bottom: 0;
}
.relaunch-page .qualification-list .credential {
  flex: 0 1 calc(25% - 21px);
  min-inline-size: 0;
  padding: 30px 0 34px;
  border: 0;
  border-top: 1px solid var(--content-line);
  text-align: center;
}
.relaunch-page .qualification-list .credential-logo { height: 96px; margin-bottom: 24px; justify-content: center; }
.relaunch-page .qualification-list .credential-logo img { width: auto; height: auto; max-width: min(100%, 150px); max-height: 76px; }
.relaunch-page .qualification-list .credential-logo img[alt="ISC2 CISSP"] { max-width: 76px; }
.relaunch-page .qualification-list .credential p {
  max-width: 30ch;
  min-height: 0;
  margin: 12px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.relaunch-page .qualification-list .credential > span { display: block; margin-top: 12px; font-size: .75rem; line-height: 1.65; }
.relaunch-page .qualification-note { margin-top: 28px; font-size: .875rem; line-height: 1.7; color: var(--content-text); }
.relaunch-page .publications {
  padding: 75px 0 95px;
  background: linear-gradient(180deg, #f7f8f8 0%, #fff 34%, #e5e8ea 100%);
}
.publication-list { --publication-columns: minmax(85px,.25fr) minmax(0,1fr) 32px; --publication-gap: 40px; margin-top: 42px; }
.publication { border-top: 1px solid var(--content-line); }
.publication:last-child { border-bottom: 1px solid var(--content-line); }
.publication > summary { list-style: none; cursor: pointer; }
.publication > summary::-webkit-details-marker { display: none; }
.publication-summary {
  display: grid;
  grid-template-columns: var(--publication-columns);
  gap: var(--publication-gap);
  align-items: center;
  margin: 0;
  padding: 34px 0;
  font: inherit;
}
.publication-meta, .publication-title, .publication-content { min-inline-size: 0; }
.publication-meta > span {
  display: block;
  font-size: .75rem;
  letter-spacing: .09em;
  line-height: 1.7;
  color: #626b73;
  overflow-wrap: anywhere;
}
.publication-meta time { display: block; margin-top: 14px; font-size: 1.1rem; color: #4b555e; }
.publication-title {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(27px,2.5vw,36px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.publication-toggle { width: 32px; height: 32px; border: 1px solid var(--content-line); border-radius: 50%; position: relative; color: var(--content-text); }
.publication-toggle::before, .publication-toggle::after { content: ''; position: absolute; width: 12px; height: 1px; left: 9px; top: 15px; background: currentColor; }
.publication-toggle::after { transform: rotate(90deg); }
.publication[open] .publication-toggle::after { transform: rotate(0); }
.publication-body { display: grid; grid-template-columns: var(--publication-columns); gap: var(--publication-gap); padding-bottom: 38px; }
.publication-content { grid-column: 2; }
.publication-content > p { max-width: 690px; font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; hyphens: auto; }
.publication-content > p + p { margin-top: 18px; }
.publication-content blockquote { margin: 0 0 24px; padding-left: 20px; border-left: 1px solid var(--content-line); }
.publication-content blockquote p { font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; line-height: 1.5; }
.publication-content blockquote cite { display: block; margin-top: 10px; font-size: .75rem; line-height: 1.7; font-style: normal; color: #626b73; }
.publication-facts { display: flex; flex-wrap: wrap; gap: 20px 36px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--content-line); }
.publication-facts > div { flex: 1 1 190px; min-inline-size: 0; }
.publication-facts dt { font-size: .6875rem; line-height: 1.7; letter-spacing: .08em; text-transform: uppercase; color: #626b73; }
.publication-facts dd { margin: 6px 0 0; font-size: .875rem; line-height: 1.7; overflow-wrap: anywhere; }
.publication .text-link { margin-top: 22px; font-size: .875rem; min-height: 44px; }
.publication-content > .publication-link-note { margin-top: 22px; }
.publication-link-note .text-link { display: inline; min-height: 0; margin: 0; line-height: inherit; font-size: inherit; overflow-wrap: anywhere; }
.relaunch-page .contact {
  --content-text: #30363b;
  background: linear-gradient(180deg, #e5e8ea 0%, #c7c9c8 15%, #adb2b1 38%, #9fa5a4 64%, #bcc3c7 90%, #c9cfd4 100%);
}
.relaunch-page .contact .statement-heading em { color: #46525b; }
.relaunch-page .contact-intro { display: grid; grid-template-columns: minmax(0,1fr); gap: 7%; align-items: start; }
.relaunch-page .contact h2.statement-heading { font-size: clamp(34px,4.1vw,56px); }
.night-page .night-contact-copy h2 { font-size: clamp(32px,3.5vw,49px); }
.relaunch-page .contact-intro > div { max-width: 380px; margin: 0; padding: 0; }
.relaunch-page .contact-form { background: linear-gradient(145deg, rgba(250,251,252,.94), rgba(224,229,233,.94)); border-color: #b9c1c8; }
.relaunch-page .contact-grid-lines { opacity: .4; }
:is(.relaunch-page, .night-page) .legal-overview { padding: 72px 0 65px; background: linear-gradient(180deg, #c9cfd4 0%, #e3e7ea 44%, #f2f3f3 100%); }
.legal-overview-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 7%; align-items: start; }
.legal-texts { min-inline-size: 0; max-width: 90ch; margin: 0; }
.legal-inline-section + .legal-inline-section { border-top: 1px solid #b6bfc6; padding-top: 22px; margin-top: 26px; }
.legal-inline-section h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.375rem; font-weight: 400; line-height: 1.3; margin: 0 0 16px; letter-spacing: -.03em; overflow-wrap: anywhere; }
.legal-inline-section p { font-size: .8125rem; line-height: 1.4; margin: 0 0 12px; overflow-wrap: anywhere; hyphens: auto; }
.legal-dialog p { font-size: .8125rem; line-height: 1.4; margin-top: 12px; }
.legal-inline-section strong { font-weight: 600; }
.legal-inline-section > .content-block { margin-inline-start: 0; }
.legal-privacy { border-top: 1px solid #b6bfc6; padding-top: 26px; margin-top: 32px; }
.legal-privacy-identity { width: 62%; margin-inline-start: 38%; }
.legal-privacy-identity > p:last-child { margin-bottom: 0; }
.legal-privacy > .content-block { width: 62%; margin-inline-start: 38%; margin-top: 18px; }
@media screen and (max-width: 900px) {
  .legal-privacy-identity, .legal-privacy > .content-block { width: 100%; margin-inline-start: 0; }
}

.legal-disclosure { margin-top: 18px; }
.legal-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; border-top: 1px solid var(--content-line); border-bottom: 1px solid var(--content-line); font-size: .8125rem; line-height: 1.4; list-style: none; cursor: pointer; }
.legal-disclosure summary > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.legal-disclosure summary::-webkit-details-marker { display: none; }
.legal-disclosure summary::marker { content: ""; }
.legal-disclosure summary:focus-visible { outline: 2px solid var(--content-accent); outline-offset: 4px; }
.legal-disclosure-toggle { display: grid; place-items: center; flex: 0 0 44px; min-height: 44px; font-size: 1.5rem; line-height: 1; }
.legal-disclosure-toggle::before { content: "+"; }
.legal-disclosure[open] .legal-disclosure-toggle::before { content: "−"; }
.legal-disclosure-content { padding-top: 22px; }

.legal-inline-section a { text-decoration: underline; text-underline-offset: 4px; }
:is(.relaunch-page, .night-page) .site-footer { background: #f2f3f3; }
.site-footer .footer-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: end; gap: 14px; }
.site-footer .footer-identity { display: contents; }
.site-footer .footer-logo { grid-column: 1; grid-row: 1; align-items: flex-end; align-self: end; }
.site-footer .footer-identity > span { grid-column: 2; grid-row: 1; }
.site-footer .footer-inner > p:nth-child(2) { grid-column: 3; grid-row: 1; margin: 0; }
.relaunch-page .contact-bottom { justify-content: flex-end; }
.captcha-preview-note { font-size: .75rem; line-height: 1.65; margin: 14px 0 22px; color: var(--content-text); }
.night-page .captcha-preview-note { color: var(--content-inverse-muted); }

.contact-form .captcha-box { min-inline-size: 0; max-inline-size: 100%; }
.contact-form .captcha-box legend { max-inline-size: 100%; white-space: normal; overflow-wrap: anywhere; }
.contact-form .captcha-box p { overflow-wrap: anywhere; }
.contact-form .captcha-option { min-inline-size: max(48px, 1.8em); min-block-size: max(48px, 1.8em); }
.contact-form button[type=submit]:disabled { opacity: .55; cursor: not-allowed; transform: none; }
@media screen and (max-width: 900px) {
  .portfolio-roles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
  .publication-list { --publication-columns: 85px minmax(0,1fr) 32px; --publication-gap: 25px; }
  .legal-overview-content { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .relaunch-page .contact-intro { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .relaunch-page .contact-intro > div { max-width: 550px; }
}
@media screen and (max-width: 680px) {
  .site-footer .footer-inner { grid-template-columns: auto minmax(0,1fr); row-gap: 3px; }
  .site-footer .footer-logo { grid-row: 1 / span 2; }
  .site-footer .footer-inner > p:nth-child(2) { grid-column: 2; grid-row: 2; }
  .relaunch-page .metrics { grid-template-columns: minmax(0,1fr); gap: 0; }
  .relaunch-page .metric { padding: 24px 0; border-left: 0; border-top: 1px solid var(--content-line); }
  .relaunch-page .metric:first-child { border-top: 0; }
  .relaunch-page .metric p, .relaunch-page .metric small { max-width: none; }
  .relaunch-page .hero h1.statement-heading { font-size: clamp(28px,8.3vw,50px); line-height: 1.14; letter-spacing: -.045em; margin-top: 27px; }
  .relaunch-page .hero-art { margin-left: 0; }
  .relaunch-page .profile h2.statement-heading,
  .relaunch-page .section-intro h2.statement-heading,
  :is(.relaunch-page, .night-page) .legal-overview h2.statement-heading,
  .relaunch-page .approach h3.statement-heading { font-size: clamp(29px,7.5vw,39px); }
  .relaunch-page .contact h2.statement-heading,
  .night-page .night-contact-copy h2 { font-size: clamp(30px,7.8vw,41px); }
  .relaunch-page .profile-layout { flex-direction: column; gap: 28px; align-items: stretch; }
  .relaunch-page .portrait-column { width: 100%; max-width: 360px; margin: 0; }
  .relaunch-page .portrait-caption { margin-top: 28px; }
  .portfolio-roles { grid-template-columns: minmax(0,1fr); margin: 35px 0 45px; }
  .portfolio-roles article { padding: 25px 0 28px; }
  .portfolio-roles h3 { font-size: 1.6rem; margin-top: 15px; }
  .relaunch-page .project summary { grid-template-columns: minmax(0,1fr) 28px; gap: 16px 20px; }
  .relaunch-page .project-heading { grid-column: 1; grid-row: 1; }
  .relaunch-page .project-signal { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .relaunch-page .project-toggle { grid-column: 2; grid-row: 1; margin-top: 25px; }
  .relaunch-page .project-body { padding-left: 0; }
  .relaunch-page .approach { padding: 46px 0 55px; }
  .relaunch-page .publications { padding: 45px 0 55px; }
  .publication-list { --publication-columns: minmax(0,1fr) 32px; --publication-gap: 16px; }
  .publication-summary { padding: 26px 0; row-gap: 14px; }
  .publication-meta { grid-column: 1/-1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .publication-meta time { margin: 0; font-size: .875rem; }
  .publication-title { grid-column: 1; font-size: 27px; }
  .publication-toggle { grid-column: 2; }
  .publication-content { grid-column: 1/-1; }
  .publication-body { padding-bottom: 30px; }
  .publication-content blockquote { padding-left: 16px; }
  .publication-list { margin-top: 28px; }
  .legal-overview-content { grid-template-columns: minmax(0,1fr); gap: 25px; }
  :is(.relaunch-page, .night-page) .legal-overview { padding: 45px 0; }
}
.technology-portraits {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,2fr);
  gap: 14px;
  align-items: start;
  max-width: 450px;
  margin-top: 28px;
}
.technology-portrait { margin: 0; min-inline-size: 0; }
.technology-portrait img { display: block; width: 100%; height: auto; }
@media screen and (max-width: 1100px) {
  .relaunch-page .qualification-list .credential { flex-basis: calc(33.333333% - 18.666667px); }
}
@media screen and (max-width: 800px) {
  .relaunch-page .qualification-list .credential { flex-basis: calc(50% - 14px); }
}
@media screen and (max-width: 520px) {
  .contact-form .captcha-options { display: grid; grid-template-columns: repeat(2, max-content); }
  .technology-portraits { gap: 12px; margin-top: 24px; }
  .relaunch-page .qualification-list .credential { flex-basis: 100%; }
}
@media print {
  .tone-bridge { display: none; }
  :is(.relaunch-page, .night-page) .legal-overview { display: block; padding: 20pt 0; background: white; }
  .legal-overview-content { display: block; }
  .legal-texts { max-width: none; margin-top: 20pt; }
  .legal-inline-section h3 { font-size: 17pt; }
  .legal-inline-section p { font-size: 8pt; line-height: 1.35; }
  .relaunch-page .qualification-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15pt; break-inside: auto; }
  .relaunch-page .qualification-list .credential { border: 0!important; border-top: 1px solid #ccc!important; padding: 12pt 0!important; break-inside: avoid; }
    .relaunch-page .qualification-list .credential p { font-size: 8pt; }
  .relaunch-page .project summary { grid-template-columns: minmax(0,1fr) 100pt; gap: 15pt; }
  .relaunch-page .project-body { padding-left: 0; }
  .relaunch-page .statement-heading { color: #111!important; font-size: 27pt!important; }
  .relaunch-page .statement-heading em { color: #444!important; }
  .portfolio-roles { display: block; margin: 15pt 0; }
  .portfolio-roles article { padding: 10pt 0; break-inside: avoid; }
  .portfolio-roles h3 { font-size: 14pt; margin: 5pt 0; }
  .portfolio-roles p { font-size: 9pt; margin-top: 5pt; }
  .publications { background: white!important; padding: 20pt 0!important; }
  .publication-list { --publication-columns: 55pt minmax(0,1fr) 0; --publication-gap: 15pt; }
  .publication { break-inside: avoid; }
  .publication-summary { padding: 15pt 0; }
  .publication-title { font-size: 16pt; }
  .publication-content > p { font-size: 9pt; }
  .publication-toggle { display: none; }
}

@media screen {
  .night-page :is(.site-header, .legal-overview, .site-footer) {
    color: var(--content-text);
    color-scheme: light;
    --content-inverse-focus: var(--content-focus);
  }
  .night-page :is(.site-header, .legal-overview, .site-footer) ::selection { background: var(--content-accent); color: #fff; }
  .night-page .reading-progress span { background: var(--content-accent); }
  .night-page .night-content { position: relative; background: var(--reference-surface); }
  .night-page :is(.night-bridge, .night-contact) { background: transparent; }
  .night-page :is(.lost-hero h1, .night-bridge h2, .night-contact h2, .form-draft h3) { color: var(--reference-heading); }
  .night-page :is(.lost-hero h1 em, .night-bridge h2 em, .night-contact h2 em) { color: var(--reference-emphasis); }
  .night-page :is(.night-form-surface, .form-draft) { background: var(--reference-surface); border-color: var(--content-inverse-line); }
  .night-page :is(.night-contact-top, .additional-contact) { border-color: var(--content-inverse-line); }
  .night-page :is(.form-field input, .form-field select, .form-field textarea, .form-draft textarea) {
    background: #3b4249;
    color: var(--content-inverse);
    border-color: var(--content-inverse-line);
  }
  .night-page :is(.form-field input, .form-field select, .form-field textarea, .form-draft textarea):focus { background: #414950; }
  .night-page .contact-form .captcha-box {
    --border: var(--content-inverse-line);
    --text-muted: var(--content-inverse-muted);
    --text-soft: var(--content-inverse);
    --accent: var(--content-accent);
    --success: var(--content-inverse);
    --error: #f1c2b7;
    background: var(--reference-surface);
  }
  .night-page .contact-form .form-group-legend { background: transparent; }
  .night-page .contact-form .captcha-option,
  .night-page .contact-form .captcha-option:is(:hover, .selected, .correct, .wrong) { background: var(--content-inverse); }
}

@media screen {
  .relaunch-page .contact h2.statement-heading,
  .night-page .night-contact-copy h2 { container-type: inline-size; }
  .relaunch-page .contact h2.statement-heading em,
  .night-page .night-contact-copy h2 em {
    font-size: min(1em, 9cqi);
    white-space: nowrap;
    hyphens: none;
  }
}

@media screen {
  :is(.relaunch-page, .night-page) .contact-form {
    --form-action-gradient: linear-gradient(145deg, #b8c0c6 0%, #d2d8dd 58%, #ebedef 100%);
    --form-action-text: #30363b;
    --form-action-muted: #414c54;
    --form-action-line: #7a8790;
  }
  :is(.relaunch-page, .night-page) .contact-form .optional-contact,
  :is(.relaunch-page, .night-page) .contact-form .captcha-box,
  :is(.relaunch-page, .night-page) .contact-form button[type=submit] {
    background: var(--form-action-gradient);
    color: var(--form-action-text);
    border-color: var(--form-action-line);
  }
  :is(.relaunch-page, .night-page) .contact-form .optional-contact :is(summary, .form-field label) {
    color: var(--form-action-text);
  }
  :is(.relaunch-page, .night-page) .contact-form .optional-contact summary > span,
  :is(.relaunch-page, .night-page) .contact-form .optional-contact > p {
    color: var(--form-action-muted);
  }
  :is(.relaunch-page, .night-page) .contact-form .optional-contact summary > i {
    border-color: var(--form-action-muted);
  }
  :is(.relaunch-page, .night-page) .contact-form .optional-contact .form-field :is(input, select, textarea) {
    background: #f3f5f6;
    color: #30363b;
    border-color: #a5afb5;
  }
  :is(.relaunch-page, .night-page) .contact-form .optional-contact .form-field :is(input, select, textarea):focus {
    background: #fff;
    color: #30363b;
  }
  :is(.relaunch-page, .night-page) .contact-form .captcha-box {
    --border: var(--form-action-line);
    --text-muted: var(--form-action-muted);
    --text-soft: var(--form-action-text);
    --accent: #30363b;
    --success: #254d3c;
    --error: #80352c;
  }
  :is(.relaunch-page, .night-page) .contact-form .captcha-box .form-group-legend {
    background: var(--form-action-gradient);
    color: var(--form-action-text);
    padding-inline: .65rem;
  }
  :is(.relaunch-page, .night-page) .contact-form .captcha-option {
    background: #f4f6f7;
  }
  :is(.relaunch-page, .night-page) .contact-form .captcha-option:is(:hover, .selected, .correct, .wrong) {
    background: #fff;
  }
  :is(.relaunch-page, .night-page) .contact-form button[type=submit]:hover:not(:disabled) {
    background: linear-gradient(145deg, #c4ccd2 0%, #dfe4e8 58%, #f3f5f6 100%);
  }
  :is(.relaunch-page, .night-page) .contact-form button[type=submit]:disabled {
    opacity: 1;
    color: #5e686f;
  }
  :is(.relaunch-page, .night-page) .contact-form .optional-contact summary:focus-visible,
  :is(.relaunch-page, .night-page) .contact-form .captcha-option:focus-visible {
    outline-color: #303b43;
    outline-offset: -4px;
  }
}
