/* v2.1: edit the experience; retain the existing art direction and content grid.
   Components here correspond to structural edits, not a replacement theme. */
.ux-polished { --ux-muted:#b0bac5; }
.ux-polished [hidden] {display:none!important;}
.ux-polished :is(a,button,input,textarea,select,summary):focus-visible {outline:2px solid #c3d9e5;outline-offset:5px;}
.ux-polished summary {cursor:pointer;}
.ux-polished main {scroll-margin-top:100px;}
.ux-polished :is(section,details)[id] {scroll-margin-top:100px;}
/* A smaller menu, with ordinary customer needs ahead of specialist terms. */
.master-mega .ux-service-menu {display:block;min-width:0;}
.master-mega .ux-service-menu > nav {display:block;}
.master-mega a.ux-menu-route {display:flex;justify-content:space-between;gap:24px;padding:18px 0;color:#f3f4f8;font-size:19px;border-bottom:1px solid #ffffff20;min-height:56px;}
.ux-specialist-menu {margin-top:18px;border:0;}
.ux-specialist-menu > summary {list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:44px;color:#c0c9d4;font-size:14px;}
.ux-specialist-menu > summary::-webkit-details-marker {display:none;}
.ux-specialist-menu[open] > summary > span {transform:rotate(45deg);}
.master-mega .ux-specialist-menu nav {display:grid;grid-template-columns:1fr 1fr;gap:0 28px;padding:12px 0 0;}
.master-mega .ux-specialist-menu a {display:flex;align-items:center;justify-content:space-between;font-size:14px;min-height:44px;padding:10px 0;}
.master-footer .ux-footer-grid {grid-template-columns:1.5fr .85fr 1.1fr;gap:64px;padding-block:48px;}
.ux-footer-grid .master-footer-brand p {max-width:30ch;}
.ux-footer-grid nav {display:flex;flex-wrap:wrap;flex-direction:column;align-content:start;gap:2px;}
.ux-footer-grid nav a,.ux-footer-grid .master-footer-contact a {min-height:40px;display:flex;align-items:center;}
.ux-polished .master-footer {margin-top:0;}
/* Contextual links are not another marketing section or another grid of cards. */
.ux-context-band {padding:44px 0;border-top:1px solid #ffffff13;border-bottom:1px solid #ffffff13;background:#080d13;}
.ux-context-band > .master-wrap {display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr);align-items:start;gap:64px;}
.ux-context-band h2 {margin:0;color:#eef1f4;font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-size:clamp(26px,2vw,35px);line-height:1.15;text-transform:none;letter-spacing:-.025em;}
.ux-context-band p {margin:0 0 14px;max-width:68ch;font-size:16px;line-height:1.7;color:var(--ux-muted);}
.ux-context-band .master-link {display:inline-flex;margin-right:28px;min-height:40px;font-size:14px;}
.ux-specialist-index {padding:68px 0;background:#070c12;}
.ux-specialist-index .master-wrap {display:grid;grid-template-columns:1fr 1.5fr;gap:26px 64px;}
.ux-specialist-index h2 {font-family:'Roboto Condensed',sans-serif;font-size:32px;line-height:1.2;max-width:16ch;margin:0;}
.ux-specialist-index nav {display:grid;grid-template-columns:1fr 1fr;gap:0 32px;}
.ux-specialist-index nav a {display:flex;justify-content:space-between;min-height:55px;border-bottom:1px solid #ffffff22;padding:12px 0;gap:16px;}
.ux-specialist-index p {grid-column:2;font-size:14px;color:var(--ux-muted);margin:0;line-height:1.8;}
.ux-specialist-index p a {color:#e4d1df;text-decoration:underline;text-underline-offset:4px;}
/* Homepage: edited content plus the restored studio proof and trust transition. */
.ux-home .ux-home-services {padding-block:78px 88px;}
.ux-home .ux-home-services .section-heading h2 {text-transform:none;}
.ux-home .ux-home-services .section-heading h2 strong {font-weight:600;}
.ux-home .nl-service-card {min-height:410px;}
.ux-home .nl-service-card .title {font-size:27px;}
.ux-home .nl-service-card .copy {font-size:16px;line-height:1.75;}
.ux-home .nl-service-card .service-learn {font-size:12px;line-height:1.5;}
.ux-home .questions {padding-block:68px 74px;}
.ux-home .questions-grid {display:block;}
/* Two real columns, one terminating rule. No independent three-row placement. */
.ux-home .questions .faq {display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:0 70px;align-items:stretch;border-bottom:1px solid #ffffff24;}
.ux-home .questions .faq-intro {display:flex;flex-direction:column;min-width:0;padding-bottom:24px;}
.ux-home .questions .faq-heading h2 {font-size:clamp(32px,3.3vw,48px);}
.ux-home .questions .faq-list {min-width:0;margin:0;border:0;align-self:stretch;}
.ux-home .questions .faq-list .faq-item:last-child {border-bottom:0;}
.ux-home .questions .faq-footer {border:0;padding:0;margin-top:auto;display:block;}
.ux-home .faq-list .faq-item {display:block!important;}
.ux-home .faq-answer {max-width:68ch;}
.ux-home .faq-answer p {font-size:16px!important;line-height:1.75;}
.ux-home .faq-answer a {display:block;margin-top:10px;}
.ux-process-link {margin-top:22px;font-size:14px;}
/* No duplicate chapter counters or a sticky second site menu. */
.ux-services .r-hero-foot {display:none;}
.ux-services .r-intro {padding-block:42px;}
.ux-services .s-hero h1 {font-size:clamp(42px,4.5vw,80px);line-height:1.02;max-width:11ch;}
.ux-services #services-home .s-hero-copy {max-width:630px;}
.ux-services .s-section {padding-block:72px;}
.ux-polished .s-sticky-nav,.ux-polished .r-subnav {position:static;}
.ux-services #process {padding-block:42px;}
.ux-services .s-stage-caption {letter-spacing:.09em;}
/* Supporting reference pages should read like reference pages, not repeated sales funnels. */
.ux-reading-page .c-hero {min-height:490px;}
.ux-reading-page .c-hero .c-shell {padding-block:145px 65px;}
.ux-reading-page .c-section {padding-block:56px;}
.ux-reading-page .c-hero h1 {font-size:clamp(38px,4.1vw,70px);}
.ux-reading-page .c-finale {min-height:300px;}
.ux-depth {border-top:1px solid #ffffff23;padding:12px 0;}
.ux-depth summary {display:flex;justify-content:space-between;gap:25px;padding:14px 0;font-size:17px;list-style:none;}
.ux-depth > div {max-width:75ch;padding:4px 0 18px;color:var(--ux-muted);line-height:1.7;}
/* Contact: three fields first, three optional details, one next action. */
.ux-contact .master-contact-layout {padding-top:138px;padding-bottom:72px;}
.ux-contact .master-quote {display:none;}
.ux-contact .master-contact-layout textarea {min-height:126px!important;resize:vertical;}
.ux-contact #message-count {font-variant-numeric:tabular-nums;}
.ux-contact .ux-contact-expectation {max-width:47ch;font-size:15px;line-height:1.75;color:var(--ux-muted);margin-top:30px;}
.ux-contact .np-extra {margin-top:22px;}
.ux-contact #inquiry-result > h2 {font:600 clamp(27px,3vw,40px)/1.1 'Roboto Condensed',sans-serif;margin:0 0 20px;}
.ux-contact #inquiry-result > p {font-size:16px;line-height:1.7;max-width:52ch;color:var(--ux-muted);}
.ux-result-actions {display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:26px;}
.ux-result-actions #inquiry-email {justify-content:space-between;min-height:50px;}
.ux-result-actions #inquiry-edit {background:none;border:0;align-self:flex-start;padding:10px 0;min-height:44px;color:#d6dde6;text-decoration:underline;text-underline-offset:5px;}
.ux-result-alternatives {margin-top:28px;border-top:1px solid #ffffff29;}
.ux-result-alternatives summary {display:flex;align-items:center;justify-content:space-between;min-height:56px;list-style:none;font-size:14px;color:#cad3dd;}
.ux-result-tools {display:flex;flex-wrap:wrap;gap:12px;min-width:0;}
.ux-result-tools pre {width:100%;max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;}
.ux-result-tools button {min-height:44px;padding:10px 16px;border:1px solid #ffffff35;background:transparent;color:#edf1f5;}
.ux-result-tools #inquiry-status {width:100%;font-size:14px;}
/* Portfolio: discovery before display preferences. Industry depth remains available. */
.ux-other-industries {margin-top:16px;border-top:1px solid #ffffff1b;padding-top:7px;}
.ux-other-industries > summary {font:400 13px/1.6 var(--font-body,Inter,sans-serif);min-height:44px;color:#b8c2ce;padding:12px 0;}
.ux-other-industries .x-industry-nav {margin-top:8px;}
.ux-display-options {position:relative;flex:0 0 auto;}
.ux-display-options > summary {list-style:none;min-height:48px;display:flex;align-items:center;gap:15px;color:#c1c9d2;font-size:13px;cursor:pointer;}
.ux-display-options > summary::after {content:'+';font-size:18px;}
.ux-display-options[open] > summary::after {content:'−';}
.ux-display-options .x-tool-options {display:flex;gap:18px;align-items:center;padding:12px 0;}
.ux-polished .x-tools {align-items:start;gap:24px;}
.ux-polished .x-search {flex:1 1 300px;}
.ux-polished .x-discovery-exit {display:none;}
.ux-polished .x-collection-heading {padding-bottom:24px;}
.ux-polished .x-collection-heading h2 {font-size:clamp(30px,3.4vw,50px);}
.ux-polished .x-collection-context {padding-block:12px;margin-bottom:24px;}
.ux-polished .x-collection-context h3 {display:none;}
.ux-polished .x-collection-context .x-collection-total strong {font-size:20px;}
.ux-polished .x-rail-note {line-height:1.7;}
.ux-polished .x-spotlight-caption .x-project-actions {gap:24px;}
.ux-polished .x-spotlight-top .x-sequence[hidden] {display:none!important;}
@media(max-width:1100px) {
 .master-footer .ux-footer-grid {gap:36px;}
 .ux-context-band > .master-wrap {gap:32px;grid-template-columns:1fr 1.2fr;}
 .ux-specialist-index .master-wrap {gap:25px;}
}
@media(max-width:760px) {
 .ux-context-band {padding-block:34px;}
 .ux-context-band > .master-wrap {grid-template-columns:1fr;gap:16px;}
 .ux-context-band h2 {font-size:28px;max-width:22ch;}
 .ux-context-band p {font-size:15px;}
 .ux-context-band .master-link {margin-right:18px;}
 .ux-specialist-index {padding-block:42px;}
 .ux-specialist-index .master-wrap {display:block;}
 .ux-specialist-index h2 {font-size:30px;max-width:22ch;margin-bottom:22px;}
 .ux-specialist-index nav {display:block;}
 .ux-specialist-index p {margin-top:20px;}
 .master-footer .ux-footer-grid {grid-template-columns:1fr 1fr;gap:30px 24px;padding-block:38px;}
 .ux-footer-grid .master-footer-brand {grid-column:1/-1;}
 .ux-footer-grid .master-footer-contact {grid-column:auto;}
 .ux-footer-grid .master-footer-contact a {overflow-wrap:anywhere;font-size:13px;}
 .ux-polished .master-footer-bottom {gap:20px;}
 .ux-home .ux-home-services {padding-block:48px;}
 .ux-home .nl-service-card {min-height:350px;}
 .ux-home .nl-service-card .icon-ring {width:82px;height:82px;margin-bottom:20px;}
 .ux-home .nl-service-card .title {font-size:26px;}
 .ux-home .nl-service-card .copy {font-size:15px;}
 .ux-home .questions {padding-block:44px;}
 .ux-home .questions .faq {display:flex;flex-direction:column;gap:0;}
 .ux-home .questions .faq-intro {display:contents;}
 .ux-home .questions .faq-intro > .eyebrow {order:0;}
 .ux-home .questions .faq-heading {order:1;margin-bottom:24px;}
 .ux-home .questions .faq-list {order:2;width:100%;}
 .ux-home .questions .faq-footer {order:3;padding:22px 0;margin-top:0;}
 .ux-home .questions .faq-heading h2 {font-size:36px;}
 .ux-home .faq-answer p {font-size:15px!important;}
 .ux-home .questions .faq-item summary {font-size:16px;}
 .ux-services .s-section {padding-block:48px;}
 .ux-services .s-hero h1 {font-size:clamp(39px,10.5vw,58px);}
 .ux-reading-page .c-hero {min-height:0;}
 .ux-reading-page .c-hero .c-shell {padding-block:116px 40px;}
 .ux-reading-page .c-section {padding-block:40px;}
 .ux-contact .master-contact-layout {padding-top:104px;padding-bottom:42px;}
 .ux-contact .master-contact-layout h1 {font-size:clamp(39px,10vw,52px);}
 .ux-contact .ux-contact-expectation {display:none;}
 .ux-contact .master-contact-copy > .master-link {display:none;}
 .ux-contact .master-contact-layout textarea {min-height:112px!important;}
 .ux-polished .x-tools {flex-wrap:wrap;gap:6px;}
 .ux-polished .x-search {flex-basis:100%;}
 .ux-display-options {width:100%;}
 .ux-display-options > summary {min-height:44px;justify-content:space-between;}
 .ux-display-options .x-tool-options {justify-content:space-between;}
}
@media(max-width:360px) {
 .master-footer .ux-footer-grid {grid-template-columns:1fr;}
 .ux-footer-grid .master-footer-brand {grid-column:auto;}
 .ux-footer-grid .master-footer-contact a {font-size:14px;}
 .ux-specialist-index h2 {font-size:27px;}
 .ux-contact .master-contact-layout h1 {font-size:38px;}
}
@media(prefers-reduced-motion:reduce) {
 .ux-polished * {scroll-behavior:auto!important;}
 .ux-polished .orbit,.ux-polished .underglow i,.ux-polished .edge-glow i {animation:none!important;}
 .ux-polished .hero-carousel-nav * {transition:none!important;}
}

/* A project ends with relevant evidence and one service, not a six-way menu. */
.ux-study-next {display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:42px 0;border-top:1px solid #ffffff25;}
.ux-study-next a {display:flex;flex-direction:column;gap:10px;padding:14px 0;}
.ux-study-next a span {font-size:13px;color:#aab7c5;}
.ux-study-next a strong {font-size:23px;color:#edf2f5;font-weight:500;}
.ux-industry-guide .x-route-intro {padding-bottom:50px;}
.ux-industry-guide .master-industry-context {padding-block:45px 55px;}
.ux-industry-guide .master-industry-context .master-heading {margin-bottom:28px;}
@media(max-width:760px){.ux-study-next {grid-template-columns:1fr;gap:15px;padding-block:25px;}.ux-study-next a strong{font-size:21px;}}

.ux-polished .x-industry-nav a {grid-template-columns:minmax(0,1fr) 28px;gap:16px;}
.ux-polished .x-industry-count {font-size:12px;}

.ux-contact #inquiry[data-step="result"] :is(.np-form-top,.np-form-description,#inquiry-context) {display:none!important;}
.ux-contact .ux-result-actions #inquiry-email {background:linear-gradient(105deg,#dabddd,#e9b4aa);color:#101820;border:0;font-weight:600;}

.ux-home .hero-carousel-nav button {min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;}

.ux-mobile-other {grid-column:1/-1;font-size:14px;margin-top:8px;}
.ux-mobile-other summary {min-height:44px;padding:12px 0;color:#bac6d3;}
.ux-mobile-other nav {display:flex;flex-direction:column;padding-bottom:15px;}
.ux-mobile-other a {min-height:44px;padding:12px 0;display:flex;justify-content:space-between;border-bottom:1px solid #ffffff20;}
