.model-finder-page { --mf-ink: #171c1b; --mf-muted: #505752; --mf-rule: #c9cdc6; --mf-accent: #00675d; font-family: var(--font); }
.mf-brand-art { position: relative; display: block; }
/* Keep the original teal symbol when the shared nav switches the lettering to white. */
.mf-brand-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("assets/app/model-finder-logo.png") center / 100% 100% no-repeat;
  clip-path: inset(0 76% 0 0);
}
@keyframes mf-brand-reveal {
  from { clip-path: inset(0 100% 0 0); transform: translateX(-3px); }
  to { clip-path: inset(0); transform: translateX(0); }
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .nav.nav-entering .mf-brand-art { animation: mf-brand-reveal .8s cubic-bezier(.2,.75,.25,1) .64s backwards; }
}
.model-finder-page h1, .model-finder-page h2, .model-finder-page h3, .model-finder-page p, .model-finder-page figure, .model-finder-page ol { margin: 0; }
.mf-shell { width: min(100%, 1620px); margin-inline: auto; padding-inline: clamp(24px, 4.5vw, 78px); box-sizing: border-box; }
.mf-resources {
  --mf-ink: #f3f7f5; --mf-muted: #c8d2cc; --mf-rule: #54615e; --mf-accent: #a3d3c6;
  background: #000; color: var(--mf-ink);
}
.mf-opening {
  --mf-ink: #f3f7f5;
  --mf-muted: #e1ebe6;
  --mf-image-x: 50%;
  --mf-copy-scrim: linear-gradient(90deg, rgb(0 0 0 / .88) 0%, rgb(0 0 0 / .83) 31%, rgb(0 0 0 / .73) 46%, rgb(0 0 0 / .52) 73%, rgb(0 0 0 / .54) 100%);
  position: relative; isolation: isolate; color: var(--mf-ink); background-color: #000;
  background-image: var(--mf-copy-scrim), linear-gradient(to bottom, rgb(0 0 0 / .34), transparent 30%), url("assets/app/model-finder-hero-shell-v1.webp");
  background-position: var(--mf-image-x) center;
  background-size: cover;
  background-repeat: no-repeat;
}
.mf-network { display: none; }
@media (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .mf-network {
    display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  }
  .mf-network svg {
    position: absolute; left: var(--mf-image-x); top: 50%; max-width: none;
    transform: translate(calc(0% - var(--mf-image-x)), -50%);
  }
}
.mf-lead { position: relative; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.32fr); gap: clamp(32px,4.4vw,86px); align-items: center; padding-top: clamp(125px,11.4vw,178px); padding-bottom: clamp(54px,6.1vw,100px); }
.mf-lead-copy { padding-bottom: 12px; }
.mf-statement, .mf-section-head h2 { display: block; color: inherit; font-weight: 450; font-variation-settings: normal; font-family: var(--font); letter-spacing: -.068em; line-height: .97; }
.mf-statement { font-size: clamp(64px,6.45vw,111px); }
.mf-intro { max-width: 35ch; font-size: clamp(17px,1.37vw,22px); line-height: 1.43; letter-spacing: -.021em; margin-top: clamp(20px,2.45vw,35px) !important; color: var(--mf-muted); }
.mf-button { display: inline-flex; width: fit-content; justify-content: center; align-items: center; gap: 24px; min-height: 49px; padding: 12px 18px; background: var(--mf-ink); border: 1px solid var(--mf-ink); color: #fff; font-size: 15px; font-weight: 540; border-radius: 3px; line-height: 1.3; margin-top: 30px; }
.mf-button span { font-family: Arial,sans-serif; font-size: 20px; font-weight: 400; }
.mf-button:hover { background: var(--mf-accent); border-color: var(--mf-accent); }
.mf-opening .mf-button, .mf-resources .mf-button { background: #edf4ef; border-color: #edf4ef; color: #10211c; }
.mf-opening .mf-button:hover, .mf-resources .mf-button:hover { background: #c5f1df; border-color: #c5f1df; }
.mf-platform, .mf-release, .mf-contact p { color: var(--mf-muted); font-size: 13px; line-height: 1.5; }
.mf-platform { margin-top: 10px !important; }
.mf-example { align-self: center; min-width: 0; }
.mf-mount { display: grid; place-items: center; width: 100%; aspect-ratio: 1.36; padding: 7% 5.5%; background: rgba(4,12,15,.2); border: 1px solid rgba(208,230,223,.28); }
.mf-ui-crop { position: relative; overflow: hidden; width: 100%; aspect-ratio: 860/560; background: #f4f4f4; box-shadow: 0 14px 32px -20px #49483e80; border: 1px solid #dbdbd7; }
.mf-ui-crop img { display: block; position: absolute; max-width: none; width: 167.44186%; height: auto; left: -30.81395%; top: -64.82%; }
.mf-example figcaption { display: flex; align-items: center; justify-content: flex-end; min-height: 48px; font-size: 13px; line-height: 1.35; }
.mf-expand, .mf-inline, .mf-dialog a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; font-weight: 520; color: var(--mf-ink,#171c1b); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #7b8580; }
.mf-expand span,.mf-inline span { color: var(--mf-accent); }
.mf-opening .mf-expand { padding-inline: 12px; color: #f2f7f4; background: rgba(5,16,19,.9); text-decoration-color: #93b1a6; }
.mf-opening .mf-expand span { color: #83e6d8; }
.model-finder-page :is(a,summary):focus-visible,.mf-dialog :is(button,a):focus-visible { outline: 3px solid #148677; outline-offset: 4px; }
.mf-workflow { background: #15201f; color: #f5f4ef; }
.mf-section-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.32fr); gap: clamp(32px,4.4vw,86px); padding-block: clamp(66px,7.4vw,125px); }
.mf-tag { font-size: 13px; line-height: 1.4; font-weight: 540; margin-bottom: 22px !important; color: var(--mf-accent); }
.mf-workflow .mf-tag { color: #a3d3c6; }
.mf-section-head h2 { font-size: clamp(51px,4.4vw,76px); letter-spacing: -.06em; }
.mf-story,.mf-sub { max-width: 35ch; margin-top: 24px !important; font-size: clamp(17px,1.26vw,20px); line-height: 1.5; letter-spacing: -.015em; }
.mf-story { color: #c8d2cc; }
.mf-sub { color: var(--mf-muted); }
.mf-process { list-style: none; counter-reset: step; padding: 0; border-top: 1px solid #54615e; }
.mf-process li { counter-increment: step; position: relative; padding: 21px 0 23px clamp(35px,3.2vw,55px); border-bottom: 1px solid #54615e; }
.mf-process li::before { content: counter(step,decimal-leading-zero); position: absolute; top: 24px; left: 0; color: #a3d3c6; font: 400 13px/1.5 var(--font); font-variant-numeric: tabular-nums; }
.mf-process h3 { font-size: clamp(23px,2vw,32px); color: inherit; font-weight: 470; line-height: 1.16; letter-spacing: -.048em; }
.mf-process p { font-size: 16px; max-width: 58ch; line-height: 1.5; letter-spacing: -.012em; margin-top: 8px; color: #c8d2cc; }
.mf-resources .mf-section-grid { padding-block: clamp(67px,7vw,116px); }
.mf-release { margin-top: 14px !important; max-width: 34ch; }
.mf-help { border-top: 1px solid var(--mf-rule); }
.mf-help details { color: var(--mf-ink); border-bottom: 1px solid var(--mf-rule); }
.mf-help summary { list-style: none; position: relative; cursor: pointer; padding: 19px 36px 19px 0; font-size: clamp(19px,1.55vw,25px); line-height: 1.25; font-weight: 490; letter-spacing: -.035em; }
.mf-help summary::-webkit-details-marker { display: none; }
.mf-help summary::after { content: '+'; position: absolute; right: 1px; top: 50%; transform: translateY(-50%); color: var(--mf-accent); font: 400 23px/1 var(--font); }
.mf-help details[open] summary::after { content: '−'; }
.mf-help details > div { padding: 0 18px 20px 0; font-size: 16px; line-height: 1.55; max-width: 61ch; color: var(--mf-muted); }
.mf-help details p + p { margin-top: 8px; }
.mf-contact { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 14px; }
.mf-inline { font-size: 15px; }
.mf-dialog { width: min(1080px,94vw); max-width: 100vw; max-height: 92dvh; margin: auto; padding: 0 16px 8px; border: 1px solid #c6c9c5; border-radius: 4px; background: #faf9f6; color: #171c1b; box-sizing: border-box; }
.mf-dialog:not([open]) { display: none; }
html:has(.mf-dialog[open]) { overflow: hidden; }
.mf-dialog::backdrop { background: rgba(14,20,19,.83); }
.mf-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; }
.mf-dialog-bar h2 { margin: 0; font-size: 16px; letter-spacing: -.02em; font-weight: 560; }
.mf-dialog-bar button { background: transparent; color: inherit; cursor: pointer; border: 0; min-height: 44px; padding: 0 4px; font: inherit; }
.mf-full-image { overflow: auto; overscroll-behavior: contain; max-height: 70dvh; }
.mf-full-image img { display: block; width: 100%; height: auto; }
.mf-dialog a { font-size: 14px; }
@media (min-width:761px) and (max-width:1060px) {
  .mf-lead,.mf-section-grid { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 28px; }
  .mf-statement { font-size: clamp(54px,6.7vw,72px); }
  .mf-mount { aspect-ratio: 1.15; }
}
@media (max-width:760px) {
  .mf-opening {
    --mf-copy-scrim: linear-gradient(180deg, rgb(0 0 0 / .88) 2%, rgb(0 0 0 / .85) 37%, rgb(0 0 0 / .77) 52%, rgb(0 0 0 / .55) 72%);
    --mf-image-x: 48%;
  }
  .mf-shell { padding-inline: clamp(18px,5vw,34px); }
  .mf-lead,.mf-section-grid { grid-template-columns: 1fr; }
  .mf-lead { padding-top: 97px; padding-bottom: 30px; gap: 26px; }
  .mf-lead-copy { padding-bottom: 0; }
  .mf-statement { font-size: clamp(50px,11.8vw,70px); }
  .mf-intro { margin-top: 16px !important; max-width: 41ch; font-size: 17px; }
  .mf-button { margin-top: 19px; }
  .mf-platform { font-size: 12px; margin-top: 7px !important; }
  .mf-mount { aspect-ratio: auto; padding: 15px; }
  .mf-ui-crop { aspect-ratio: 570/555; }
  .mf-ui-crop img { width: 252.63158%; left: -47.01754%; top: -65.41%; }
  .mf-example figcaption { font-size: 12px; }
  .mf-section-grid,.mf-resources .mf-section-grid { gap: 28px; padding-block: 49px; }
  .mf-tag { margin-bottom: 13px !important; }
  .mf-section-head h2 { font-size: 46px; }
  .mf-story,.mf-sub { margin-top: 15px !important; }
  .mf-process li { padding-block: 18px; }
  .mf-process li::before { top: 20px; }
  .mf-contact { flex-wrap: wrap; }
}
@media (min-width:521px) and (max-width:760px) {
  .mf-ui-crop { aspect-ratio: 860/560; }
  .mf-ui-crop img { width: 167.44186%; left: -30.81395%; top: -64.82%; }
}
@media (max-width:420px) {
  .mf-full-image img { min-width: 760px; }
  .mf-example figcaption { justify-content: flex-start; }
  .mf-expand { flex-shrink: 0; }
}
@media (forced-colors: active) {
  .mf-opening { background-image: none; }
  .mf-brand-art::after { display: none; }
  .mf-button,.mf-help details,.mf-process li,.mf-dialog,.mf-ui-crop { border: 1px solid CanvasText; }
}
@media screen and (forced-colors: none) {
  .mf-opening {background-image:none}
  .mf-opening::before,.mf-opening::after {content:"";position:absolute;inset:0;pointer-events:none}
  .mf-opening::before {z-index:-2;background:url("assets/app/model-finder-hero-shell-v1.webp") var(--mf-image-x) center / cover no-repeat;transform:scaleX(-1)}
  .mf-opening::after {z-index:-1;background-image:var(--mf-copy-scrim),linear-gradient(to bottom,rgb(0 0 0 / .34),transparent 30%)}
  .mf-network svg {left:calc(100% - var(--mf-image-x));transform:translate(calc(var(--mf-image-x) - 100%),-50%)}
}
@media (forced-colors: none) {
  .model-finder-page .mf-button {
    background: white;
    color: black;
    border: 1px solid black;
    transition: background-color .28s ease, color .28s ease, border-color .28s ease;
  }
  .model-finder-page .mf-button span {color:currentColor}
  .model-finder-page .mf-button:is(:hover,:focus-visible) {
    background: black;
    color: white;
    border-color: white;
  }
  .model-finder-page .mf-button:focus-visible {outline:2px solid currentColor;outline-offset:3px}
}
@media (prefers-reduced-motion: reduce) {
  .model-finder-page .mf-button {transition:none}
}
@media (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  .model-finder-page .mf-button {
    background-image:linear-gradient(110deg,white 0%,white 33%,#81ddd1 45%,#78afe5 52%,black 67%,black 100%);
    background-size:400% 100%;
    background-position:0% center;
    transition:background-position .52s ease-in-out,color .38s ease,border-color .38s ease;
  }
  .model-finder-page .mf-button:is(:hover,:focus-visible) {
    background-image:linear-gradient(110deg,white 0%,white 33%,#81ddd1 45%,#78afe5 52%,black 67%,black 100%);
    background-size:400% 100%;
    background-position:100% center;
  }
}
.model-finder-page .mf-button .site-arrow {width:16px;height:16px;transform:rotate(0deg);transition:transform .3s ease-out}
.model-finder-page .mf-button:is(:hover,:focus-visible) .site-arrow {transform:rotate(-45deg)}
@media(prefers-reduced-motion:reduce){.model-finder-page .mf-button .site-arrow {transition:none}}
