/* Dark editorial portfolio candidate, 2026-11-14. Canonical source and deployment copy are byte-identical.
   Uses existing public DOM only; no content, media, motion or private data changes. */
html:has(.home-editorial, .case-catalog-page, .case-presentation-detail, .showcases-page, .news-page, .gallery-page:not(.is-shared)) {
  --presentation-bg: #101114;
  --presentation-surface: #181a1f;
  --presentation-ink: #f0f1f3;
  --presentation-muted: #a5a8b0;
  --presentation-line: #30333b;
  --presentation-accent: #82aaff;
  --home-shell: min(1280px, calc(100% - clamp(40px, 8vw, 128px)));
  --presentation-shell: var(--home-shell);
  --presentation-paper: var(--presentation-bg);
  --presentation-white: var(--presentation-surface);
  --home-section-title: clamp(1.85rem, 2.6vw, 2.75rem);
  --home-subtitle-size: clamp(0.95rem, 1.1vw, 1.125rem);
}
html:has(.site-header), body:has(.site-header) { background: var(--presentation-bg); }
/* Compatibility for the previous compiled public equipment markup. */
[data-equipment-id="dji-osmo-pocket-3"] { display: none !important; }
/* Shared public wordmark: the two text lines share one visual center. */
body .site-header .brand-lockup__copy,
body .site-header .brand-copy { align-items: center !important; justify-items: center !important; text-align: center !important; }
body .site-header .brand strong,
body .site-header .brand small { display: block; width: 100%; margin-inline: 0; text-align: center !important; }
/* The React and generated headers use the same brand geometry and font metrics. */
body .site-header,
body .site-header .header-inner { --site-header-height: 72px !important; height: 72px !important; }
body .site-header { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; border-bottom: 0 !important; box-shadow: inset 0 -1px var(--presentation-line) !important; }
body .site-header .brand,
body .site-header .brand-lockup { gap: 12px !important; }
body .site-header .brand { margin-left: 0 !important; transform: none !important; }
body .site-header .brand-lockup { transform: none !important; }
body .site-header .brand,
body .site-header .brand :is(.brand-lockup, .brand-mark, .brand-copy, strong, small) { transition: none !important; }
body .site-header .brand-mark {
  position: relative; display: flex !important; flex: 0 0 auto;
  width: 44px !important; height: 38px !important; align-items: center; justify-content: center;
}
body .site-header .brand-logo { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: contain; }
body .site-header .brand-copy {
  display: flex !important; flex-direction: column; justify-content: center;
  height: 38px !important; gap: 3.2px !important;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
body .site-header .brand-copy > strong { margin: 0 !important; font-size: 16px !important; font-weight: 700 !important; line-height: 16px !important; letter-spacing: 1.44px !important; }
body .site-header .brand-copy > small { margin: 0 !important; font-size: 8px !important; font-weight: 400 !important; line-height: 8px !important; letter-spacing: 1.76px !important; }
/* Distribute actual glyphs across equal lines; equal container centers alone
   leave the four Chinese glyphs visibly narrower than the English wordmark. */
body :is(.site-header, .site-footer) .brand-copy > :is(strong, small)[data-brand-lettered="v1"] {
  display: flex !important; flex-direction: row; align-items: baseline !important;
  justify-content: space-between !important; width: 72px !important;
  padding: 0 !important; text-align: left !important; letter-spacing: 0 !important;
  white-space: pre; font-kerning: none; font-variant-ligatures: none;
}
body :is(.site-header, .site-footer) .brand-copy .brand-glyph {
  display: block; flex: 0 0 auto; margin: 0; padding: 0;
  font: inherit; letter-spacing: 0; white-space: pre;
}
body .site-footer .brand-copy {
  display: flex; flex-direction: column; align-items: center; gap: 3.2px;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
body .site-footer .brand-copy > strong { margin: 0; font-size: 16px; font-weight: 700; line-height: 16px; }
body .site-footer .brand-copy > small { margin: 0; font-size: 8px; font-weight: 400; line-height: 8px; }
/* Old compiled HTML shows the same wordmark on first paint, before React is
   ready. Its original text stays accessible. Native glyph markup disables this
   CSS-only fallback automatically, without changing the hydration DOM. */
body :is(.site-header, .site-footer) .brand-copy {
  position: relative; width: 72px !important; flex: 0 0 72px;
}
body :is(.site-header, .site-footer) .brand-copy:not(:has(.brand-glyph)) > :is(strong, small) {
  color: transparent !important;
}
body :is(.site-header, .site-footer) .brand-copy:not(:has(.brand-glyph))::before {
  content: ""; position: absolute; pointer-events: none;
  width: 72px; height: 27.2px; left: 50%; top: 50%;
  transform: translate(-50%, -50%); background-repeat: no-repeat;
  background-size: 72px 27.2px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2272%22%20height%3D%2227.2%22%20viewBox%3D%220%200%2072%2027.2%22%3E%3Cg%20font-family%3D%22PingFang%20SC%2CMicrosoft%20YaHei%2CArial%2Csans-serif%22%20style%3D%22font-kerning%3Anone%3Bfont-variant-ligatures%3Anone%22%3E%3Ctext%20x%3D%220%22%20y%3D%2214%22%20font-size%3D%2216%22%20font-weight%3D%22700%22%20fill%3D%22%23f0f1f3%22%20textLength%3D%2272%22%20lengthAdjust%3D%22spacing%22%3E%E5%A3%AC%E5%8F%91%E4%BC%A0%E5%AA%92%3C%2Ftext%3E%3Ctext%20x%3D%220%22%20y%3D%2226.2%22%20font-size%3D%228%22%20font-weight%3D%22400%22%20fill%3D%22%23a5a8b0%22%20textLength%3D%2272%22%20lengthAdjust%3D%22spacing%22%3ERENFA%20MEDIA%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}
/* One type scale across the Next homepage and generated public pages. */
body .site-header :is(.desktop-nav, .header-case-links) a {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  letter-spacing: 0 !important;
  font-style: normal !important; font-stretch: normal !important;
  font-variant: normal !important; text-transform: none !important;
  text-shadow: none !important; transform: none !important;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  align-items: center;
  justify-content: center;
}
body .site-header .header-case-links a::before,
body .site-header .header-case-links a::after { content: none !important; display: none !important; }
@media (min-width: 1101px) {
  body .site-header .header-inner { grid-template-columns: auto minmax(0, 1fr) !important; }
  body .site-header .desktop-nav { gap: 26px !important; justify-self: end !important; margin: 0 !important; }
  body .site-header:not(.renfa-public-ipad-navigation):not(.is-ipad-navigation) .header-actions { display: none !important; }
}
@media (max-width: 700px) {
  body .site-header, body .site-header .header-inner { --site-header-height: 64px !important; height: 64px !important; }
  body .site-header .brand-mark { width: 40px !important; height: 35px !important; }
  body .site-header .brand-copy { height: 35px !important; }
  body .site-header .brand-copy > strong { letter-spacing: .8px !important; }
  body .site-header .header-case-links { gap: 8px !important; }
  body .site-header .header-case-links a { font-size: 13px !important; padding-inline: 0 !important; }
  body .site-header .header-case-links a[href^="/activity-news"] { display: inline-flex !important; }
  body .site-header .header-inner { gap: 10px !important; }
}
/* Generated public headers have direct brand children; their non-shrinking
   72px wordmark otherwise overflows its flex item into navigation at 320px.
   Match the homepage's compact lockup without hiding either text line/link. */
@media (max-width: 340px) {
  body .site-header .brand > .brand-mark { display: none !important; }
}
body .home-editorial {
  --home-black: var(--presentation-bg);
  --home-graphite: var(--presentation-surface);
  --home-white: var(--presentation-ink);
  --home-muted: var(--presentation-muted);
  --home-blue: #82aaff;
  --white: var(--presentation-ink);
  --muted: var(--presentation-muted);
  --line: var(--presentation-line);
  color: var(--presentation-ink);
  background: var(--presentation-bg);
}
.site-header, .site-footer {
  --presentation-ink: #f0f1f3; --presentation-muted: #a5a8b0;
  --presentation-line: #30333b; --presentation-bg: #101114;
  --presentation-surface: #181a1f; --presentation-paper: #101114; --presentation-white: #181a1f;
  color: var(--presentation-ink);
}
.site-header .site-header-scrim,
.site-header.is-solid .site-header-scrim {
  background: #101114;
  box-shadow: inset 0 -1px var(--presentation-line);
  backdrop-filter: none;
}
.site-header .header-inner, .site-header.is-solid .header-inner {
  width: var(--home-shell);
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 2.5vw, 40px);
  padding-inline: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.site-header .brand { margin-left: 0; transform: none; color: var(--presentation-ink); }
.site-header .brand-lockup, .site-header[data-brand-state="home"] .brand-lockup {
  opacity: 1; visibility: visible; transform: none;
}
.site-header .brand-logo, .site-footer .brand-logo { filter: none; }
.site-header .brand strong, .site-footer .brand-copy strong { color: var(--presentation-ink); }
.site-header .brand small, .site-footer .brand-copy small { color: var(--presentation-muted); }
.site-header .brand-home-copy, .site-header[data-brand-state="home"] .brand-home-copy { display: none; }
.site-header .desktop-nav { justify-self: end; gap: clamp(16px, 1.8vw, 30px); }
.site-header .desktop-nav a { color: var(--presentation-muted); font-size: 0.9rem; font-weight: 450; }
.site-header .desktop-nav a:hover, .site-header .desktop-nav a:focus-visible { color: var(--presentation-ink); }
.site-header .desktop-nav a[href="/equipment-checklist"]::after,
.site-header .mobile-nav-panel nav a[href="/equipment-checklist"]::after { content: none; display: none; }
.site-header .header-case-links a,
.site-header .header-case-links a[href="/cases"],
.site-header .header-case-links .header-cta {
  inline-size: auto; min-height: 44px; padding-inline: 10px;
  border: 0; border-radius: 0; color: var(--presentation-ink);
  background: transparent; font-size: 0.875rem; font-weight: 500; box-shadow: none;
}
.site-header .header-case-links a:hover, .site-header .header-case-links a[href="/cases"]:hover, .site-header .header-case-links a[href="/cases"]:focus-visible { background: transparent; text-decoration: underline; text-underline-offset: 6px; }
.site-header .header-case-links a[href="/photo-live"] { display: none; }
.site-header .menu-button {
  width: 44px; min-width: 44px; height: 44px; min-height: 44px;
  color: var(--presentation-ink); background: transparent; border: 1px solid var(--presentation-line); border-radius: 4px; box-shadow: none;
}
.site-header .menu-button-label { display: none; }
.site-header .menu-button::before {
  content: ""; display: block; width: 19px; height: 12px;
  background: linear-gradient(to bottom,currentColor 0 1.5px,transparent 1.5px 5.25px,currentColor 5.25px 6.75px,transparent 6.75px 10.5px,currentColor 10.5px 12px);
}
.site-header .menu-button::after { content: none; }
.site-header .mobile-nav-panel { color: var(--presentation-ink); background: var(--presentation-bg); border-color: var(--presentation-line); box-shadow: 0 18px 40px #00000040; }
.site-header .mobile-nav-panel nav > a { color: var(--presentation-ink); background: transparent; border-color: var(--presentation-line); }
.site-header .mobile-nav-panel nav > a:hover { background: var(--presentation-surface); }
.site-header .mobile-nav-backdrop { background: rgba(0, 0, 0, 0.5); }
body .home-editorial .hero {
  display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "media"; align-items: start;
  gap: 32px; width: var(--home-shell); min-height: 0; height: auto;
  margin-inline: auto; padding: calc(124px + env(safe-area-inset-top, 0px)) 0 32px; overflow: visible;
}
body .home-editorial .hero-content { grid-area: copy; display: block; width: 100%; min-width: 0; min-height: 0; height: auto; padding: 0; }
body .home-editorial .hero-copy { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); gap: 0 64px; width: 100%; align-items: end; }
body .home-editorial .hero-brand { grid-column: 1 / -1; margin: 0 0 14px; color: var(--presentation-muted); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; }
body .home-editorial .hero h1.hero-title {
  grid-column: 1; grid-row: 2 / 4; max-width: none; margin: 0;
  color: var(--presentation-ink); font-size: clamp(2.35rem,3.4vw,3.2rem);
  font-weight: 550; line-height: 1.28; letter-spacing: -0.04em;
  word-break: normal; text-wrap: balance; text-shadow: none;
}
body .home-editorial .hero-services { grid-column: 2; grid-row: 2; max-width: 30em; margin: 0; word-break: keep-all; text-wrap: balance; color: var(--presentation-muted); font-size: var(--home-subtitle-size); line-height: 1.9; text-shadow: none; }
body .home-editorial .hero-buttons { grid-column: 2; grid-row: 3; margin-top: 18px; gap: 16px; flex-wrap: wrap; }
body .home-editorial .hero .hero-buttons .button { min-width: 0; min-height: 44px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--presentation-ink); border-radius: 0; color: var(--presentation-ink); background: transparent; box-shadow: none; font-size: 0.9rem; letter-spacing: 0; }
body .home-editorial .hero .hero-buttons .button::after { content: "↗"; margin-left: 12px; }
body .home-editorial .hero-scroll, body .home-editorial .hero-shade { display: none; }
body .home-editorial .hero-media { grid-area: media; position: relative; inset: auto; width: 100%; height: auto; min-width: 0; margin: 0; aspect-ratio: auto; overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
body .home-editorial .hero-carousel { position: relative; inset: auto; display: block; width: 100%; height: auto; }
body .home-editorial .hero-carousel-slides { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 2.4 / 1; max-height: 510px; overflow: hidden; background: var(--presentation-surface); border-radius: 2px; }
body .home-editorial .hero-carousel-slide { transition: none; transform: none; }
body .home-editorial .hero-carousel-slide .home-media-stage img { object-fit: cover; object-position: var(--hero-object-position-desktop, center 55%); filter: none; transform: none; animation: none; }
@media (max-width: 600px) {
  body .home-editorial .hero-carousel-slide .home-media-stage img { object-position: var(--hero-object-position-mobile, center 50%); }
}
.hero-carousel-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; color: var(--presentation-muted); border-bottom: 0; }
.hero-carousel-caption p { margin: 0; font-size: 0.82rem; line-height: 1.5; }
/* The legacy bundle still owns old captions until reviewed media is ready. */
body .home-editorial .hero-carousel:not([data-renfa-photo-selection="ready"]) .hero-carousel-caption p { visibility: hidden; }
body .home-editorial .section-cases figure[data-renfa-photo-selection="error"] { background: var(--presentation-surface) !important; }
body .home-editorial .section-cases figure[data-renfa-photo-selection="error"] img { visibility: hidden; }
body .home-editorial .section-cases figure[data-renfa-photo-selection="error"]::after {
  content: "图片暂时无法加载"; position: absolute; inset: 0; display: grid;
  place-items: center; color: var(--presentation-muted); font-size: .85rem;
}
.hero-carousel-controls { display: flex; align-items: center; flex: none; gap: 10px; }
.hero-carousel-counter { margin-right: 8px; font-size: 0.72rem; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.hero-carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 0; color: var(--presentation-ink); background: transparent; }
.hero-carousel-controls button:hover { background: var(--presentation-surface); }
body .home-editorial .hero-carousel-controls { display: none !important; }
body .home-editorial .hero-carousel:focus-visible { outline: 2px solid #9bbce7; outline-offset: 5px; }
.hero-carousel-controls button:focus-visible { outline: 2px solid var(--presentation-accent); outline-offset: 3px; }
body .home-editorial .section { padding-block: clamp(64px, 7vw, 104px); background: var(--presentation-bg); }
body .home-editorial .section[id] { scroll-margin-top: var(--site-header-height, 72px); }
body .home-editorial .section-heading { grid-template-columns: minmax(0,1fr) minmax(240px,0.7fr); align-items: end; gap: 24px; margin-bottom: 36px; }
body .home-editorial .section-heading h2 { color: var(--presentation-ink); font-weight: 550; line-height: 1.35; letter-spacing: -0.035em; }
body .home-editorial .section-heading p { margin: 0; max-width: 33em; justify-self: end; color: var(--presentation-muted); }
body .home-editorial .section-heading > span { color: var(--presentation-muted); }
body .home-editorial .cases-footer { flex-direction: row; justify-content: space-between; gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--presentation-line); text-align: left; }
body .home-editorial .cases-footer p { color: var(--presentation-muted); font-size: 0.875rem; }
body .home-editorial .cases-footer .button { min-height: 44px; padding: 10px 0; border: 0; border-radius: 0; border-bottom: 1px solid var(--presentation-ink); color: var(--presentation-ink); background: transparent; box-shadow: none; }
body .home-editorial .problems-editorial { border: 0; background: var(--presentation-surface); }
body .home-editorial .problems-editorial__bands { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 48px; }
body .home-editorial .problems-editorial__band,
body .home-editorial .problems-editorial__band:nth-child(even) { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: 24px; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
body .home-editorial .problems-editorial__media,
body .home-editorial .problems-editorial__band[data-align="media-right"] .problems-editorial__media { grid-column: 1; grid-row: 1; width: 100%; min-height: 0; aspect-ratio: 4 / 3; border-radius: 2px; }
body .home-editorial .problems-editorial__media img, body .home-editorial .problems-editorial__media:hover img { filter: none; transform: none; }
body .home-editorial .problems-editorial__copy,
body .home-editorial .problems-editorial__band[data-align="media-right"] .problems-editorial__copy { grid-column: 2; grid-row: 1; min-height: 0; padding: 0; border: 0; text-align: left; align-items: start; }
body .home-editorial .problems-editorial__copy h3 { margin: 0 0 8px; color: var(--presentation-ink); font-size: 1.2rem; font-weight: 550; line-height: 1.5; text-align: left; }
body .home-editorial .problems-editorial__copy p { margin: 0; color: var(--presentation-muted); font-size: 0.9rem; line-height: 1.8; text-align: left; }
body .home-editorial .section-dark, body .home-editorial .technical-editorial,
body .home-editorial .process-editorial, body .home-editorial .section-about { background: var(--presentation-bg); color: var(--presentation-ink); }
body .home-editorial .technical-editorial__glass { background: var(--presentation-surface); border: 0; border-radius: 4px; box-shadow: none; }
body .home-editorial .technical-copy, body .home-editorial .technical-list > div,
body .home-editorial .capabilities-editorial__statement h3,
body .home-editorial .process-intro h2, body .home-editorial .process-list h3,
body .home-editorial .about-heading h2 { color: var(--presentation-ink); }
body .home-editorial .capabilities-editorial__statement p,
body .home-editorial .process-intro p, body .home-editorial .process-list p,
body .home-editorial .about-copy p { color: var(--presentation-muted); }
body .home-editorial .text-link { color: var(--presentation-ink); }
.home-media-stage > picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-footer { padding-top: 56px; color: var(--presentation-ink); background: var(--presentation-surface); border-top: 1px solid var(--presentation-line); }
.site-footer .shell { width: var(--home-shell); }
.site-footer .footer-about, .site-footer .footer-nav small,
.site-footer .footer-contact small, .site-footer .footer-contact span,
.site-footer .footer-bottom { color: var(--presentation-muted); }
.site-footer .footer-nav a, .site-footer .footer-contact a { color: var(--presentation-ink); }
.site-footer .footer-bottom { border-color: rgba(129, 157, 190, 0.2); font-size: 0.75rem; }
.mobile-action-bar { border-top: 1px solid var(--presentation-line); background: var(--presentation-bg); box-shadow: none; }
.mobile-action-bar button { color: var(--presentation-ink); background: transparent; }
.mobile-action-bar a, .mobile-action-bar button + a { color: #101114; background: var(--presentation-ink); border-radius: 3px; }
@media (min-width: 2400px) {
  html:has(.home-editorial, .case-catalog-page, .case-presentation-detail, .showcases-page, .news-page, .gallery-page:not(.is-shared)) { --home-shell: min(1920px,calc(100% - 240px)); --home-section-title: clamp(3rem,2.3vw,5rem); --home-subtitle-size: 1.375rem; }
  .site-header, .site-header .header-inner { --site-header-height: 96px; height: 96px; }
  .site-header .desktop-nav a { font-size: 1.15rem; }
  body .home-editorial .hero { padding-top: 160px; gap: 56px; }
  body .home-editorial .hero h1.hero-title { font-size: clamp(4.5rem,3vw,6.5rem); }
  body .home-editorial .hero-brand, .hero-carousel-caption p { font-size: 1rem; }
  body .home-editorial .hero .hero-buttons .button { font-size: 1.125rem; }
  body .home-editorial .hero-carousel-slides { aspect-ratio: 2.25 / 1; }
}
@media (max-width: 1040px) {
  body .home-editorial .hero { padding-top: calc(112px + env(safe-area-inset-top,0px)); grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "media"; gap: 32px; }
  body .home-editorial .hero-copy { grid-template-columns: minmax(0,1fr); }
  body .home-editorial .hero-brand { grid-column: 1; margin-bottom: 18px; }
  body .home-editorial .hero h1.hero-title { grid-column: 1; grid-row: auto; font-size: clamp(2.2rem,5vw,3.5rem); }
  body .home-editorial .hero-services { grid-column: 1; grid-row: auto; max-width: 43em; margin-top: 20px; }
  body .home-editorial .hero-buttons { grid-column: 1; grid-row: auto; margin-top: 14px; }
  body .home-editorial .hero-carousel-slides { aspect-ratio: 16 / 10; }
  body .home-editorial .section-heading { grid-template-columns: minmax(0,1fr); gap: 12px; }
  body .home-editorial .section-heading p { justify-self: start; }
  body .home-editorial .problems-editorial__bands { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  html:has(.home-editorial, .case-catalog-page, .case-presentation-detail, .showcases-page, .news-page, .gallery-page:not(.is-shared)) { --home-shell: calc(100% - 36px); --home-section-title: 1.85rem; --home-subtitle-size: 0.95rem; }
  .site-header .header-inner { gap: 6px; }
  .site-header .brand-lockup--compact { --brand-lockup-height: 35px; --brand-lockup-mark-width: 38px; }
  .site-header .brand strong { font-size: 1rem; }
  .site-header .brand small { font-size: 0.5rem; }
  .site-header .header-case-links { gap: 0; }
  .site-header .header-case-links a, .site-header .header-case-links a[href="/cases"], .site-header .header-case-links .header-cta { padding-inline: 7px; font-size: 0.78rem; }
  body .home-editorial .hero { padding-top: calc(102px + env(safe-area-inset-top,0px)); gap: 24px; }
  body .home-editorial .hero h1.hero-title { font-size: clamp(1.85rem,7.5vw,2.5rem); font-weight: 550; line-height: 1.45; }
  body .home-editorial .hero-brand { font-size: 0.64rem; letter-spacing: 0.1em; margin-bottom: 14px; }
  body .home-editorial .hero-services { margin-top: 18px; font-size: 0.9rem; line-height: 1.85; }
  body .home-editorial .hero-buttons { margin-top: 12px; gap: 22px; }
  body .home-editorial .hero-carousel-slides { aspect-ratio: 4 / 3; }
  .hero-carousel-caption { gap: 12px; padding-block: 10px; }
  .hero-carousel-caption p { max-width: 19em; font-size: 0.7rem; }
  .hero-carousel-controls { gap: 6px; }
  .hero-carousel-counter { display: none; }
  body .home-editorial .section { padding-block: 54px; }
  body .home-editorial .section-heading { margin-bottom: 26px; }
  body .home-editorial .cases-footer { align-items: flex-start; flex-direction: column; margin-top: 24px; gap: 12px; }
    body .home-editorial .problems-editorial__copy h3 { font-size: 1.1rem; }
  .site-footer { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  body .home-editorial *, .site-header * { scroll-behavior: auto; }
}

body .home-editorial .section-heading h2 .title-line { display: inline; margin: 0; }

/* Public photography and case index: hierarchy comes from image scale and spacing. */
html:has(.showcases-page, .news-page) {
  --news-panel: #181a1f; --news-panel-2: #202329; --news-text: #f0f1f3; --news-gold: #82aaff;
  --showcase-ink-3: #30333b; --showcase-blue: #82aaff;
}
body .home-editorial .hero .hero-buttons .button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--presentation-line); border-radius: 2px; font-weight: 500; }
body .home-editorial .hero .hero-buttons .button:first-child { color: #101114; background: var(--presentation-ink); border-color: var(--presentation-ink); }
body .home-editorial .hero .hero-buttons .button::after { margin-left: 10px; }
body .home-editorial .section-heading h2 { font-size: var(--home-section-title); font-weight: 550; }
body .home-editorial .section-heading h2 .title-line { display: inline; }
body .home-editorial .cases-cinematic-rail[data-layout="responsive-project-grid"] { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 48px 28px; }
body .home-editorial [data-featured-case-card] { grid-column: span 2; }
body .home-editorial [data-featured-case-card]:nth-child(-n+2) { grid-column: span 3; }
body .home-editorial [data-featured-case-card] > a > div:first-child { border-radius: 2px; }
body .home-editorial [data-featured-case-card] > a > div:last-child { padding-top: 14px; gap: 6px 16px; }
body .home-editorial [data-featured-case-card] h3 { font-size: clamp(17px,1.4vw,21px); font-weight: 500; line-height: 1.55; }
body .home-editorial [data-featured-case-card]:nth-child(-n+2) h3 { font-size: clamp(20px,1.7vw,25px); }
body .home-editorial [data-featured-case-card] .case-link { font-size: 0; }
body .home-editorial [data-featured-case-card] .case-link > span { font-size: 20px; }
body .case-catalog-page .case-library-hero { padding-top: calc(128px + env(safe-area-inset-top,0px)); padding-bottom: 30px; }
body .case-catalog-page .case-library-hero > .shell { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 64px; }
body .case-catalog-page .case-library-hero h1 { margin-top: 12px; font-size: clamp(32px,3.1vw,48px); font-weight: 550; }
body .case-catalog-page .case-library-hero > .shell > div > span { font-size: 10px; letter-spacing: .08em; }
body .case-catalog-page .case-library-hero p { font-size: 14px; line-height: 1.85; }
body .case-catalog-page .case-library-filters { margin-bottom: 32px; padding-block: 10px; border-top: 0; }
body .case-catalog-page .case-category-filters { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 0 18px; }
body .case-catalog-page .case-category-filters a { justify-self: start; min-height: 44px; padding: 8px 0; font-size: 13px; border-radius: 0; }
body .case-catalog-page .case-category-filters a.is-active { color: var(--presentation-ink); background: transparent; border-bottom: 1px solid var(--presentation-ink); font-weight: 600; }
body .case-catalog-page .case-library-grid { gap: 40px 28px; }
body .case-catalog-page .case-library-grid .case-card--library,
body .case-catalog-page .case-library-grid .case-card--library:is(:hover,:focus-within) { border: 0; border-radius: 0; background: transparent; }
body .case-catalog-page .case-library-grid .case-card--library .case-media-carousel { border-radius: 2px; }
body .case-catalog-page .case-library-grid .case-card--library .case-content { padding: 14px 0 0; border: 0; border-radius: 0; }
body .case-catalog-page .case-library-grid .case-card--library .case-content h3 { margin-top: 6px; font-size: 20px; font-weight: 500; line-height: 1.55; }
body .case-catalog-page .case-library-grid .case-card--library .case-meta span:first-child { font-size: 11px; color: var(--presentation-muted); }
body .site-header[data-brand-state], body .site-header[data-brand-state] .site-header-scrim,
body .site-header[data-renfa-public-navigation="v1"], body .site-header[data-renfa-public-navigation="v1"] .site-header-scrim { background: #101114 !important; }
body .site-footer { background: #101114; }
@media (max-width: 1040px) {
  body .home-editorial .hero { padding-bottom: 40px; }
  body .home-editorial .hero-copy { max-width: none; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 0 32px; }
  body .home-editorial .hero h1.hero-title { grid-column: 1; grid-row: 2 / 4; font-size: 36px; }
  body .home-editorial .hero-services { grid-column: 2; grid-row: 2; margin: 0; font-size: 14px; }
  body .home-editorial .hero-buttons { grid-column: 2; grid-row: 3; margin-top: 16px; gap: 10px; }
  body .home-editorial .hero .hero-buttons .button { padding: 10px 12px; }
  body .home-editorial .problems-editorial__bands { gap: 32px 28px; }
  body .home-editorial .problems-editorial__band { gap: 16px; }
  body .home-editorial .problems-editorial__copy h3 { font-size: 18px; }
  body .home-editorial .problems-editorial__copy p { font-size: 13px; }
  body .case-catalog-page .case-library-hero > .shell { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 32px; }
  body .case-catalog-page .case-library-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 20px; }
  body .case-catalog-page .case-category-filters { grid-template-columns: repeat(7,minmax(0,1fr)); column-gap: 14px; }
  body .home-editorial .hero-carousel-slides { aspect-ratio: 2 / 1; }
}
@media (max-width: 600px) {
  body .home-editorial .hero { grid-template-areas: "title" "media" "services" "actions"; gap: 14px; padding-top: 104px; padding-bottom: 12px; }
  body .home-editorial .hero-content, body .home-editorial .hero-copy { display: contents; }
  body .home-editorial .hero-brand { display: none; }
  body .home-editorial .hero h1.hero-title { grid-area: title; font-size: clamp(30px,7.8vw,38px); line-height: 1.36; font-weight: 550; margin: 0 0 6px; }
  body .home-editorial .hero-media { grid-area: media; }
  body .home-editorial .hero-carousel-caption { padding-bottom: 0; }
  body .home-editorial #cases.section { padding-top: 32px; }
  body .home-editorial .hero-carousel-slides { aspect-ratio: 4 / 3; }
  body .home-editorial .hero-services { grid-area: services; margin: 0; font-size: 14px; }
  body .home-editorial .hero-buttons { grid-area: actions; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; gap: 10px; }
  body .home-editorial .hero .hero-buttons .button { padding: 12px 8px; font-size: 14px; }
  body .home-editorial .section { padding-block: 48px; }
  body .home-editorial .section-heading h2 { font-size: 26px; }
  body .home-editorial .section-heading p { font-size: 14px; }
  body .home-editorial .cases-cinematic-rail[data-layout="responsive-project-grid"] { grid-template-columns: minmax(0,1fr); gap: 32px; }
  body .home-editorial [data-featured-case-card], body .home-editorial [data-featured-case-card]:nth-child(-n+2) { grid-column: 1; }
  body .home-editorial [data-featured-case-card] h3, body .home-editorial [data-featured-case-card]:nth-child(-n+2) h3 { font-size: 19px; }
  body .home-editorial .problems-editorial__bands { grid-template-columns: minmax(0,1fr); gap: 26px; }
  body .home-editorial .problems-editorial__band, body .home-editorial .problems-editorial__band:nth-child(even) { grid-template-columns: 112px minmax(0,1fr); gap: 18px; }
  body .home-editorial .problems-editorial__copy h3 { font-size: 18px; margin-bottom: 6px; }
  body .home-editorial .problems-editorial__copy p { font-size: 13px; }
  body .case-catalog-page .case-library-hero { padding-top: calc(108px + env(safe-area-inset-top,0px)); padding-bottom: 24px; }
  body .case-catalog-page .case-library-hero > .shell { grid-template-columns: minmax(0,1fr); gap: 14px; }
  body .case-catalog-page .case-library-hero h1 { margin-top: 0; font-size: 30px; }
  body .case-catalog-page .case-library-filters { margin-bottom: 24px; padding-block: 0; }
  body .case-catalog-page .case-filter-disclosure .case-category-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body .case-catalog-page .case-library-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  body .case-catalog-page .case-library-grid .case-card--library .case-content h3 { font-size: 20px; }
}

/* Keep the tablet utility links visually separate from each other. */
@media (min-width: 601px) and (max-width: 1100px) {
  body .site-header[data-renfa-public-navigation="v1"][data-renfa-mobile-nav-ux="v1"] .header-case-links { gap: 18px !important; }
}

/* Historical equipment matrix restored from the archived implementation.
   Derived solely from the 2026-08-29 archived module, SHA256 5e1dffa3a945c4219936159152773de66fdd269560d4964c3a1049c13580e433.
   Compact catalogue overrides were removed before merging.
   Uses current 26-item DOM and published media; changes no inventory or TSX. */
body .home-editorial [aria-labelledby="owned-equipment-title"] {
  --equipment-outline-radius: 12px;
  --equipment-image-filter:
    drop-shadow(0 0 2px rgba(243, 247, 252, 0.92))
    drop-shadow(0 0 var(--equipment-outline-radius) rgba(198, 215, 231, 0.46))
    drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28));

  width: 100%;
  padding: 104px 0 112px;
}

body .home-editorial [aria-labelledby="owned-equipment-title"] > div {
  width: min(var(--home-shell), calc(100% - 32px));
  margin: 0 auto;
}

body .home-editorial [aria-labelledby="owned-equipment-title"] > div > header {
  display: grid;
  gap: 16px;
  margin-bottom: 56px;
}

body .home-editorial [aria-labelledby="owned-equipment-title"] > div > header > p:first-child,
body .home-editorial [aria-labelledby^="equipment-category-"] > div:first-child > p,
body .home-editorial [data-equipment-owned-label] {
  margin: 0;
  color: rgba(198, 215, 231, 0.66);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

body .home-editorial [aria-labelledby="owned-equipment-title"] > div > header > div {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

body .home-editorial #owned-equipment-title,
body .home-editorial [aria-labelledby^="equipment-category-"] h3 {
  margin: 0;
  color: #f3f7fc;
  font-weight: 650;
  letter-spacing: -0.03em;
}

body .home-editorial #owned-equipment-title {
  font-size: var(--home-section-title);
  line-height: 1.08;
}

body .home-editorial [data-equipment-owned-label] {
  color: rgba(223, 232, 242, 0.58);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

body .home-editorial [data-equipment-introduction] {
  max-width: 64rem;
  margin: 2px 0 0;
  color: rgba(223, 232, 242, 0.68);
  font-size: var(--home-subtitle-size);
  line-height: 1.85;
  text-wrap: pretty;
}

body .home-editorial [aria-labelledby="owned-equipment-title"] > div > div:last-child {
  display: grid;
  gap: 56px;
}

body .home-editorial [aria-labelledby^="equipment-category-"] {
  min-width: 0;
}

body .home-editorial [aria-labelledby^="equipment-category-"] > div:first-child {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

body .home-editorial [aria-labelledby^="equipment-category-"] h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.25;
}

body .home-editorial [aria-labelledby^="equipment-category-"] > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body .home-editorial [data-equipment-id] {
  min-width: 0;
}

body .home-editorial [data-equipment-image-frame] {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(223, 232, 242, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(76, 126, 174, 0.12), transparent 66%),
    #0B121A;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

body .home-editorial [data-equipment-image-frame] img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--equipment-image-filter);
  transition: transform 220ms ease, filter 220ms ease;
}

body .home-editorial [data-equipment-id]:hover [data-equipment-image-frame] img {
  filter: brightness(1.04) var(--equipment-image-filter);
  transform: scale(1.015);
}

body .home-editorial [data-equipment-id] > div:last-child {
  min-width: 0;
  padding-top: 14px;
}

body .home-editorial [data-equipment-id] > div:last-child > p:first-child,
body .home-editorial [data-equipment-id] > div:last-child > p:nth-child(2),
body .home-editorial [data-equipment-id] > div:last-child > p:nth-child(3),
body .home-editorial [data-equipment-price-state] {
  margin: 0;
  overflow-wrap: anywhere;
}

body .home-editorial [data-equipment-id] > div:last-child > p:first-child {
  color: rgba(198, 215, 231, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

body .home-editorial [data-equipment-id] > div:last-child > p:nth-child(2) {
  margin-top: 5px;
  color: #f3f7fc;
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.4;
  text-wrap: balance;
  word-break: keep-all;
}

body .home-editorial [aria-labelledby="equipment-category-capture"] [data-equipment-id] > div:last-child > p:nth-child(2) {
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

body .home-editorial [data-equipment-id] > div:last-child > p:nth-child(3) {
  margin-top: 7px;
  color: rgba(223, 232, 242, 0.64);
  font-size: 0.78rem;
  line-height: 1.6;
}

body .home-editorial [data-equipment-price-state] {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(223, 232, 242, 0.08);
  color: rgba(243, 247, 252, 0.76);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 1179px) {
  body .home-editorial [aria-labelledby^="equipment-category-"] > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body .home-editorial [aria-labelledby="owned-equipment-title"] {
    --equipment-outline-radius: 10px;

    padding: 72px 0 80px;
  }

  body .home-editorial [aria-labelledby="owned-equipment-title"] > div {
    width: min(var(--home-shell), calc(100% - 32px));
  }

  body .home-editorial [aria-labelledby="owned-equipment-title"] > div > header {
    gap: 13px;
    margin-bottom: 32px;
  }

  body .home-editorial [aria-labelledby="owned-equipment-title"] > div > header > div {
    gap: 8px 12px;
  }

  body .home-editorial #owned-equipment-title {
    font-size: var(--home-section-title);
  }

  body .home-editorial [aria-labelledby="owned-equipment-title"] > div > header > p:first-child,
  body .home-editorial [aria-labelledby^="equipment-category-"] > div:first-child > p,
  body .home-editorial [data-equipment-owned-label] {
    font-size: 0.75rem;
  }

  body .home-editorial [data-equipment-introduction] {
    max-width: 100%;
    margin-top: 1px;
    font-size: var(--home-subtitle-size);
    line-height: 1.75;
  }

  body .home-editorial [aria-labelledby="owned-equipment-title"] > div > div:last-child {
    gap: 32px;
  }

  body .home-editorial [aria-labelledby^="equipment-category-"] > div:first-child {
    margin-bottom: 14px;
  }

  body .home-editorial [aria-labelledby^="equipment-category-"] > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  body .home-editorial [data-equipment-image-frame] {
    padding: 14px;
    border-radius: 14px;
  }

  body .home-editorial [data-equipment-id] > div:last-child {
    padding-top: 10px;
  }

  body .home-editorial [data-equipment-id] > div:last-child > p:first-child {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  body .home-editorial [data-equipment-id] > div:last-child > p:nth-child(2) {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  body .home-editorial [data-equipment-id] > div:last-child > p:nth-child(3) {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  body .home-editorial [data-equipment-price-state] {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (max-width: 359px) {
  body .home-editorial [aria-labelledby^="equipment-category-"] > ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  body .home-editorial [data-equipment-image-frame] img {
    transition: none;
  }

  body .home-editorial [data-equipment-id]:hover [data-equipment-image-frame] img {
    filter: var(--equipment-image-filter);
    transform: none;
  }
}

/* Restore the old title scale locally; do not change the rest of the homepage. */
body .home-editorial [aria-labelledby="owned-equipment-title"] { --home-section-title: clamp(3.5rem,5.4vw,5.5rem); --home-subtitle-size: clamp(.9rem,1.2vw,1.05rem); border: 0; }
@media(max-width:760px) { body .home-editorial [aria-labelledby="owned-equipment-title"] { --home-section-title: clamp(2.45rem,10.2vw,2.95rem); --home-subtitle-size: clamp(.82rem,3.5vw,.94rem); } }
@media(max-width:359px) { body .home-editorial [aria-labelledby="owned-equipment-title"] { --home-section-title: clamp(2.2rem,10vw,2.55rem); --home-subtitle-size: .8rem; } }

/* Founder-only restoration from the unchanged Aug/Oct home-editorial.css.
   The deployed Next CSS embeds later .home-editorial founder overrides;
   removing the external palette overrides alone cannot restore the old card.
   Scope is deliberately limited to the founder section. */
body .home-editorial .section-founder {
  --home-white: #f7f8fa;
  --home-muted: rgba(247, 248, 250, .68);
  --home-blue: #377fff;
  background: #101820;
  border-top: 0;
}
body .home-editorial .section-founder .founder-card {
  display: grid;
  grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
  grid-template-rows: auto auto;
  width: 100%; max-width: 1480px; height: auto; min-height: 0;
  margin: 0 auto; padding: clamp(12px, 1vw, 16px); gap: 0;
  align-items: start; box-sizing: border-box; overflow: hidden;
  border: 1px solid rgba(223, 232, 242, .14);
  border-radius: clamp(30px, 2.6vw, 44px);
  color: var(--home-white);
  background: radial-gradient(circle at 84% 10%, rgba(55,111,255,.14), transparent 34%), linear-gradient(145deg,#152230 0%,#0b121a 74%);
  box-shadow: 0 42px 120px rgba(1,5,10,.36), inset 0 1px rgba(255,255,255,.05);
}
body .home-editorial .section-founder .founder-photo {
  grid-column: 1; grid-row: 1 / span 2;
  position: relative; width: 100%; max-width: none; height: auto; min-height: 0;
  aspect-ratio: 2 / 3; align-self: start; overflow: hidden;
  border-radius: clamp(22px, 2vw, 34px); background: #0b121a;
  box-shadow: 0 24px 64px rgba(1,5,10,.32);
}
body .home-editorial .section-founder .founder-photo .founder-portrait-stage img {
  object-fit: contain; object-position: center top; filter: none;
}
body .home-editorial .section-founder .founder-card-body {
  grid-column: 2; grid-row: 1; display: grid;
  grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0,1fr) auto;
  align-content: stretch; align-items: stretch;
  gap: clamp(1.5rem,2.5vw,2.5rem);
  padding: clamp(1.9rem,2.8vw,3.25rem) clamp(20px,1.8vw,28px);
  color: var(--home-white);
}
body .home-editorial .section-founder .founder-name h2 {
  margin: .55rem 0 0; color: var(--home-white);
  font-size: clamp(3rem,4vw,4.75rem); font-weight: 700;
  line-height: .96; letter-spacing: -.055em;
}
body .home-editorial .section-founder .founder-name small { color: var(--home-blue); }
body .home-editorial .section-founder .founder-name p { color: rgba(247,248,250,.7); font-size: clamp(.82rem,.9vw,.95rem); line-height: 1.5; }
body .home-editorial .section-founder .founder-roles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; }
body .home-editorial .section-founder .founder-roles span {
  display: flex; min-height: 3.15rem; align-items: center; gap: .55rem;
  padding: .75rem .9rem; border-radius: 16px;
  color: rgba(247,248,250,.82); background: rgba(247,248,250,.08);
  border: 1px solid rgba(247,248,250,.1);
  font-size: clamp(.72rem,.78vw,.82rem); font-weight: 650;
}
body .home-editorial .section-founder .founder-roles svg { width: 1rem; height: 1rem; color: var(--home-blue); }
body .home-editorial .section-founder .founder-closing { display: flex; flex-direction: column; justify-content: flex-end; margin: 0; padding: 0; }
body .home-editorial .section-founder .founder-statement {
  max-width: 42rem; margin: 0; padding: .15rem 0 .15rem 1.1rem;
  color: rgba(247,248,250,.72); border: 0; border-left: 2px solid rgba(125,175,246,.5);
  font-size: clamp(.9rem,1vw,1rem); line-height: 1.75;
}
body .home-editorial .section-founder .founder-contact {
  grid-column: 2; grid-row: 2; display: grid;
  grid-template-columns: minmax(0,1fr) minmax(148px,164px);
  align-items: center; gap: 1.5rem; margin-top: .25rem;
  padding: clamp(20px,1.8vw,28px);
  color: var(--home-white); border: 1px solid rgba(223,232,242,.13); border-radius: 24px;
  background: rgba(4,9,14,.48); box-shadow: inset 0 1px rgba(255,255,255,.04);
}
body .home-editorial .section-founder .founder-contact-label { color: #7daff6; }
body .home-editorial .section-founder .founder-contact h4 { margin: 0; color: var(--home-white); font-size: clamp(1.2rem,1.8vw,1.75rem); font-weight: 700; line-height: 1.15; }
body .home-editorial .section-founder .founder-contact-copy p { color: var(--home-muted); font-size: clamp(.82rem,.95vw,.98rem); line-height: 1.65; }
body .home-editorial .section-founder .founder-contact-phone { display: inline-flex; gap: .55rem; margin-top: .55rem; padding: 0; color: var(--home-white); font-size: clamp(1rem,1.35vw,1.2rem); font-weight: 700; }
body .home-editorial .section-founder .founder-contact-qr { display: grid; width: clamp(148px,10vw,164px); padding: 0; color: var(--home-muted); }
body .home-editorial .section-founder .founder-contact-qr-label { color: var(--home-muted); font-size: 15px; font-weight: 600; }
body .home-editorial .section-founder .contact-qr-stage { width: 100%; max-width: none; height: auto; aspect-ratio: 1; border-radius: 18px; background: #fff; box-shadow: 0 16px 38px rgba(0,0,0,.24); }
body .home-editorial .section-founder .contact-qr-image { border-radius: 14px; object-fit: contain; }
@media (min-width:761px) and (max-width:1199px) {
  body .home-editorial .section-founder .founder-card { grid-template-columns: minmax(300px,.82fr) minmax(0,1.18fr); }
}
@media (max-width:760px) {
  body .home-editorial .section-founder { padding-block: 2rem 2.5rem; }
  body .home-editorial .section-founder .founder-card { grid-template-columns: minmax(0,2fr) minmax(0,3fr); grid-template-rows: auto auto; padding: 0; gap: 0; border-radius: 22px; }
  body .home-editorial .section-founder .founder-photo { grid-column: 1; grid-row: 1; width: 100%; max-width: none; height: auto; min-height: 0; aspect-ratio: 2/3; border-radius: 0; box-shadow: none; }
  body .home-editorial .section-founder .founder-card-body { grid-column: 2; grid-row: 1; grid-template-rows: none; align-content: start; gap: .85rem; padding: 1.2rem 1.1rem 1.3rem; }
  body .home-editorial .section-founder .founder-name h2 { margin-top: .35rem; font-size: clamp(1.3rem,5.5vw,1.6rem); }
  body .home-editorial .section-founder .founder-name p { font-size: .72rem; }
  body .home-editorial .section-founder .founder-roles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem; }
  body .home-editorial .section-founder .founder-roles span { min-height: 0; padding: .42rem .5rem; font-size: .66rem; border-radius: 10px; gap: .3rem; justify-content: center; white-space: nowrap; overflow-wrap: normal; }
  body .home-editorial .section-founder .founder-roles svg { width: .75rem; height: .75rem; }
  body .home-editorial .section-founder .founder-roles span:last-child { grid-column: 1/-1; }
  body .home-editorial .section-founder .founder-statement { margin: 0; padding-left: 0; border-left: 0; color: rgba(247,248,250,.82); font-size: .78rem; line-height: 1.7; }
  body .home-editorial .section-founder .founder-contact { grid-column: 1/-1; grid-row: 2; grid-template-columns: minmax(0,1fr); gap: 1.15rem; margin-top: 0; padding: 1.35rem; border: 0; border-top: 1px solid rgba(247,248,250,.12); border-radius: 0; background: rgba(4,9,14,.32); box-shadow: none; }
  body .home-editorial .section-founder .founder-contact-phone,
  body .home-editorial .section-founder .founder-contact-qr { display: none; }
}

/* Keep an open consultation dialog usable after rotation and in short viewports. */
body .wechat-qr-modal {
  position: fixed; z-index: 2000; inset: 0; display: grid; place-items: center;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 24px; background: rgba(2, 6, 10, 0.72); backdrop-filter: blur(6px);
}
body .wechat-qr-modal__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  justify-items: center; align-content: start; gap: 10px;
  width: min(320px, calc(100vw - 48px));
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow-y: auto; overscroll-behavior: contain; padding: 26px 22px 22px;
  color: #e8eef5; background: #0e151d; border: 1px solid rgba(223, 232, 242, 0.14);
  border-radius: 20px; box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}
body .wechat-qr-modal__panel strong { grid-column: 1; grid-row: 1; align-self: center; font-size: 18px; }
body .wechat-qr-modal__panel p { margin: 0; color: #9aa8b5; font-size: 12px; line-height: 1.6; text-align: center; }
body .wechat-qr-modal__image { display: block; width: min(236px, max(120px, calc(100dvh - 180px))); height: auto; aspect-ratio: 1; max-width: 100%; border-radius: 12px; background: #fff; }
body .wechat-qr-modal__close {
  position: sticky; top: 0; right: auto; z-index: 1; grid-column: 1; grid-row: 1;
  justify-self: end; align-self: start; margin: -16px -12px -18px 0;
  display: grid; place-items: center; width: 34px; height: 34px;
  color: #cbd6e1; background: #202a33; border: 0; border-radius: 50%; cursor: pointer;
}
body .wechat-qr-modal__close svg { width: 18px; height: 18px; }
