:root {
  color-scheme: dark light;
}

.concept-stage-header {
  position: relative;
  z-index: 220;
}

.site-header {
  z-index: 220;
}

.site-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.95rem, 1.6vw, 1.35rem);
  min-width: 0;
}

.concept-stage-header-closer .site-header-actions {
  position: relative;
  justify-content: center;
  gap: clamp(0.9rem, 1.4vw, 1.15rem);
  width: 100%;
}

.site-search {
  position: relative;
  z-index: 120;
  width: 2.2rem;
  flex: 0 1 2.2rem;
  margin: 0;
  color: rgba(21, 21, 21, 0.86);
  transition:
    width 180ms ease,
    flex-basis 180ms ease,
    max-width 180ms ease;
}

.concept-stage-header-closer .site-search {
  width: 2.2rem;
  flex-basis: 2.2rem;
}

.site-search:is(:hover, :focus-within, .is-open) {
  width: clamp(10.5rem, 15vw, 13.5rem);
  flex-basis: clamp(10.5rem, 15vw, 13.5rem);
}

.concept-stage-header-closer .site-search:is(:hover, :focus-within, .is-open) {
  width: clamp(7.8rem, 9.5vw, 9.4rem);
  flex-basis: clamp(7.8rem, 9.5vw, 9.4rem);
}

.site-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-search-control {
  position: relative;
}

.site-search-icon {
  position: absolute;
  top: 50%;
  left: 0.72rem;
  width: 0.62rem;
  height: 0.62rem;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  opacity: 0.72;
  pointer-events: none;
  transform: translateY(-58%);
}

.site-search-icon::after {
  content: "";
  position: absolute;
  right: -0.34rem;
  bottom: -0.28rem;
  width: 0.38rem;
  height: 1.6px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.site-search input {
  width: 100%;
  min-height: 2.05rem;
  padding: 0.5rem 0 0.5rem 1.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  caret-color: #151515;
  cursor: pointer;
  font: 700 0.72rem/1.2 "Manrope", sans-serif;
  letter-spacing: 0;
  outline: 0;
  box-shadow: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-search input::placeholder {
  color: transparent;
}

.site-search:is(:hover, :focus-within, .is-open) input {
  padding-right: 0.8rem;
  border-color: rgba(21, 21, 21, 0.11);
  background: rgba(255, 255, 255, 0.26);
  color: currentColor;
  cursor: text;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
}

.site-search:is(:hover, :focus-within, .is-open) input::placeholder {
  color: rgba(21, 21, 21, 0.46);
}

.site-search input:focus {
  border-color: rgba(200, 59, 57, 0.34);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(200, 59, 57, 0.08), 0 10px 26px rgba(0, 0, 0, 0.06);
}

.site-search-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(25rem, calc(100vw - 2rem));
  max-height: min(70vh, 30rem);
  overflow: auto;
  padding: 0.4rem;
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: 8px;
  background: rgba(247, 241, 231, 0.96);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.site-search-result {
  display: grid;
  gap: 0.28rem;
  padding: 0.82rem 0.9rem;
  border-radius: 6px;
  color: rgba(21, 21, 21, 0.88);
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.site-search-result + .site-search-result {
  margin-top: 0.15rem;
}

.site-search-result:hover,
.site-search-result:focus-visible,
.site-search-result.is-active {
  background: rgba(200, 59, 57, 0.09);
  color: #151515;
  transform: translateY(-1px);
}

.site-search-result:focus-visible {
  outline: 2px solid rgba(200, 59, 57, 0.32);
  outline-offset: 2px;
}

.site-search-result-type {
  color: #c83b39;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.site-search-result strong {
  font-size: 0.96rem;
  line-height: 1.25;
}

.site-search-result-summary {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(21, 21, 21, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.site-search-status {
  margin: 0;
  padding: 0.85rem 0.9rem;
  color: rgba(21, 21, 21, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.theme-toggle {
  --theme-toggle-y: 0;
  position: fixed;
  top: 1rem;
  right: 1rem;
  bottom: auto;
  left: auto;
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 241, 231, 0.28);
  color: #151515;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  font-size: 0;
  line-height: 0;
  transform: translateY(var(--theme-toggle-y));
  backdrop-filter: blur(12px);
  transition: color 180ms ease, opacity 180ms ease, background 180ms ease, transform 180ms ease;
}

@-moz-document url-prefix() {
  .site-search-panel,
  .theme-toggle {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.theme-toggle::before {
  content: none;
}

.theme-toggle-icon {
  width: 1.18rem;
  height: 1.18rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.theme-toggle-icon path:first-child:last-child {
  fill: currentColor;
  stroke: currentColor;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(var(--theme-toggle-y));
  opacity: 0.7;
}

.theme-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.35rem;
}

@media (min-width: 721px) {
  .site-header {
    padding-right: 3.5rem;
  }
}

html[data-theme="light"] .theme-toggle {
  color: #151515;
  background: rgba(247, 241, 231, 0.42);
}

html[data-theme="dark"] .theme-toggle {
  color: #f5f0e8;
  background: rgba(17, 17, 17, 0.58);
}

.page-contact .theme-toggle {
  opacity: 0.72;
}

@media (max-width: 560px) {
  .theme-toggle,
  .page-contact .theme-toggle {
    display: none !important;
    right: 0.5rem;
    bottom: 0.5rem;
    width: 2.35rem;
    height: 2.35rem;
    opacity: 0.64;
  }
}

html[data-theme="dark"] body {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f0e8;
  --muted: rgba(245, 240, 232, 0.68);
  background:
    radial-gradient(circle at top left, rgba(243, 201, 105, 0.1), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(67, 84, 131, 0.12), transparent 22%),
    linear-gradient(180deg, #090909 0%, #101010 48%, #060606 100%);
  color: var(--text);
}

html[data-theme="light"] body.concept-page-stage-closer {
  background:
    radial-gradient(circle at top left, rgba(155, 107, 29, 0.08), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(92, 104, 132, 0.08), transparent 20%),
    linear-gradient(180deg, #f5efe4 0%, #f2eadf 100%);
  color: #151515;
}

html[data-theme="light"] .concept-stage-nav-closer a {
  color: rgba(21, 21, 21, 0.84);
}

html[data-theme="light"] .concept-stage-eyebrow {
  color: #c83b39;
}

html[data-theme="light"] .concept-stage-headline {
  color: #151515;
}

html[data-theme="dark"] .concept-page-stage-closer {
  background:
    radial-gradient(circle at top left, rgba(243, 201, 105, 0.1), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(67, 84, 131, 0.12), transparent 22%),
    linear-gradient(180deg, #090909 0%, #101010 48%, #060606 100%);
  color: #f5f0e8;
}

html[data-theme="dark"] .concept-stage-nav-closer a,
html[data-theme="dark"] .concept-footnote p {
  color: rgba(245, 240, 232, 0.72);
}

html[data-theme="dark"] .concept-stage-eyebrow {
  color: #f04b48;
}

html[data-theme="dark"] .concept-stage-headline {
  color: #f5f0e8;
}

html[data-theme="dark"] .concept-stage-enter-closer {
  border-color: rgba(245, 240, 232, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f0e8;
}

html[data-theme="dark"] .concept-stage-enter-closer:hover,
html[data-theme="dark"] .concept-stage-enter-closer:focus-visible {
  border-color: rgba(243, 201, 105, 0.48);
  background: rgba(243, 201, 105, 0.1);
  color: #f5f0e8;
}

html[data-theme="dark"] .site-nav-standard a,
html[data-theme="dark"] .site-nav-center-nav a,
html[data-theme="dark"] .page-projects .site-nav-standard a,
html[data-theme="dark"] .page-services .site-nav-standard a,
html[data-theme="dark"] .page-about .site-nav-standard a,
html[data-theme="dark"] .page-404 .site-nav-standard a,
html[data-theme="dark"] .page-privacy .site-nav-standard a,
html[data-theme="dark"] .page-notes .site-nav-standard a,
html[data-theme="dark"] .page-project-detail .site-nav-standard a,
html[data-theme="dark"] .page-contact .site-nav-standard a {
  color: rgba(245, 240, 232, 0.86);
}

html[data-theme="dark"] .site-search {
  color: rgba(245, 240, 232, 0.88);
}

html[data-theme="dark"] .site-search input {
  border-color: transparent;
  background: transparent;
  caret-color: #f5f0e8;
  box-shadow: none;
}

html[data-theme="dark"] .site-search input::placeholder {
  color: transparent;
}

html[data-theme="dark"] .site-search:is(:hover, :focus-within, .is-open) input {
  border-color: rgba(245, 240, 232, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: currentColor;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .site-search:is(:hover, :focus-within, .is-open) input::placeholder {
  color: rgba(245, 240, 232, 0.44);
}

html[data-theme="dark"] .site-search input:focus {
  border-color: rgba(243, 201, 105, 0.42);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(243, 201, 105, 0.1), 0 18px 42px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .site-search-panel {
  border-color: rgba(245, 240, 232, 0.12);
  background: rgba(15, 15, 15, 0.94);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .site-search-result {
  color: rgba(245, 240, 232, 0.9);
}

html[data-theme="dark"] .site-search-result:hover,
html[data-theme="dark"] .site-search-result:focus-visible,
html[data-theme="dark"] .site-search-result.is-active {
  background: rgba(243, 201, 105, 0.1);
  color: #f5f0e8;
}

html[data-theme="dark"] .site-search-result-type {
  color: #f3c969;
}

html[data-theme="dark"] .site-search-result-summary,
html[data-theme="dark"] .site-search-status {
  color: rgba(245, 240, 232, 0.62);
}

html[data-theme="dark"] .site-footer p,
html[data-theme="dark"] .site-footnote p,
html[data-theme="dark"] .page-projects .site-footer p,
html[data-theme="dark"] .page-projects .page-hero-copy,
html[data-theme="dark"] .project-detail-summary,
html[data-theme="dark"] .page-project-detail .project-detail-summary,
html[data-theme="dark"] .page-project-detail .project-detail-copy p,
html[data-theme="dark"] .services-hero-copy p,
html[data-theme="dark"] .services-summary-copy p,
html[data-theme="dark"] .services-cta-copy p,
html[data-theme="dark"] .page-services .service-card p,
html[data-theme="dark"] .about-intro p,
html[data-theme="dark"] .about-hero-copy p,
html[data-theme="dark"] .about-hero-body p,
html[data-theme="dark"] .about-card p,
html[data-theme="dark"] .about-fact-card p,
html[data-theme="dark"] .about-summary-lead,
html[data-theme="dark"] .about-cta-copy p,
html[data-theme="dark"] .contact-panel p,
html[data-theme="dark"] .page-contact .contact-copy p,
html[data-theme="dark"] .page-contact .contact-note,
html[data-theme="dark"] .projects-filter-intro,
html[data-theme="dark"] .project-content p,
html[data-theme="dark"] .project-copy p,
html[data-theme="dark"] .gallery-copy p,
html[data-theme="dark"] .not-found-copy p,
html[data-theme="dark"] .legal-updated,
html[data-theme="dark"] .legal-section p,
html[data-theme="dark"] .legal-section li,
html[data-theme="dark"] .notes-results-label,
html[data-theme="dark"] .note-detail-title > p:not(.eyebrow):not(.article-detail-kicker),
html[data-theme="dark"] .note-section p,
html[data-theme="dark"] .notes-empty p {
  color: rgba(245, 240, 232, 0.68);
}

html[data-theme="dark"] .page-projects .site-nav a,
html[data-theme="dark"] .page-services .site-nav a,
html[data-theme="dark"] .page-projects .button-pill,
html[data-theme="dark"] .page-services .button-pill,
html[data-theme="dark"] .button-pill,
html[data-theme="dark"] .contact-link {
  border-color: rgba(245, 240, 232, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .about-summary-tags span {
  border-color: rgba(245, 240, 232, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 240, 232, 0.82);
}

html[data-theme="dark"] .about-summary-tags span.is-row-hovered {
  border-color: rgba(243, 201, 105, 0.45);
  background: rgba(243, 201, 105, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  color: rgba(245, 240, 232, 0.94);
}

html[data-theme="dark"] .page-contact .inquiry-panel,
html[data-theme="dark"] .page-services .inquiry-panel {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .page-contact .inquiry-panel-copy h2,
html[data-theme="dark"] .page-services .inquiry-panel-copy h2,
html[data-theme="dark"] .page-contact .inquiry-panel-copy p,
html[data-theme="dark"] .page-services .inquiry-panel-copy p,
html[data-theme="dark"] .page-contact .inquiry-form label span,
html[data-theme="dark"] .page-services .inquiry-form label span {
  color: rgba(245, 240, 232, 0.82);
}

html[data-theme="dark"] .page-contact .inquiry-status,
html[data-theme="dark"] .page-services .inquiry-status {
  background: rgba(243, 201, 105, 0.08);
  border-color: rgba(243, 201, 105, 0.18);
  color: rgba(245, 240, 232, 0.84);
}

html[data-theme="dark"] .page-contact .inquiry-status-error,
html[data-theme="dark"] .page-services .inquiry-status-error {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(245, 240, 232, 0.72);
}

html[data-theme="dark"] .page-contact .inquiry-form input,
html[data-theme="dark"] .page-contact .inquiry-form select,
html[data-theme="dark"] .page-contact .inquiry-form textarea,
html[data-theme="dark"] .page-services .inquiry-form input,
html[data-theme="dark"] .page-services .inquiry-form select,
html[data-theme="dark"] .page-services .inquiry-form textarea {
  border-color: rgba(245, 240, 232, 0.14);
  background: rgba(10, 10, 10, 0.6);
  color: #f5f0e8;
}

html[data-theme="dark"] .page-contact .inquiry-form input::placeholder,
html[data-theme="dark"] .page-contact .inquiry-form select::placeholder,
html[data-theme="dark"] .page-contact .inquiry-form textarea::placeholder,
html[data-theme="dark"] .page-services .inquiry-form input::placeholder,
html[data-theme="dark"] .page-services .inquiry-form select::placeholder,
html[data-theme="dark"] .page-services .inquiry-form textarea::placeholder {
  color: rgba(245, 240, 232, 0.42);
}

html[data-theme="dark"] .page-contact .inquiry-form input:focus,
html[data-theme="dark"] .page-contact .inquiry-form select:focus,
html[data-theme="dark"] .page-contact .inquiry-form textarea:focus,
html[data-theme="dark"] .page-services .inquiry-form input:focus,
html[data-theme="dark"] .page-services .inquiry-form select:focus,
html[data-theme="dark"] .page-services .inquiry-form textarea:focus {
  border-color: rgba(243, 201, 105, 0.55);
  box-shadow: 0 0 0 4px rgba(243, 201, 105, 0.12);
}

html[data-theme="dark"] .page-projects .site-nav a:hover,
html[data-theme="dark"] .page-projects .button-pill:hover,
html[data-theme="dark"] .page-projects .site-nav a.active,
html[data-theme="dark"] .site-nav a:hover,
html[data-theme="dark"] .contact-link:hover,
html[data-theme="dark"] .button-pill:hover,
html[data-theme="dark"] .site-nav a.active {
  border-color: rgba(243, 201, 105, 0.45);
  background: rgba(243, 201, 105, 0.1);
}

html[data-theme="dark"] .page-projects .site-nav-standard a:hover,
html[data-theme="dark"] .page-projects .site-nav-standard a.active,
html[data-theme="dark"] .page-services .site-nav-standard a:hover,
html[data-theme="dark"] .page-services .site-nav-standard a.active,
html[data-theme="dark"] .page-about .site-nav-standard a:hover,
html[data-theme="dark"] .page-about .site-nav-standard a.active,
html[data-theme="dark"] .page-404 .site-nav-standard a:hover,
html[data-theme="dark"] .page-404 .site-nav-standard a.active,
html[data-theme="dark"] .page-privacy .site-nav-standard a:hover,
html[data-theme="dark"] .page-privacy .site-nav-standard a.active,
html[data-theme="dark"] .page-notes .site-nav-standard a:hover,
html[data-theme="dark"] .page-notes .site-nav-standard a.active,
html[data-theme="dark"] .page-project-detail .site-nav-standard a:hover,
html[data-theme="dark"] .page-project-detail .site-nav-standard a.active,
html[data-theme="dark"] .page-contact .site-nav-standard a:hover,
html[data-theme="dark"] .page-contact .site-nav-standard a.active {
  background: transparent !important;
}

html[data-theme="dark"] .service-card,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .about-card,
html[data-theme="dark"] .services-summary-panel,
html[data-theme="dark"] .services-cta-panel,
html[data-theme="dark"] .about-hero-panel,
html[data-theme="dark"] .about-summary-panel,
html[data-theme="dark"] .about-cta-panel,
html[data-theme="dark"] .about-fact-card,
html[data-theme="dark"] .not-found-panel,
html[data-theme="dark"] .legal-panel,
html[data-theme="dark"] .legal-section,
html[data-theme="dark"] .notes-empty,
html[data-theme="dark"] .note-detail-meta,
html[data-theme="dark"] .note-article-content,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .project-preview-card,
html[data-theme="dark"] .project-detail-meta {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .filter-button,
html[data-theme="dark"] .gallery-switch,
html[data-theme="dark"] .project-detail-switch,
html[data-theme="dark"] .archive-line span,
html[data-theme="dark"] .project-tags li,
html[data-theme="dark"] .page-project-detail .project-tags li,
html[data-theme="dark"] .gallery-tags li,
html[data-theme="dark"] .note-tags li,
html[data-theme="dark"] .services-summary-tags span,
html[data-theme="dark"] .about-summary-tags span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 240, 232, 0.68);
}

html[data-theme="dark"] .filter-button:hover,
html[data-theme="dark"] .filter-button.is-active,
html[data-theme="dark"] .gallery-switch:hover,
html[data-theme="dark"] .gallery-switch.is-active,
html[data-theme="dark"] .project-detail-switch:hover,
html[data-theme="dark"] .project-detail-switch.is-active {
  border-color: rgba(255, 255, 255, 0.9);
  background: #f5efe4;
  color: #151515;
}

html[data-theme="dark"] .gallery-media,
html[data-theme="dark"] .project-detail-media {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .page-projects .eyebrow,
html[data-theme="dark"] .page-notes .eyebrow,
html[data-theme="dark"] .services-kicker,
html[data-theme="dark"] .contact-kicker,
html[data-theme="dark"] .page-contact .contact-copy .eyebrow,
html[data-theme="dark"] .about-fact-card span,
html[data-theme="dark"] .about-card span {
  color: var(--accent);
}

html[data-theme="dark"] .page-contact .contact-copy h1,
html[data-theme="dark"] .page-project-detail .project-detail-intro h1,
html[data-theme="dark"] .note-detail-title h1,
html[data-theme="dark"] .note-section h2,
html[data-theme="dark"] .notes-empty h1,
html[data-theme="dark"] .notes-empty h2,
html[data-theme="dark"] .gallery-card .project-index,
html[data-theme="dark"] .projects-filter-label,
html[data-theme="dark"] .page-services .service-card h3,
html[data-theme="dark"] .page-contact .service-card h3 {
  color: rgba(245, 240, 232, 0.86);
}

html[data-theme="dark"] .note-detail-meta dt,
html[data-theme="dark"] .note-detail-meta dd,
html[data-theme="dark"] .note-detail-rail a,
html[data-theme="dark"] .note-related-link,
html[data-theme="dark"] .article-detail-meta,
html[data-theme="dark"] .note-detail-rail .article-share-link,
html[data-theme="dark"] .note-lede,
html[data-theme="dark"] .note-callout {
  color: rgba(245, 240, 232, 0.68);
}

html[data-theme="dark"] .note-article-content {
  border-color: transparent;
  background: transparent;
}

html[data-theme="dark"] .note-detail-actions {
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .note-detail-actions .button-pill {
  color: rgba(245, 240, 232, 0.74);
}

html[data-theme="dark"] .note-detail-actions .button-pill:hover,
html[data-theme="dark"] .note-detail-actions .button-pill:focus-visible {
  color: rgba(245, 240, 232, 0.92);
}

html[data-theme="dark"] .note-detail-rail a,
html[data-theme="dark"] .note-related-link,
html[data-theme="dark"] .note-detail-meta div,
html[data-theme="dark"] .article-author-row,
html[data-theme="dark"] .article-author-avatar,
html[data-theme="dark"] .note-section,
html[data-theme="dark"] .note-lede,
html[data-theme="dark"] .note-article-footer,
html[data-theme="dark"] .article-sources li,
html[data-theme="dark"] .article-share-card,
html[data-theme="dark"] .note-detail-rail .article-share-link {
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .note-detail-rail a:hover,
html[data-theme="dark"] .note-detail-rail a:focus-visible,
html[data-theme="dark"] .note-related-link:hover,
html[data-theme="dark"] .note-related-link:focus-visible,
html[data-theme="dark"] .article-sources a:hover,
html[data-theme="dark"] .article-sources a:focus-visible,
html[data-theme="dark"] .note-detail-rail .article-share-link:hover,
html[data-theme="dark"] .note-detail-rail .article-share-link:focus-visible {
  color: rgba(245, 240, 232, 0.92);
}

html[data-theme="dark"] .article-share-card {
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .article-share-mark {
  background: rgba(243, 201, 105, 0.11);
  color: var(--accent);
}

html[data-theme="dark"] .note-detail-rail .article-share-link:hover .article-share-mark,
html[data-theme="dark"] .note-detail-rail .article-share-link:focus-visible .article-share-mark {
  background: rgba(245, 240, 232, 0.9);
  color: #151515;
}

html[data-theme="dark"] .notes-publication-hero,
html[data-theme="dark"] .notes-publication-tools,
html[data-theme="dark"] .notes-archive-list,
html[data-theme="dark"] .article-card-link,
html[data-theme="dark"] .article-card-media,
html[data-theme="dark"] .article-card-footer,
html[data-theme="dark"] .article-detail-hero,
html[data-theme="dark"] .article-next-nav a {
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .notes-masthead h1,
html[data-theme="dark"] .notes-archive-header h2,
html[data-theme="dark"] .article-card-body > strong,
html[data-theme="dark"] .article-card-author strong,
html[data-theme="dark"] .article-sources a,
html[data-theme="dark"] .article-author-copy strong,
html[data-theme="dark"] .article-next-nav strong {
  color: rgba(245, 240, 232, 0.9);
}

html[data-theme="dark"] .notes-masthead p:not(.eyebrow),
html[data-theme="dark"] .article-card-summary,
html[data-theme="dark"] .article-card-author small,
html[data-theme="dark"] .article-sources span,
html[data-theme="dark"] .article-disclosure,
html[data-theme="dark"] .article-author-copy span,
html[data-theme="dark"] .article-detail-meta,
html[data-theme="dark"] .article-detail-meta-icon {
  color: rgba(245, 240, 232, 0.68);
}

html[data-theme="dark"] .article-card-media,
html[data-theme="dark"] .article-detail-image-frame {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .article-detail-caption {
  color: rgba(245, 240, 232, 0.52);
}

html[data-theme="dark"] .article-card-link {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .article-card-link:hover,
html[data-theme="dark"] .article-card-link:focus-visible {
  border-color: rgba(243, 201, 105, 0.28);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .article-card-label {
  background: rgba(245, 240, 232, 0.92);
  color: #151515;
}

html[data-theme="dark"] .article-label,
html[data-theme="dark"] .article-detail-kicker,
html[data-theme="dark"] .article-meta-line {
  color: rgba(245, 240, 232, 0.5);
}

html[data-theme="dark"] .article-detail-kicker {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .article-detail-kicker:hover,
html[data-theme="dark"] .article-detail-kicker:focus-visible {
  border-color: rgba(243, 201, 105, 0.28);
  background: rgba(243, 201, 105, 0.1);
  color: #f5f0e8;
}

html[data-theme="dark"] .notes-local-search::before {
  border-color: rgba(245, 240, 232, 0.58);
}

html[data-theme="dark"] .notes-local-search::after {
  background: rgba(245, 240, 232, 0.58);
}

html[data-theme="dark"] .notes-local-search input {
  border-color: rgba(245, 240, 232, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 240, 232, 0.9);
}

html[data-theme="dark"] .notes-local-search input::placeholder {
  color: rgba(245, 240, 232, 0.42);
}

html[data-theme="dark"] .notes-local-search input:focus {
  border-color: rgba(243, 201, 105, 0.46);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(243, 201, 105, 0.08);
}

html[data-theme="dark"] .note-callout {
  background: transparent;
  color: rgba(245, 240, 232, 0.82);
}

html[data-theme="dark"] .note-callout p {
  color: rgba(245, 240, 232, 0.82);
}

html[data-theme="dark"] .brand img,
html[data-theme="dark"] .services-hero-mark img,
html[data-theme="dark"] .contact-mark img {
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.22));
}

html[data-theme="light"] .page-noise {
  opacity: 0.015;
}

@media (max-width: 920px) {
  .site-search,
  .concept-stage-header-closer .site-search {
    width: 2.2rem;
    flex-basis: 2.2rem;
  }

  .site-search:is(:hover, :focus-within, .is-open) {
    width: clamp(10.5rem, 28vw, 13rem);
    flex-basis: clamp(10.5rem, 28vw, 13rem);
  }

  .concept-stage-header-closer .site-search:is(:hover, :focus-within, .is-open) {
    width: 9rem;
    flex-basis: 9rem;
  }
}

@media (max-width: 720px) {
  .site-header-actions {
    position: relative;
    width: 100%;
    min-height: 2.35rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.52rem;
  }

  .concept-stage-header-closer .site-header-actions {
    align-items: center;
    justify-content: center;
  }

  .site-header-actions .site-nav-standard,
  .site-header-actions .concept-stage-nav-closer {
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-search,
  .concept-stage-header-closer .site-search {
    position: relative;
    top: auto;
    right: auto;
    width: 2.35rem;
    max-width: 2.35rem;
    flex: 0 1 2.35rem;
    transform: none;
  }

  .site-search:is(:hover, :focus-within, .is-open),
  .concept-stage-header-closer .site-search:is(:hover, :focus-within, .is-open) {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 260;
    width: 100%;
    max-width: none;
    flex: none;
  }

  .site-search input {
    min-height: 2.35rem;
    font-size: 0.82rem;
  }

  .site-search:is(:hover, :focus-within, .is-open) input {
    background: #f7f1e7;
  }

  .site-search-panel {
    left: 0;
    right: auto;
    width: 100%;
    max-height: min(48vh, 20rem);
  }

  html[data-theme="dark"] .site-search:is(:hover, :focus-within, .is-open) input {
    background: #111111;
  }
}

@media (max-width: 360px) {
  .site-header-actions {
    gap: 0.38rem;
  }

  .site-header-actions .site-nav-standard {
    gap: 0.3rem 0.42rem;
  }

  .site-nav-standard a {
    font-size: 0.64rem;
    letter-spacing: 0.065em;
  }

  .site-search {
    width: 2.25rem;
    max-width: 2.25rem;
    flex-basis: 2.25rem;
  }
}
