@import url('fonts.css');

/* Mercury: shared presentation for company profiles. Content remains in place. */
body.profile-page {
  --paper:#faf8f1; --ink:#1c3029; --accent:#244d3b; --muted:#4b5b4e;
  --faint:#4b5b4e; --line:#d9ddd1; --card:#fffdf8; --green:#17382f;
  background:var(--paper)!important; color:var(--ink)!important;
  font-family:Inter,Arial,sans-serif!important; -webkit-font-smoothing:antialiased;
}
body.profile-page .wrap {max-width:1280px!important;padding:0 48px!important}
body.profile-page a {text-underline-offset:4px}
body.profile-page :is(a,button,summary):focus-visible {outline:3px solid #89611e!important;outline-offset:5px}
body.profile-page .top {min-height:94px;padding:24px 0!important;border-bottom:1px solid var(--line)!important;align-items:center!important}
body.profile-page .top :is(.mark,.brand) {font-family:Arial,Helvetica,sans-serif!important;font-size:31px!important;font-weight:700;letter-spacing:-1.8px;text-decoration:none}
body.profile-page .top .mark i {font-weight:700}
body.profile-page .top .mark b {font-weight:400}
body.profile-page .top a {border-radius:999px!important}
body.profile-page .top :is(nav,div) {gap:24px!important}
body.profile-page :is(.crumb,.breadcrumb) {margin:24px 0!important;font-size:12px!important;color:var(--muted)!important;line-height:1.7;overflow-wrap:anywhere}
body.profile-page :is(.crumb,.breadcrumb) a {color:inherit}
body.profile-page .hero-profile {
  grid-template-columns:minmax(0,1.7fr) minmax(200px,.8fr)!important;
  gap:56px!important;align-items:center!important;padding:52px!important;margin:0 0 27px!important;
  min-height:345px;border-radius:24px;color:#fff;
  background:linear-gradient(100deg,rgba(15,40,32,.95),rgba(17,44,35,.80)),url('/assets/mercury/hero-coast.webp') center 58%/cover;
}
body.profile-page .hero-profile .hero {color:#fff!important;background:transparent!important;border:0!important}
body.profile-page .hero-profile h1,body.profile-page .hero h1 {
  font-family:Inter,Arial,sans-serif!important;font-size:clamp(34px,4.3vw,60px)!important;
  line-height:1.08!important;letter-spacing:-.045em!important;font-weight:500!important;
  color:#fff!important;margin:19px 0 23px!important;overflow-wrap:anywhere;text-wrap:balance;
}
body.profile-page .hero-profile :is(.over,.eyebrow) {color:#c2d2c5!important;font-size:10px!important;letter-spacing:.12em!important;line-height:1.7}
body.profile-page .hero-profile p {color:#e0e8df!important;font-size:15px!important;line-height:1.7!important;max-width:620px!important}
body.profile-page .hero-profile .lede {font-size:19px!important;line-height:1.55!important;color:#f4f5ec!important}
body.profile-page .hero-profile :is(.tag,.tags span) {display:inline-block;color:#e5ece2!important;background:#ffffff0c;border:1px solid #ffffff40!important;padding:6px 13px!important;border-radius:999px!important;font-size:11px!important;letter-spacing:0!important;margin:0 6px 8px 0!important}
body.profile-page .hero-profile .tags {display:flex;gap:0;flex-wrap:wrap;margin:20px 0 5px}
body.profile-page .hero-profile .keyfacts {border-color:#ffffff35!important;gap:20px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.profile-page .hero-profile .keyfacts dt {color:#c2d2c5;font-size:10px}
body.profile-page .hero-profile .keyfacts dd {color:#fff;font-size:13px}
body.profile-page .hero-profile :is(.actions,.btns) {gap:10px!important;margin-top:22px!important}
body.profile-page .hero-profile :is(.action,.btn) {border-radius:999px!important;min-height:46px!important;padding:12px 18px!important;font-size:12px!important;border:1px solid #ffffff65!important;background:transparent!important;color:#fff!important;margin:0 8px 0 0;line-height:1.5;text-align:center}
body.profile-page .hero-profile :is(.primary,.btn:not(.light)) {background:#faf8f1!important;color:#18372c!important;border-color:#faf8f1!important}
body.profile-page .profile-visual {width:100%;min-height:218px!important;max-width:300px;justify-self:end;border-radius:20px;padding:30px!important;background:#fffdf8!important;box-shadow:0 10px 45px #071a2415;border:1px solid #ffffff35;color:var(--ink)}
body.profile-page .profile-visual.logo-dark {background:#17382f!important}
body.profile-page .profile-visual img {max-width:92%!important;max-height:135px!important;object-fit:contain;mix-blend-mode:normal}
body.profile-page .profile-visual .house-nameplate {font-family:'PT Serif',Georgia,serif!important;font-size:30px!important;line-height:1.2!important;font-weight:400!important;letter-spacing:-.025em!important}
body.profile-page .hero-profile .jet-art {height:240px;border-radius:20px;background:#f1f0e7}
body.profile-page .hero-profile .jet-art span {width:240px;height:240px}
body.profile-page .hero-profile .caption {color:#cfdbcc;font-size:10px;margin-top:12px;line-height:1.5}
body.profile-page .anchors {
  border:0!important;gap:7px!important;padding:0 0 24px!important;margin:0!important;
  scrollbar-width:thin;scrollbar-color:#b5c1b0 transparent;align-items:center;
}
body.profile-page .anchors a {flex-shrink:0;border:1px solid #d8dfd2;border-radius:999px;padding:10px 17px;font-size:12px;color:var(--ink);background:#f0f1e8;line-height:1.5;transition:background .15s,color .15s}
body.profile-page .anchors a:hover {background:var(--green);border-color:var(--green);color:#fff}
body.profile-page .profile-body {grid-template-columns:minmax(0,1fr) 280px!important;gap:60px!important;margin-top:24px!important;align-items:start}
body.profile-page .profile-body>div {min-width:0}
body.profile-page .profile-content>.common-section,body.profile-page .profile-body>div>.section {padding:5px 0 42px!important;scroll-margin-top:28px}
body.profile-page .profile-content>.common-section+.common-section,body.profile-page .profile-body>div>.section+.section {border-top:1px solid var(--line)!important;padding-top:34px!important}
body.profile-page .profile-body h2 {
  font-family:'PT Serif',Georgia,serif!important;font-weight:400!important;
  font-size:35px!important;line-height:1.2!important;letter-spacing:-.035em!important;margin:0 0 23px!important;text-wrap:pretty;
}
body.profile-page .profile-content .profile-subsection h2 {font-family:Inter,Arial,sans-serif!important;font-size:20px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:-.025em!important;margin:13px 0 18px!important}
body.profile-page .profile-content :is(h3,.q,.qq) {font-family:Inter,Arial,sans-serif!important;font-weight:500!important}
body.profile-page .profile-content p {line-height:1.8}
body.profile-page .profile-subsection {margin-bottom:24px!important}
body.profile-page .profile-content .k {font-family:Inter,Arial,sans-serif!important;font-size:10px!important;letter-spacing:.10em!important;color:var(--muted)!important}
body.profile-page .profile-content :is(.card,.mod,.qa),body.profile-page .use {border:1px solid #dee2d6!important;background:var(--card)!important;border-radius:16px!important;box-shadow:none!important;padding:24px!important}
body.profile-page .profile-content .etq {background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:18px 0!important;gap:14px!important}
body.profile-page .profile-content .etq:last-child {border-bottom:0!important}
body.profile-page .profile-content .etq:first-child {padding-top:0!important}
body.profile-page .profile-content :is(.chip-attente,.chip-source) {display:inline-block;border:1px solid #d7dfcf!important;border-radius:8px!important;background:#eef1e5!important;color:#485a45!important;font-family:Inter,Arial,sans-serif!important;font-size:10px!important;line-height:1.6!important;padding:6px 9px!important;white-space:normal}
body.profile-page .profile-content .chip-source {background:#e6efe2!important;color:#285439!important}
body.profile-page .profile-content .grille {border-collapse:collapse;font-family:Inter,Arial,sans-serif!important;font-size:12px!important;line-height:1.6}
body.profile-page .profile-content .grille th {font-size:11px!important;font-weight:500!important;color:var(--ink)!important;background:#eef1e5!important;text-align:left;padding:14px!important}
body.profile-page .profile-content .grille td {padding:16px 14px!important;border-color:var(--line)!important}
body.profile-page .profile-content :is(.pend,.verb,.rep,.source) {color:var(--muted)!important}
body.profile-page .profile-content .bigstat .n {font-family:'PT Serif',Georgia,serif!important;font-size:44px!important;font-weight:400!important;letter-spacing:-.025em}
body.profile-page .profile-content .bigstat {gap:24px!important;align-items:center!important}
body.profile-page .profile-content .bigstat .l {font-size:14px!important;line-height:1.7}
body.profile-page .profile-content .grid {gap:14px!important;grid-template-columns:repeat(2,minmax(0,1fr))}
body.profile-page .profile-content .card h3 {font-size:17px!important}
body.profile-page .profile-content .facts {display:block!important}
body.profile-page .profile-content .facts>div {padding:18px 0!important;border-bottom:1px solid var(--line);grid-template-columns:155px minmax(0,1fr)!important;gap:22px!important}
body.profile-page .profile-content .facts dt {font-size:12px;color:var(--muted)}
body.profile-page .profile-content .facts dd {font-size:14px}
body.profile-page .profile-content .steps {display:block!important}
body.profile-page .profile-content .steps li {grid-template-columns:35px minmax(0,1fr);padding:20px 0;border-color:var(--line)}
body.profile-page .profile-content .steps li:before {font-family:'PT Serif',Georgia,serif!important;color:#7b8d70!important}
body.profile-page :is(.ava,.avatar,.initials) {background:#e6eadb!important;color:var(--green)!important;border-radius:50%!important}
body.profile-page .sidebar {position:sticky;top:24px;border:1px solid #d9dfd1;background:var(--card);border-radius:20px;padding:28px;box-shadow:0 8px 30px #203d2905;min-width:0}
body.profile-page .sidebar .eyebrow {font-size:9px;letter-spacing:.13em;color:var(--muted)}
body.profile-page .sidebar h3 {font-family:Inter,Arial,sans-serif!important;font-size:22px!important;font-weight:500;line-height:1.3;letter-spacing:-.03em;margin:13px 0 22px;overflow-wrap:anywhere}
body.profile-page .sidebar .btn {border-radius:999px!important;font-size:12px!important;line-height:1.5!important;padding:13px 15px!important;margin:10px 0 0!important;background:var(--green)!important;color:#fff!important;min-height:46px}
body.profile-page .sidebar .btn.light {background:#eef1e5!important;color:var(--green)!important;border:1px solid #d9dfd1!important}
body.profile-page .sidebar p {font-size:12px;line-height:1.7}
body.profile-page .sidebar :is(.sidebar-note,p:last-child) {font-size:10px!important;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin:22px 0 0}
body.profile-page .profile-extra {border:1px solid var(--line)!important;border-radius:14px!important;padding:0!important;margin:16px 0 24px!important;background:#f0f1e8}
body.profile-page .profile-extra>summary {padding:19px 22px!important;font-size:13px;font-weight:500;line-height:1.7}
body.profile-page .profile-extra[open]>summary {border-bottom:1px solid var(--line);margin-bottom:22px}
body.profile-page .profile-extra>*:not(summary) {margin-left:22px!important;margin-right:22px!important}
body.profile-page .profile-extra .profile-subsection:last-child {margin-bottom:24px!important}
body.profile-page .legacy-nav {white-space:normal!important;flex-wrap:wrap!important}
body.profile-page .profile-content :is(.btn,.action,.linkbtn) {border-radius:999px!important;font-size:12px!important;padding:12px 18px!important;line-height:1.6!important;min-height:44px}
body.profile-page .gap,body.profile-page .interview {background:var(--green)!important;border:0!important;border-radius:20px!important;padding:32px!important;color:var(--paper)!important}
body.profile-page .gap .big,body.profile-page .interview h3 {font-family:'PT Serif',Georgia,serif!important;font-size:28px!important;font-weight:400!important;line-height:1.3!important;letter-spacing:-.03em}
body.profile-page .gap .small {color:#d2dccf!important;font-size:13px!important;line-height:1.8!important}
body.profile-page .gap :is(.btn,.action) {border-radius:999px!important;font-size:11px!important}
body.profile-page .gap .btn-inv {background:var(--paper)!important;color:var(--green)!important}
body.profile-page .gap .btn-line {color:var(--paper)!important;border-color:#ffffff60!important;background:transparent!important}
body.profile-page :is(.foot,footer) {font-family:Inter,Arial,sans-serif!important;border-color:var(--line)!important;font-size:11px!important;line-height:1.8!important;margin-top:30px;padding:25px 0;color:var(--muted)!important}
body.profile-page .sources {overflow-wrap:anywhere}
body.profile-page .hero-profile .opening {color:#e3ebde;border-color:#ffffff40!important;background:#ffffff08;border-radius:999px!important;font-size:11px}

/* Standalone historical profile: same skin, original section structure. */
body.profile-page.mercury-legacy .hero {padding:42px!important;border-radius:22px;background:var(--green)!important;color:#fff!important;margin-bottom:25px!important}
body.profile-page.mercury-legacy .hero :is(.over,.tag) {color:#e1e9dc!important}
body.profile-page.mercury-legacy .toc {gap:15px;overflow:auto;padding:16px 0;white-space:nowrap}
body.profile-page.mercury-legacy .wrap>.card,body.profile-page.mercury-legacy .sect .card,body.profile-page.mercury-legacy .qa {border-radius:16px;background:var(--card);border-color:var(--line)}
body.profile-page.mercury-legacy h2 {font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:32px;letter-spacing:-.025em}

@media(min-width:1450px){body.profile-page .wrap{max-width:1360px!important;padding:0 64px!important}}
@media(max-width:1050px){
  body.profile-page .wrap{padding:0 32px!important}
  body.profile-page .hero-profile{gap:32px!important;padding:36px!important;grid-template-columns:minmax(0,1.5fr) minmax(170px,.8fr)!important}
  body.profile-page .profile-body{grid-template-columns:minmax(0,1fr) 240px!important;gap:30px!important}
  body.profile-page .sidebar{padding:23px}
  body.profile-page .profile-visual{min-height:185px!important;padding:25px!important}
}
@media(max-width:800px){
  body.profile-page .profile-body{grid-template-columns:1fr!important;gap:24px!important}
  body.profile-page .sidebar{position:static!important;order:-1;display:grid;grid-template-columns:1fr 1fr;column-gap:18px;padding:24px}
  body.profile-page .sidebar>:not(.btn){grid-column:1/-1}
  body.profile-page .sidebar h3{margin:8px 0 12px}
  body.profile-page .sidebar .btn{margin-top:4px!important}
  body.profile-page .sidebar .sidebar-note{margin-top:16px;padding-top:12px}
}
@media(max-width:650px){
  body.profile-page .wrap{padding:0 20px!important}
  body.profile-page .top{min-height:82px;padding:20px 0!important;gap:12px!important;flex-wrap:wrap;align-items:center!important}
  body.profile-page .top :is(.mark,.brand){font-size:28px!important}
  body.profile-page .top :is(nav,div){gap:12px!important;flex-wrap:wrap}
  body.profile-page .top a:not(.mark):not(.brand){font-size:11px!important}
  body.profile-page :is(.crumb,.breadcrumb){font-size:11px!important;margin:20px 0!important}
  body.profile-page .hero-profile{grid-template-columns:1fr!important;padding:30px 24px!important;gap:28px!important;border-radius:20px;margin-bottom:22px!important;min-height:0}
  body.profile-page .hero-profile h1,body.profile-page .hero h1{font-size:38px!important;letter-spacing:-.045em!important;margin:15px 0 20px!important}
  body.profile-page .hero-profile .lede{font-size:17px!important}
  body.profile-page .hero-profile p{font-size:13px!important;line-height:1.75!important}
  body.profile-page .hero-profile .over{font-size:9px!important}
  body.profile-page .hero-profile .keyfacts{grid-template-columns:1fr!important;gap:14px!important;padding-top:18px}
  body.profile-page .hero-profile .keyfacts>div{display:grid;grid-template-columns:1fr 1.2fr;gap:14px}
  body.profile-page .hero-profile .keyfacts dt{margin:0}
  body.profile-page .hero-profile .keyfacts dd{font-size:12px}
  body.profile-page .hero-profile .actions{display:grid;grid-template-columns:1fr;margin-top:22px!important}
  body.profile-page .hero-profile :is(.btn,.action){width:100%;margin:0!important;font-size:11px!important}
  body.profile-page .profile-visual{max-width:none;min-height:125px!important;padding:22px!important;border-radius:14px;justify-self:stretch}
  body.profile-page .profile-visual img{max-height:85px!important;max-width:75%!important}
  body.profile-page .profile-visual .house-nameplate{font-size:24px!important}
  body.profile-page .hero-profile .jet-art{height:170px}
  body.profile-page .hero-profile .jet-art span{width:170px;height:170px}
  body.profile-page .anchors{padding:0 0 16px!important;gap:7px!important}
  body.profile-page .anchors a{font-size:11px;padding:10px 14px}
  body.profile-page .profile-body{margin-top:13px!important}
  body.profile-page .profile-body h2{font-size:30px!important}
  body.profile-page .profile-content .profile-subsection h2{font-size:18px!important}
  body.profile-page .profile-content :is(.card,.mod,.qa),body.profile-page .use{padding:19px!important;border-radius:14px!important}
  body.profile-page .profile-content .grid,body.profile-page .use-grid{grid-template-columns:1fr!important}
  body.profile-page .profile-content .facts>div{grid-template-columns:1fr!important;gap:6px!important}
  body.profile-page .profile-content .bigstat{flex-wrap:wrap!important;gap:12px!important}
  body.profile-page .profile-content .etq{display:block!important}
  body.profile-page .profile-content .etq>span{margin-top:10px}
  body.profile-page .profile-content .grille{font-size:11px!important}
  body.profile-page .profile-extra>summary{padding:16px!important;font-size:12px}
  body.profile-page .profile-extra>*:not(summary){margin-left:14px!important;margin-right:14px!important}
  body.profile-page .gap,body.profile-page .interview{padding:24px!important}
  body.profile-page .gap .big{font-size:25px!important}
  body.profile-page .gap .btns{display:grid!important;grid-template-columns:1fr;gap:10px!important}
  body.profile-page .gap .btn{margin:0!important;text-align:center}
  body.profile-page .foot{gap:12px!important;flex-direction:column;align-items:flex-start!important}
  body.profile-page .sidebar{padding:22px;grid-template-columns:1fr}
  body.profile-page .sidebar .btn{margin-top:9px!important}
}
@media(prefers-reduced-motion:reduce){body.profile-page *,body.profile-page *:before,body.profile-page *:after{scroll-behavior:auto!important;transition:none!important}}

/* Keep the reference status legible over the landscape, including older inline themes. */
body.profile-page .hero-profile .hero p.over {color:#c2d2c5!important;font-size:10px!important;letter-spacing:.12em!important}
@media(max-width:650px){body.profile-page .hero-profile .hero p.over{font-size:9px!important}}

:focus-visible{outline:3px solid #89611e;outline-offset:4px}body{overflow-wrap:anywhere}button,input,select,textarea{max-width:100%}

@media(max-width:760px){body.profile-page .hero-profile{background-image:linear-gradient(100deg,rgba(15,40,32,.95),rgba(17,44,35,.80)),url('/assets/mercury/hero-coast-640.webp')}}
