/* Selected study 03: photographic surfaces and restrained liquid glass. */
.theme-compact { --paper: #f7fafc; --line: #dbe6ee; --glass-edge: rgba(255,255,255,.78); background: var(--paper); }
.theme-compact .study-bar { background: #f2f6f9; }
.theme-compact .site-header { position: sticky; top: 14px; width: min(1184px, calc(100% - 72px)); margin: 14px auto -94px; border: 1px solid var(--glass-edge); border-radius: 100px; background: rgba(249,253,255,.76); -webkit-backdrop-filter: blur(24px) saturate(155%); backdrop-filter: blur(24px) saturate(155%); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80, 0 10px 32px #05283f14, 0 2px 5px #05283f08; }
.theme-compact .nav-shell { width: auto; margin: 0; min-height: 76px; height: auto; padding: 10px 18px; gap: 24px; }
.theme-compact .brand > span { font-size: 1.5rem; }
.theme-compact .main-nav { gap: 8px; }
.theme-compact .main-nav a { font-size: 1rem; padding: 8px 12px; border-radius: 100px; }
.theme-compact .main-nav a:hover { background: #ffffff95; color: #0d4569; }
.theme-compact .button { box-shadow: inset 0 1px 0 #ffffff30, 0 3px 8px #082e4612; }
.theme-compact .header-cta { background: rgba(255,255,255,.72); color: #123e58; border: 1px solid #ffffffc9; box-shadow: inset 0 1px 0 #fff, 0 3px 12px #0b304417; min-height: 46px; }
.theme-compact .header-cta .icon { filter: none; }
.theme-compact .header-cta:hover { background: #fff; }
.theme-compact .glass-hero { position: relative; overflow: hidden; margin: 10px 20px 0; border-radius: 34px; min-height: 525px; padding: 140px 0 54px; isolation: isolate; background: #123c55; }
.glass-hero-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.glass-hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(270deg, #061c36dc 0%, #09253c9c 38%, #09283a15 78%), linear-gradient(0deg, #06263c55, transparent 60%); }
.theme-compact .compact-hero-inner { grid-template-columns: 1fr; gap: 0; width: min(1112px, calc(100% - 80px)); }
.glass-hero-copy { max-width: 560px; color: #fff; }
.theme-compact .compact-hero .eyebrow { color: #edfaff; font-size: .875rem; margin-bottom: 10px; }
.theme-compact .compact-hero h1 { font-size: 3.25rem; line-height: 1.45; text-shadow: 0 2px 20px #041d3426; }
.theme-compact .compact-hero h1 > span { color: #c9eeff; }
.theme-compact .compact-hero-actions { padding-top: 12px; }
.theme-compact .compact-hero-actions > p { color: #fff; font-size: 1.125rem; line-height: 1.9; }
.theme-compact .compact-hero .hero-actions { margin-top: 20px; gap: 12px; }
.theme-compact .compact-hero .button { background: #f3fbff; color: #0b405f; border-color: #ffffffad; min-height: 48px; }
.theme-compact .compact-hero .button .icon { filter: none; }
.theme-compact .compact-hero .button-outline { background: #ffffff19; color: #fff; border-color: #ffffff78; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 #ffffff55, 0 6px 18px #061b3619; }
.theme-compact .compact-hero .button-outline .icon { filter: brightness(0) invert(1); }
.theme-compact .compact-hero .button:hover { background: #d8f2ff; }
.theme-compact .compact-hero .button-outline:hover { background: #ffffff35; }
.glass-hero-caption { position: absolute; left: 36px; bottom: 26px; color: #fff; display: inline-flex; align-items: center; gap: 20px; font-size: .875rem; padding: 9px 15px; border-radius: 100px; border: 1px solid #ffffff6b; background: #123b5140; -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); }
.glass-hero-caption .icon { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.theme-compact .compact-jobs { padding: 32px 0 26px; background: #f1f7fb; border-top: 0; border-bottom: 1px solid #dbe6ee; }
.theme-compact .compact-section-heading h2 { font-size: 1.75rem; letter-spacing: normal; }
.theme-compact .jobs-grid { gap: 20px; }
.theme-compact .job-card { padding: 0; border-radius: 24px; position: relative; overflow: hidden; border: 1px solid #ffffff; background: #e7f7ff; box-shadow: 0 8px 24px #1d56780a, inset 0 1px 0 #fff; }
.theme-compact .job-card:hover { transform: translateY(-3px); border-color: #b1d8ee; box-shadow: 0 12px 28px #1d567815; }
.job-cover { height: 112px; overflow: hidden; position: relative; }
.job-cover > img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.job-card:nth-child(2) .job-cover > img { object-position: 80% 60%; }
.job-card:nth-child(3) .job-cover > img { object-position: 30% 70%; }
.job-card-content { padding: 18px 20px 16px; position: relative; margin-top: -18px; border-top: 1px solid #ffffffb0; border-radius: 24px 24px 0 0; background: rgba(255,255,255,.83); -webkit-backdrop-filter: blur(22px) saturate(135%); backdrop-filter: blur(22px) saturate(135%); }
.theme-compact .job-card-top { margin-bottom: 10px; }
.theme-compact .job-sector { color: #51646f; }
.theme-compact .demo-tag { background: #f7fbfdb3; color: #51646f; }
.theme-compact .job-heading h3 { font-size: 1.375rem; font-weight: 800; }
.theme-compact .job-meta { margin-block: 14px; }
.theme-compact .job-bottom { padding-top: 12px; }
.theme-compact .job-bottom .icon-button { background: #e6f3fbc9; border: 1px solid #fff; border-radius: 50%; }
.theme-compact .filter-tabs, .workflow-tabs { background: #e4edf4b0; border: 1px solid #ffffffce; border-radius: 100px; padding: 4px; }
.theme-compact .filter, .workflow-tabs button { border-radius: 100px; }
.theme-compact .filter.active, .workflow-tabs button[aria-selected=true] { background: #fff; border-color: #fff; box-shadow: 0 2px 6px #17415c12; }
.theme-compact .job-search { border-radius: 100px; background: #ffffffc4; border-color: #d9e5ed; }
.theme-compact .compact-proof { background: #fff; padding-block: 24px; }
.theme-compact .compact-workflow { padding-block: 36px; }
.theme-compact .workflow-panel { border-radius: 26px; border: 1px solid #fff; background: #edf5facc; box-shadow: inset 0 1px 0 #fff, 0 5px 24px #113f5c06; }
.theme-compact .compact-services { background: #edf3f7; padding-block: 32px; }
.theme-compact .compact-service-grid { border-radius: 24px; border-color: #fff; overflow: hidden; background: #ffffffb3; box-shadow: inset 0 1px 0 #fff, 0 5px 24px #113f5c05; }
.theme-compact .compact-service { padding-block: 24px; }
.theme-compact .compact-service .icon-button { border-radius: 50%; background: #fff; }
.glass-founders { padding: 38px 0; }
.glass-founders .eyebrow { font-size: .875rem; margin-bottom: 5px; }
.glass-founders-intro { font-size: 1rem; color: var(--muted); }
.glass-founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.founder-card { display: flex; gap: 24px; padding: 14px; align-items: center; border: 1px solid #fff; border-radius: 28px; background: #fff; box-shadow: 0 6px 24px #143e5707; min-width: 0; }
.founder-photo { width: 142px; height: 176px; object-fit: cover; border-radius: 18px; flex-shrink: 0; }
.founder-copy { padding: 8px 0 8px 8px; min-width: 0; }
.founder-role { color: var(--deep); font-size: .875rem; }
.founder-copy h3 { font-size: 1.25rem; font-weight: 700; margin-block: 2px 6px; }
.founder-copy p { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.founder-copy .text-button { margin-top: 16px; font-size: 1rem; }
.theme-compact .compact-footer { background: #eaf1f6; }
.theme-compact dialog { border-radius: 28px; border: 1px solid #ffffffa6; background: #fafdff; box-shadow: 0 24px 100px #05283f30; }
.theme-compact dialog::backdrop { background: #0b283f66; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .theme-compact .site-header { background: #f1f8fc; }
  .job-card-content { background: #f8fcff; }
  .theme-compact .compact-hero .button-outline { background: #174a69; }
}
@media (max-width: 1100px) {
  .theme-compact .main-nav { gap: 0; }
  .theme-compact .main-nav a { padding-inline: 8px; }
  .theme-compact .nav-shell { gap: 12px; }
  .founder-card { gap: 16px; }
  .founder-photo { width: 115px; height: 156px; }
}
@media (max-width: 1000px) {
  .theme-compact .main-nav { top: calc(100% + 10px); right: 0; left: 0; border: 1px solid #fff; border-radius: 24px; background: #f5fafff5; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 16px 40px #0b314727; }
  .theme-compact .main-nav a { padding: 11px 15px; }
  .theme-compact .menu-toggle { background: #ffffff60; border: 1px solid #ffffffa0; }
  .glass-founders-grid { grid-template-columns: 1fr; }
  .founder-photo { width: 142px; height: 176px; }
}
@media (max-width: 680px) {
  .theme-compact .site-header { top: 10px; width: calc(100% - 28px); margin: 10px auto -86px; border-radius: 100px; }
  .theme-compact .nav-shell { padding: 10px 12px; min-height: 66px; gap: 8px; }
  .theme-compact .brand > span { font-size: 1.25rem; }
  .theme-compact .brand > img { width: 27px; height: 27px; }
  .theme-compact .header-cta { padding-inline: 12px; min-height: 44px; }
  .theme-compact .glass-hero { margin: 8px 8px 0; border-radius: 28px; min-height: 520px; padding: 126px 0 68px; }
  .theme-compact .compact-hero-inner { width: calc(100% - 40px); }
  .glass-hero-image { object-position: 53% 50%; }
  .glass-hero-shade { background: linear-gradient(270deg,#071e36cf,#0a2d4780), linear-gradient(0deg,#08253c70,transparent); }
  .theme-compact .compact-hero h1 { font-size: 2.625rem; }
  .theme-compact .compact-hero .hero-actions { gap: 10px; margin-top: 22px; }
  .theme-compact .compact-hero .button { font-size: 1rem; padding-inline: 16px; }
  .glass-hero-caption { bottom: 19px; left: 22px; right: auto; padding: 6px 12px; font-size: .875rem; }
  .theme-compact .compact-jobs { padding-top: 28px; }
  .theme-compact .compact-section-heading h2 { font-size: 1.5rem; }
  .theme-compact .filter-tabs { border-radius: 24px; }
  .theme-compact .filter { padding-inline: 10px; }
  .theme-compact .jobs-grid { gap: 16px; }
  .job-cover { height: 116px; }
  .job-card-content { padding: 16px 18px; }
  .theme-compact .compact-proof { padding-block: 20px; }
  .theme-compact .compact-workflow, .glass-founders { padding-block: 28px; }
  .theme-compact .workflow-panel { padding: 22px; }
  .theme-compact .compact-services { padding-block: 28px; }
  .glass-founders .compact-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .founder-card { padding: 12px; gap: 16px; border-radius: 24px; }
  .founder-photo { width: 108px; height: 150px; border-radius: 16px; }
  .founder-copy { padding: 4px 0 4px 0; }
  .founder-copy h3 { font-size: 1.125rem; }
  .founder-copy .text-button { margin-top: 10px; }
}
@media (max-width: 360px) {
  .theme-compact .nav-shell { flex-wrap: nowrap; gap: 7px; padding-inline: 10px; }
  .theme-compact .brand { margin-left: 0; gap: 4px; }
  .theme-compact .brand > span { font-size: 1.125rem; }
  .theme-compact .brand > img { width: 23px; height: 23px; }
  .theme-compact .header-cta { margin-right: auto; padding-inline: 10px; }
  .theme-compact .menu-toggle { width: 34px; height: 40px; }
  .theme-compact .compact-hero h1 { font-size: 2.375rem; }
  .theme-compact .glass-hero { padding-top: 115px; min-height: 580px; }
  .founder-card { gap: 12px; }
  .founder-photo { width: 82px; height: 132px; }
  .founder-copy h3 { font-size: 1.0625rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .theme-compact .site-header, .job-card-content { background: #f5faff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Keep filtered surfaces in their own compositor layer during sticky scrolling. */
.theme-compact .site-header,
.theme-compact .compact-hero .button-outline,
.glass-hero-caption,
.job-card-content { transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* Clip the header's blur independently so it cannot paint beyond its capsule.
   The navigation remains unclipped and can open below the floating header. */
.theme-compact .site-header { isolation: isolate; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.theme-compact .site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; clip-path: inset(0 round 100px); background: rgba(249,253,255,.76); -webkit-backdrop-filter: blur(24px) saturate(155%); backdrop-filter: blur(24px) saturate(155%); }
.theme-compact .compact-hero .button-outline,
.glass-hero-caption { -webkit-backdrop-filter: none; backdrop-filter: none; }
.job-card-content { -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (prefers-reduced-transparency: reduce) {
  .theme-compact .site-header::before { background: #f5faff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.theme-compact .site-header::before { overflow: hidden; -webkit-mask-image: linear-gradient(#fff,#fff); mask-image: linear-gradient(#fff,#fff); }

/* Annotation revision: balanced inset, quieter chrome, and a left-hand brand. */
.theme-compact .site-header { top: 28px; width: min(1184px, calc(100% - 96px)); margin: 38px auto -116px; }
.theme-compact .site-header::before { background: rgba(247,253,255,.65); -webkit-backdrop-filter: blur(10px) saturate(135%); backdrop-filter: blur(10px) saturate(135%); }
.theme-compact .nav-shell { display: grid; grid-template-columns: auto 1fr auto; }
.theme-compact .nav-shell .brand { grid-column: 3; grid-row: 1; }
.theme-compact .brand { direction: ltr; }
.theme-compact .nav-shell .main-nav { grid-column: 2; grid-row: 1; justify-self: center; }
.theme-compact .header-cta { grid-column: 1; grid-row: 1; margin: 0; }
.theme-compact .menu-toggle { grid-column: 1; grid-row: 1; }
.theme-compact .glass-hero { padding-top: 148px; }
.theme-compact .button { gap: 10px; }

/* The supplied mountain is the entire clickable card's background. */
.theme-compact .job-card { background: #a9def7 url('assets/jobs-ice-mountain.webp') 55% center / cover no-repeat; }
.theme-compact .job-card:nth-child(2) { background-position: 78% center; }
.theme-compact .job-card:nth-child(3) { background-position: 95% center; }
.theme-compact .job-card-content { margin: 0; min-height: 252px; padding: 22px; border: 0; border-radius: inherit; background: linear-gradient(110deg,#ffffffd9,#f7fcffbd 56%,#f4faff99); }
.theme-compact .job-title { font-size: inherit; }
.theme-compact .job-title::after { content: ''; position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.theme-compact .job-card:focus-within { outline: 3px solid #146899; outline-offset: 4px; }
.theme-compact .job-title:focus-visible { outline: 0; }
.theme-compact .job-card .job-sector,
.theme-compact .job-card .job-heading p,
.theme-compact .job-card .job-meta { color: #294b60; }
.theme-compact .job-card .job-bottom { border-top-color: #ffffffa6; margin-top: 18px; }
.job-card-detail { font-size: .875rem; font-weight: 600; color: #164b6b; }
.theme-compact .job-card:hover .job-card-detail { text-decoration: underline; text-underline-offset: 4px; }
.jobs-view-tools { display: flex; align-items: center; gap: 12px; }
.theme-compact .filter-tabs,
.workflow-tabs,
.job-view-switch { border: 1px solid #ffffffd9; background: linear-gradient(135deg,#ffffffb8,#d8e9f47a); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80, 0 3px 10px #173e5409; -webkit-backdrop-filter: blur(8px) saturate(130%); backdrop-filter: blur(8px) saturate(130%); }
.job-view-switch { display: flex; padding: 3px; border-radius: 100px; gap: 2px; }
.view-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: transparent; border-radius: 50%; }
.view-toggle.active { background: #ffffffd9; box-shadow: 0 2px 7px #173e5414, inset 0 1px 0 #fff; }
.view-toggle .icon { width: 18px; height: 18px; }
.job-table-wrap { border: 1px solid #d8e5ed; background: #ffffffb8; border-radius: 22px; overflow: auto; }
.job-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: right; font-size: 1rem; }
.job-table caption { text-align: right; }
.job-table th { font-size: .875rem; font-weight: 600; color: #456476; background: #e9f3f9; padding: 13px 18px; white-space: nowrap; }
.job-table td { padding: 14px 18px; border-top: 1px solid #e1ebf2; }
.job-table-row { cursor: pointer; }
.job-table-row:hover, .job-table-row:focus-within { background: #eaf6fc; }
.table-job-title { font-size: 1rem; font-weight: 650; text-align: right; background: none; padding: 0; }
.job-table td small { display: block; text-align: right; color: #516776; font-size: .875rem; margin-top: 3px; }
.job-table td:last-child { white-space: nowrap; }
.theme-compact .compact-service { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; }
.theme-compact .compact-service .service-action { grid-column: 1 / -1; justify-self: center; inline-size: min(100%, 10rem); font-size: 1rem; margin-top: 4px; }
.theme-compact .founder-link { margin-top: 14px; padding: 7px 20px; min-height: 44px; background: #edf7fd; border-color: #c8dce9; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-trust-badge { display: grid; place-items: center; width: 96px; min-height: 96px; padding: 7px; border: 1px solid #d8e5ed; border-radius: 16px; background: #fff; text-align: center; }
.footer-trust-badge img, #zarinpal img { display: block; width: 80px; max-width: 100%; height: auto; }

html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 1.2s cubic-bezier(.22,1,.36,1), transform 1.2s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay,0ms); }
html.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1000px) {
  .theme-compact .header-cta { grid-column: 2; justify-self: start; }
  .theme-compact .main-nav { justify-self: stretch; }
  .jobs-view-tools { margin-right: auto; }
}
@media (max-width: 680px) {
  .theme-compact .site-header { top: 20px; width: calc(100% - 56px); margin: 28px auto -96px; }
  .theme-compact .glass-hero { padding-top: 132px; padding-bottom: 38px; min-height: 0; }
  .theme-compact .nav-shell { gap: 8px; }
  .theme-compact .header-cta { padding-inline: 12px; }
  .theme-compact .brand > span { font-size: 1.25rem; }
  .theme-compact .jobs-toolbar { flex-direction: column; align-items: stretch; }
  .jobs-view-tools { width: 100%; margin: 0; gap: 10px; }
  .theme-compact .job-search { flex: 1; width: auto; min-width: 0; }
  .theme-compact .job-search input { min-width: 0; width: 100%; }
  .job-view-switch { flex-shrink: 0; }
  .theme-compact .job-card-content { min-height: 240px; padding: 22px 20px; }
  .theme-compact .compact-footer-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .theme-compact .compact-footer-main > p { order: 0; width: auto; font-size: 1rem; }
}
@media (max-width: 360px) {
  .theme-compact .site-header { top: 16px; width: calc(100% - 48px); margin: 24px auto -92px; }
  .theme-compact .nav-shell { padding-inline: 10px; gap: 6px; }
  .theme-compact .brand { gap: 4px; }
  .theme-compact .brand > span { font-size: 1.0625rem; }
  .theme-compact .brand > img { width: 22px; height: 22px; }
  .theme-compact .header-cta { padding-inline: 9px; }
  .theme-compact .menu-toggle { width: 32px; }
  .theme-compact .compact-hero h1 { font-size: 2.375rem; }
  .view-toggle { width: 36px; }
}
@media (prefers-reduced-transparency: reduce) {
  .theme-compact .site-header::before, .theme-compact .filter-tabs, .workflow-tabs, .job-view-switch { background: #f5faff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 1000px) {
  .theme-compact .nav-shell .main-nav { grid-column: 1 / -1; justify-self: stretch; }
}

/* One motion language for segmented controls, results and buttons. */
:root { --motion-duration:320ms; --motion-ease:cubic-bezier(.22,1,.36,1); }
.theme-compact .site-header::before { background:rgba(247,253,255,.58); -webkit-backdrop-filter:blur(4px) saturate(125%); backdrop-filter:blur(4px) saturate(125%); }
.has-indicator { position:relative; isolation:isolate; }
.segment-indicator { position:absolute; top:0; left:0; z-index:0; pointer-events:none; border-radius:999px; background:linear-gradient(135deg,#fff,#f6fcffdc); box-shadow:inset 0 1px 0 #fff,0 2px 7px #173e5414; transition:transform var(--motion-duration) var(--motion-ease),width var(--motion-duration) var(--motion-ease),height var(--motion-duration) var(--motion-ease); }
.has-indicator > button { position:relative; z-index:1; transition:color 220ms ease,background 220ms ease; }
.theme-compact .has-indicator .filter.active,
.has-indicator .view-toggle.active,
.has-indicator button[aria-selected=true],
.has-indicator button[aria-current=page] { background:transparent; box-shadow:none; border-color:transparent; }
.theme-compact .button,.theme-compact .pill-action { transition:background 220ms ease,color 220ms ease,border-color 220ms ease,box-shadow 220ms ease,transform 220ms var(--motion-ease); }
.theme-compact .compact-hero .button:hover,
.theme-compact .compact-hero .button-outline:hover { background:#d5f2ff; color:#0b405f; border-color:#e8f8ff; transform:translateY(-2px); box-shadow:0 6px 18px #061b3620; }
.pill-action { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:6px 16px; border:1px solid #0879a4; border-radius:999px; background:#087ba7; color:#fff; font-size:.875rem; line-height:1.5; font-weight:650; white-space:nowrap; cursor:pointer; }
.pill-action:hover { background:#09638b; border-color:#09638b; color:#fff; transform:translateY(-1px); }
.theme-compact .job-card-detail { position:relative; z-index:3; color:#fff; text-decoration:none; }
.theme-compact .job-card:hover .job-card-detail { text-decoration:none; }
.theme-compact .job-card-content { min-height:220px; }
.theme-compact .job-table { min-width:840px; line-height:1.55; }
.theme-compact .job-table th { padding:10px 12px; }
.theme-compact .job-table td { padding:8px 12px; font-size:.875rem; }
.theme-compact .job-table .table-job-title { font-size:1rem; }
.theme-compact .job-table td:last-child { width:120px; }
.theme-compact .compact-service .service-action { color:#fff; font-size:1rem; min-height:42px; }
.theme-compact .founder-link { width:44px; height:44px; min-height:44px; padding:0; }
.theme-compact .founder-link .icon { width:21px; height:21px; filter:none; }
.job-pagination { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:20px; }
.pagination-pages { display:flex; gap:3px; padding:4px; background:#e4edf490; border:1px solid #fff; border-radius:999px; }
.pagination-pages button { width:40px; height:40px; border-radius:50%; background:none; color:#1b4c68; }
.pagination-pages button[aria-current=page] { font-weight:700; }
.pagination-step { min-height:40px; padding:6px 14px; border:1px solid #cddfe9; background:#ffffffc4; color:#1c4c66; border-radius:999px; transition:background 220ms ease; }
.pagination-step:hover:not(:disabled) { background:#e1f1fb; }
.pagination-step:disabled { opacity:.4; cursor:default; }
@media (max-width:1000px) {
  .theme-compact .nav-shell .main-nav { display:flex; flex-direction:column; align-items:stretch; position:absolute; top:calc(100% + 10px); right:0; left:auto; width:min(300px,100%); max-width:100%; grid-column:1 / -1; justify-self:end; transform-origin:top right; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-8px) scale(.98); transition:opacity 220ms ease,transform var(--motion-duration) var(--motion-ease),visibility 0s linear 240ms; }
  .theme-compact .nav-shell .main-nav.is-open { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0) scale(1); transition-delay:0s; }
  .theme-compact .nav-shell .main-nav a { width:100%; }
}
@media (max-width:680px) { .theme-compact .job-card-content { min-height:220px; } }
@media (prefers-reduced-motion:reduce) {
  .segment-indicator,.theme-compact .nav-shell .main-nav { transition:none!important; }
}

/* Publication copy and expanded workflow revision. */
.theme-compact .employment-tag{border:1px solid rgba(19,73,98,.16);border-radius:7px;padding:3px 9px;font-size:12px;white-space:nowrap;background:rgba(255,255,255,.72);color:#3b5668}
.theme-compact .job-english-title, .theme-compact .job-heading .job-english-title{margin:5px 0 0;font-size:1rem;font-weight:650;line-height:1.5;text-align:right;color:#4d6879}
.theme-compact .workflow-step-heading{display:flex;align-items:center;gap:14px;margin:0;font-size:17px;font-weight:700;line-height:1.7}
.theme-compact .workflow-step p{margin:8px 0 0}
.theme-compact .compact-footer-bottom a[href="#top"]{display:inline-flex;align-items:center;gap:7px}
.theme-compact button:disabled{opacity:.55;cursor:not-allowed;transform:none}

/* Local review: keep wide tables inside their own scrollport. */
.theme-compact { --glass-radius: 38px; }
.theme-compact .site-header,
.theme-compact .glass-hero { border-radius: var(--glass-radius); }
/* One inset controls the header position above and inside the hero. */
.theme-compact { --content-gutters: 96px; --hero-top: 10px; --hero-inset: 28px; }
.theme-compact .site-header {
  top: var(--hero-inset);
  width: calc(min(var(--max), 100% - var(--content-gutters)) - 2 * var(--hero-inset));
  margin-block-start: calc(var(--hero-top) + var(--hero-inset));
}
@media (max-width: 1100px) { .theme-compact { --content-gutters: 64px; } }
@media (max-width: 850px) { .theme-compact { --content-gutters: 48px; } }
@media (max-width: 680px) {
  .theme-compact { --content-gutters: 16px; --hero-top: 8px; --hero-inset: 20px; }
}
@media (max-width: 360px) { .theme-compact { --hero-inset: 16px; } }
@media (min-width: 681px) {
  .theme-compact .glass-hero,
  .theme-compact .compact-jobs > .container {
    width: min(var(--max), calc(100% - var(--content-gutters)));
    margin-inline: auto;
  }
}
.theme-compact .site-header::before { clip-path: inset(0 round var(--glass-radius)); }

.jobs-stage { min-inline-size: 0; max-inline-size: 100%; contain: inline-size; overflow-anchor: none; }
.job-table-wrap { position: relative; max-inline-size: 100%; overflow: hidden; }
.job-table-scroll { position: relative; max-inline-size: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
.job-table-scroll::-webkit-scrollbar { display: none; }
.job-table-scroll:focus-visible { outline-offset: -3px; }
.job-table-scrollbar { padding: 7px 12px 10px; border-block-start: 1px solid #d8e5ed; background: #eaf3f9; }
.job-table-scrollbar label { display: block; font-size: .8125rem; color: #34556a; }
.job-table-scrollbar input { display: block; inline-size: 100%; block-size: 24px; margin: 1px 0 0; cursor: ew-resize; accent-color: #145b81; }
.job-table-scrollbar input:focus-visible { outline-offset: 0; }
#jobs-title:focus { outline: none; }

.theme-compact .job-card-content { background: linear-gradient(110deg,#ffffff36,#f7fcff2f 56%,#f4faff26); }
.theme-compact .job-card .job-meta { display: grid; gap: 4px; }
.theme-compact .job-company { font-weight: 550; }
.theme-compact .workflow-panel { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(22px,4vw,48px); }
.theme-compact .workflow-steps { border-inline-start: 1px solid #cddfea; padding-inline-start: clamp(16px,3vw,32px); }
.theme-compact .workflow-step { padding-block: 12px; }
.theme-compact .workflow-step:first-child { padding-block-start: 0; }
.theme-compact .workflow-step:last-child { padding-block-end: 0; }

.theme-compact .compact-service-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
}
.theme-compact .compact-service {
  grid-template-columns: auto minmax(0,1fr); grid-template-rows: 1fr auto;
  gap: 14px; padding: 22px 20px; border: 0; border-radius: 24px;
  background:
    linear-gradient(48deg, transparent 22%, #e6f9ff55 22% 42%, transparent 42%),
    linear-gradient(135deg, transparent 58%, #def6ff70 58% 80%, transparent 80%),
    linear-gradient(110deg, #9ddff2, #c6ebf8);
  color: #07131a;
}
.theme-compact .compact-service-icon .icon { filter: none; }
.theme-compact .compact-service p,
.theme-compact .compact-service .compact-price { color: #07131a; }
.theme-compact .compact-service .service-action { background: #087ba7; border-color: #087ba7; color: #fff; }
.theme-compact .compact-service .service-action:hover { background: #08638b; border-color: #08638b; }

@media (max-width: 760px) {
  .theme-compact .compact-service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .theme-compact { --glass-radius: 34px; }
  .theme-compact .workflow-panel { grid-template-columns: minmax(0,1fr); }
  .theme-compact .workflow-steps { border-inline-start: 0; border-block-start: 1px solid #cddfea; padding-inline-start: 0; padding-block-start: 18px; }
}


/* Keep the close control outside the dialog's scrolling content. */
.theme-compact #demo-dialog { overflow: hidden; }
.theme-compact .dialog-shell { display: flex; flex-direction: column; max-block-size: calc(100dvh - 42px); padding: 0; }
.theme-compact .dialog-heading { flex: none; justify-content: flex-end; padding: 12px 20px 4px; margin: 0; }
.theme-compact #dialog-content { min-block-size: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 24px; }
.phone-error { color: #a1222e; }
input[aria-invalid="true"] { border-color: #a1222e; }
