/* Homepage art direction. Scoped to keep internal pages independent. */
body.home-page {
    --hf-ink: #17201e;
    --hf-paper: #f1f2ec;
    --hf-dark: #101918;
    --hf-lime: #d1f58c;
    --hf-line: rgba(24, 33, 30, .18);
    --accent: #d1f58c;
    --accent-2: #b8e66e;
    --accent-glow: rgba(209, 245, 140, .15);
    --font-display: "Manrope", Arial, sans-serif;
    background: var(--hf-dark);
    color: var(--hf-paper);
    animation: none;
}
.home-page::before { display: none; }
.home-page .container { width: min(1440px, calc(100% - 112px)); }
.home-page .site-main h1,
.home-page .site-main h2,
.home-page .site-main h3,
.home-page .site-main h4 { margin: 0; font-family: "Manrope", Arial, sans-serif; font-weight: 500; text-wrap: initial; }
.home-page .site-main p { margin: 0; }
.home-page .site-main section { scroll-margin-top: 94px; }
.home-page .site-main a { -webkit-tap-highlight-color: transparent; }
.home-page ::selection { color: var(--hf-dark); background: var(--hf-lime); }
.home-page :focus-visible { outline: 2px solid #689b30; outline-offset: 6px; }
.home-page .site-header { background: rgba(16, 25, 24, .96); border-bottom: 1px solid rgba(241, 242, 236, .14); box-shadow: none; }
.home-page .header-inner { min-height: 92px; gap: 34px; }
.home-page .logo { gap: 11px; }
.home-page .logo-mark { width: 33px; height: 38px; padding: 3px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.home-page .logo-mark img { height: 32px; filter: none; }
.home-page .logo-text { font-family: "Manrope", Arial, sans-serif; font-size: 22px; letter-spacing: -.06em; font-weight: 700; color: var(--hf-paper); }
.home-page .main-nav { gap: 29px; font-size: 13px; color: #c1cac4; }
.home-page .main-nav a::after { background: var(--hf-lime); }
.home-page .header-button { display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; background: transparent; color: var(--hf-paper); border: 1px solid #69746d; border-radius: 3px; box-shadow: none; font-size: 13px; font-weight: 500; }
.home-page .header-button:hover { border-color: var(--hf-lime); background: var(--hf-lime); color: var(--hf-dark); box-shadow: none; }
.hf-skip { position: fixed; top: 8px; left: 20px; z-index: 100; padding: 14px; background: var(--hf-lime); color: var(--hf-dark); transform: translateY(-160%); }
.hf-skip:focus { transform: translateY(0); }
.hf-label { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1.5 "Manrope", Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.hf-label i { display: block; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--hf-lime); }
.hf-hero { padding: 39px 0 0; overflow: clip; }
.hf-hero-overline { display: flex; justify-content: space-between; align-items: center; color: #bcc6bf; }
.hf-hero-location { font-size: 12px; letter-spacing: .04em; }
.hf-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; padding: 38px 0 52px; }
.home-page .hf-hero h1 { font-size: clamp(42px, 4.7vw, 76px); line-height: 1.12; letter-spacing: -.055em; color: var(--hf-paper); }
.hf-hero h1 span { color: var(--hf-lime); }
.home-page .hf-hero-copy > p { max-width: 440px; margin-top: 29px; font-size: 16px; line-height: 1.85; color: #b6c1ba; }
.hf-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; margin-top: 33px; }
.hf-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; min-height: 58px; padding: 0 23px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 600; transition: background .2s, transform .2s; }
.hf-button-lime { color: var(--hf-dark); background: var(--hf-lime); }
.hf-button-lime:hover { background: #e1ffad; transform: translateY(-2px); }
.hf-button svg { width: 19px; height: 19px; }
.hf-text-link { display: inline-flex; align-items: center; gap: 18px; width: fit-content; padding: 8px 0; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 500; }
.hf-text-link svg { width: 17px; height: 17px; transition: transform .2s; }
.hf-text-link:hover svg { transform: translate(2px, -2px); }
.hf-art-caption { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 13px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: #aebbb2; }
.home-page .hf-hero-copy > .hf-hero-fit { margin-top: 18px; max-width: none; color: #acbbb2; font-size: 12px; line-height: 1.7; }
.hf-hero-projects { display: grid; gap: 12px; min-width: 0; }
.hf-hero-projects .hf-art-caption { margin-bottom: 2px; }
.hf-hero-project { display: grid; grid-template-columns: 1fr 1.05fr; position: relative; height: 127px; overflow: hidden; border-radius: 3px; background: #e1e9dd; color: var(--hf-ink); }
.hf-hero-project-copy { position: relative; z-index: 1; padding: 19px 10px 18px 21px; align-self: center; }
.hf-hero-project-copy > span { display: block; color: #516249; font-size: 10px; }
.hf-hero-project-copy strong { display: block; margin-top: 8px; font-size: 22px; font-weight: 500; letter-spacing: -.045em; }
.hf-hero-project-copy small { display: block; margin-top: 6px; color: #516249; font-size: 10px; line-height: 1.6; }
.hf-hero-project-screen { position: relative; min-width: 0; min-height: 0; margin: 19px 0 0; overflow: hidden; border: 4px solid #27352f; border-right: 0; border-bottom: 0; border-radius: 5px 0 0 0; background: #f5f3eb; }
.hf-hero-project-screen img { display: block; width: 100%; height: auto; }
.hf-hero-project-checkprofit { background: #e6e2d4; }
.hf-hero-project-checkprofit .hf-hero-project-screen img { width: 155%; max-width: none; }
.hf-hero-project-realty { background: #d7e3e7; }
.hf-hero-project-arrow { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 28px; height: 28px; background: var(--hf-dark); color: var(--hf-paper); border-radius: 50%; }
.hf-hero-project-arrow svg { width: 14px; height: 14px; }
.hf-hero-project:hover .hf-hero-project-arrow { background: var(--hf-lime); color: var(--hf-dark); }
.hf-hero-project:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hf-screen-bar { display: flex; align-items: center; gap: 4px; height: 25px; padding: 0 9px; background: #26302c; color: #d1dcd3; }
.hf-screen-bar i { width: 4px; height: 4px; border: 1px solid #9aaba0; border-radius: 50%; }
.hf-screen-bar span { margin: auto; padding-right: 20px; font-size: 8px; font-family: "IBM Plex Mono", monospace; font-weight: 500; }
.hf-hero-bottom { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr auto; align-items: center; gap: 30px; padding: 28px 0; border-top: 1px solid #39433b; }
.hf-hero-bottom-label { font-size: 12px; line-height: 1.7; color: #a6b4aa; }
.hf-hero-bottom > div { padding-left: 28px; border-left: 1px solid #39433b; }
.hf-hero-bottom strong { display: block; font-size: 13px; font-weight: 500; }
.hf-hero-bottom > div > span { display: block; margin-top: 6px; font-size: 12px; color: #a6b4aa; }
.hf-hero-bottom > a { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; }
.hf-hero-bottom > a svg { width: 17px; height: 17px; color: var(--hf-lime); }
.hf-light { color: var(--hf-ink); background: var(--hf-paper); color-scheme: light; }
.hf-hero-fit a { display: inline-flex; align-items: center; gap: 12px; color: var(--hf-lime); text-underline-offset: 4px; }
.hf-hero-fit a:hover { text-decoration: underline; }
.hf-ai-section { padding: 80px 0; background: #182520; }
.hf-ai-section .hf-section-meta > span:last-child { color: #b2c2b5; }
.home-page .hf-ai-section .hf-section-heading > p { max-width: 355px; color: #b2c2b5; }
.hf-ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.hf-ai-card { display: flex; flex-direction: column; min-width: 0; padding: 32px; border: 0; border-radius: 4px; background: #20352b; scroll-margin-top: 115px; border-top: 1px solid #6b846e; }
.hf-ai-card-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--hf-lime); font-size: 12px; letter-spacing: .04em; }
.home-page .hf-ai-card h3 { margin-top: 24px; color: var(--hf-paper); font-size: clamp(27px, 2.8vw, 42px); line-height: 1.2; letter-spacing: -.045em; }
.home-page .hf-ai-card > p { max-width: 500px; margin-top: 20px; color: #c1cec3; font-size: 15px; line-height: 1.8; }
.hf-ai-card ul { list-style: none; padding: 0; margin: 24px 0 28px; }
.hf-ai-card li { display: flex; gap: 12px; padding: 9px 0; border-top: 0; color: #d9e1d7; font-size: 14px; line-height: 1.8; }
.hf-ai-card li::before { content: '+'; flex: 0 0 12px; color: var(--hf-lime); }
.hf-ai-action { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: auto; min-height: 48px; border-top: 1px solid #75955c; padding-top: 17px; color: var(--hf-lime); font-size: 14px; }
.hf-ai-action > span { font-size: 24px; line-height: 1; }
.hf-ai-action:hover { color: #e5ffb8; text-decoration: underline; text-underline-offset: 5px; }
.hf-ai-section-bottom { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-top: 32px; }
.home-page .hf-ai-section-bottom > p { max-width: 620px; color: #b2c2b5; font-size: 14px; line-height: 1.8; }
.hf-ai-section-bottom .hf-text-link { flex-shrink: 0; color: var(--hf-lime); }
.hf-ai-hero { padding: 30px 0 70px; }
.hf-ai-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 65px; align-items: center; margin-top: 60px; }
.home-page .hf-ai-hero h1 { margin: 24px 0; font-size: clamp(42px, 4.6vw, 76px); line-height: 1.13; letter-spacing: -.055em; }
.hf-ai-hero h1 > span { color: var(--hf-lime); }
.home-page .hf-ai-hero-grid > div > p { max-width: 530px; color: #b2c2b5; font-size: 16px; line-height: 1.85; }
.hf-ai-hero .hf-button { margin-top: 30px; }
.hf-ai-connections { padding: 30px; background: #1e3028; border: 1px solid #4e6251; border-radius: 4px; }
.hf-ai-connections > .hf-label { color: var(--hf-lime); font-size: 10px; }
.hf-ai-connections ul { list-style: none; margin: 25px 0 0; padding: 0; }
.hf-ai-connections li { display: grid; grid-template-columns: 22px 1fr; gap: 15px; padding: 20px 0; border-top: 1px solid #435849; }
.hf-ai-connections li:last-child { padding-bottom: 0; }
.hf-ai-connections li > span { padding-top: 4px; color: var(--hf-lime); font-size: 10px; }
.hf-ai-connections strong { color: var(--hf-paper); font-size: 18px; font-weight: 500; }
.home-page .hf-ai-connections p { margin-top: 10px; color: #b2c2b5; font-size: 13px; line-height: 1.8; }
.hf-ai-integration { margin-bottom: 25px; padding-top: 20px; border-top: 1px solid #435849; }
.hf-ai-integration > strong { color: var(--hf-paper); font-weight: 500; font-size: 15px; }
.home-page .hf-ai-integration p { margin-top: 13px; color: #c1cec3; font-size: 14px; line-height: 1.85; }
.hf-ai-other { display: grid; grid-template-columns: .8fr 1.4fr auto; gap: 35px; align-items: center; margin-top: 38px; padding-top: 28px; border-top: 1px solid #435849; }
.hf-ai-other > strong { font-size: 19px; font-weight: 500; letter-spacing: -.025em; }
.home-page .hf-ai-other p { color: #b2c2b5; font-size: 14px; line-height: 1.85; }
.hf-ai-other .hf-text-link { color: var(--hf-lime); }
.hf-ai-delivery { padding: 80px 0; }
.hf-content-services { padding: 80px 0; background: var(--hf-dark); }
.hf-content-services .hf-section-meta > span:last-child { color: #b2c2b5; }
.hf-content-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; margin-top: 48px; }
.home-page .hf-content-intro h2 { font-size: clamp(34px,3.4vw,52px); line-height: 1.2; letter-spacing: -.05em; }
.home-page .hf-content-intro p { max-width: 440px; margin-top: 25px; color: #b2c2b5; font-size: 15px; line-height: 1.85; }
.hf-content-audiences article { padding: 28px 0; border-top: 1px solid #435849; }
.hf-content-audiences article:first-child { padding-top: 0; border-top: 0; }
.hf-content-audiences article:last-child { padding-bottom: 0; }
.hf-content-audiences .hf-label { color: var(--hf-lime); font-size: 12px; }
.home-page .hf-content-audiences h3 { margin: 16px 0; font-size: 24px; line-height: 1.4; letter-spacing: -.03em; }
.home-page .hf-content-audiences p { color: #b2c2b5; font-size: 15px; line-height: 1.85; }
.hf-content-audiences .hf-text-link { margin-top: 18px; color: var(--hf-lime); }
.hf-media-portal { display: grid; grid-template-columns: 1fr 1.15fr auto; align-items: center; gap: 35px; margin-top: 45px; padding: 28px; background: #1e3028; border-radius: 4px; }
.hf-media-portal .hf-label { color: var(--hf-lime); font-size: 12px; }
.home-page .hf-media-portal h3 { margin-top: 12px; font-size: 23px; line-height: 1.4; letter-spacing: -.03em; }
.home-page .hf-media-portal p { color: #c1cec3; font-size: 15px; line-height: 1.85; }
.hf-media-portal .hf-text-link { color: var(--hf-lime); }
.hf-ai-delivery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding: 0; margin: 0; list-style: none; }
.hf-ai-delivery-grid > li { padding-top: 22px; border-top: 1px solid var(--hf-line); }
.hf-ai-delivery-grid > li > span { color: #586e50; font-size: 11px; }
.home-page .hf-ai-delivery-grid h3 { margin: 23px 0 16px; color: var(--hf-ink); font-size: 23px; line-height: 1.35; letter-spacing: -.035em; }
.home-page .hf-ai-delivery-grid p { color: #465544; font-size: 14px; line-height: 1.85; }
.hf-section-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hf-section-meta > span:last-child { font-size: 12px; color: #465544; }
.hf-work { padding: 104px 0 0; padding-top: 88px; }
.hf-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin: 40px 0 44px; }
.home-page .hf-section-heading h2 { font-size: clamp(42px, 4.8vw, 72px); line-height: 1.12; letter-spacing: -.055em; }
.home-page .hf-section-heading > p { max-width: 310px; margin-bottom: 6px; color: #5a675f; font-size: 14px; line-height: 1.8; }
.hf-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 30px; }
.hf-project { min-width: 0; scroll-margin-top: 110px; }
.hf-project-visual { position: relative; }
.hf-passenger-preview { padding: 28px; border-radius: 4px; background: #dbe5df; }
.hf-passenger-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; color: #354b34; font-size: 12px; line-height: 1.7; }
.hf-passenger-heading a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.hf-passenger-heading svg, .hf-passenger-gallery svg { width: 17px; height: 17px; }
.hf-passenger-screens { display: grid; grid-template-columns: minmax(0, 1.49fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.hf-passenger-screens figure { min-width: 0; margin: 0; }
.hf-passenger-screens figcaption { margin-bottom: 12px; color: #354b34; font-size: 12px; line-height: 1.7; }
.hf-passenger-screens figure > a { display: block; border: 1px solid #9aa995; border-radius: 3px; overflow: hidden; }
.hf-passenger-screens img { display: block; width: 100%; height: auto; }
.hf-passenger-screens a:hover { outline: 2px solid #36542a; outline-offset: 3px; }
.hf-passenger-gallery { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; margin-top: 18px; color: #203726; font-size: 13px; }
.hf-passenger-preview a:focus-visible { outline: 2px solid #36542a; outline-offset: 3px; }
@media (max-width: 720px) {
    .hf-passenger-preview { padding: 20px; }
    .hf-passenger-heading { margin-bottom: 18px; }
    .hf-passenger-screens { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hf-passenger-screens figure + figure { width: min(100%, 280px); justify-self: center; }
}
.hf-project-admin-preview { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid #cbd0c5; color: var(--hf-dark); }
.hf-project-admin-preview img { display: block; width: clamp(88px, 23%, 150px); height: auto; border-radius: 3px; }
.hf-project-admin-preview > span:not([aria-hidden]) { flex: 1; min-width: 0; }
.hf-project-admin-preview strong { display: block; font-size: 13px; font-weight: 600; }
.hf-project-admin-preview small { display: block; margin-top: 5px; color: #5e6a60; font-size: 11px; line-height: 1.6; }
.hf-project-admin-preview:hover strong { color: #557f31; }
.hf-project-zoom { display: inline-flex; align-items: center; gap: 9px; position: absolute; bottom: 24px; left: 24px; min-height: 40px; padding: 0 14px; border: 1px solid #70816d; border-radius: 3px; background: #17231ef2; color: var(--hf-paper); font-size: 10px; transition: background .2s, color .2s; }
.hf-project-zoom:hover { background: var(--hf-lime); color: var(--hf-dark); }
.hf-project-tickets .hf-project-zoom { left: 144px; }
.hf-project-tickets { grid-column: 1 / -1; }
.hf-project-image { display: block; position: relative; overflow: hidden; height: 350px; padding: 25px 34px 0; border-radius: 4px; background: #e0dfd3; }
.hf-project-image-label { position: relative; z-index: 1; font-size: 11px; letter-spacing: .025em; color: #2d3e33; }
.hf-project-browser { position: relative; margin: 37px 0 0; border: 5px solid #27352f; border-bottom: 0; border-radius: 8px 8px 0 0; background: #fff; box-shadow: 0 25px 45px #112b262b; transition: box-shadow .2s; }
.hf-project-browser > img { display: block; width: 100%; height: auto; }
.hf-project-image:hover .hf-project-browser { box-shadow: 0 25px 45px #112b2650; }
.hf-project-tickets .hf-project-image { height: 475px; padding: 30px 0 0 44px; background: #dbe5df; }
.hf-project-tickets .hf-project-browser { width: 78%; margin: 34px 0 0 22%; }
.hf-project-tickets .hf-project-image::after { content: "МоиБилеты"; position: absolute; left: 42px; bottom: 45px; font-size: clamp(26px, 4vw, 60px); line-height: 1; letter-spacing: -.05em; color: #214336; writing-mode: vertical-rl; transform: rotate(180deg); }
.hf-project-checkprofit .hf-project-image { background: #d8d7be; }
.hf-project-checkprofit .hf-project-browser { width: 100%; margin-left: 0; }
.hf-project-realty .hf-project-image { background: #d7dfe6; }
.hf-project-realty .hf-project-browser { width: 100%; margin-left: 0; }
.hf-project-open { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 47px; height: 47px; border-radius: 50%; color: #fff; background: var(--hf-dark); transition: color .2s, background .2s; }
.hf-project-image:hover .hf-project-open { color: var(--hf-dark); background: var(--hf-lime); }
.hf-project-info { padding-top: 22px; }
.hf-project-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-page .hf-project-title h3 { font-size: 26px; letter-spacing: -.045em; }
.hf-project-title > span { color: #727e73; font-size: 10px; }
.hf-project-title a:hover { color: #557f31; }
.hf-project-detail { min-width: 0; }
.hf-project-summary { margin: 19px 0 0; }
.hf-project-summary > div { display: grid; grid-template-columns: 66px 1fr; gap: 15px; padding: 12px 0; border-bottom: 1px solid #d7dccf; }
.hf-project-summary dt { padding-top: 3px; font-size: 12px; color: #66735f; }
.hf-project-summary dd { margin: 0; color: #465544; font-size: 14px; line-height: 1.8; }
.hf-project-summary > div:last-child { border-bottom: 0; }
.hf-project-summary > div:last-child dt { color: #3f6630; }
.hf-project-summary > div:last-child dd { color: #213d2b; }
.hf-case-link { display: inline-flex; align-items: center; gap: 35px; margin-top: 24px; padding-bottom: 7px; border-bottom: 1px solid #7b8c73; font-size: 14px; }
.hf-case-link svg { width: 18px; height: 18px; transition: transform .2s; }
.hf-case-link:hover svg { transform: translate(3px,-3px); }
.home-page .hf-project h4 { margin-top: 14px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.home-page .hf-project-info > p { max-width: 500px; margin-top: 10px; font-size: 13px; line-height: 1.8; color: #5e6a60; }
.hf-project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.hf-project-tags span { padding: 5px 10px; border: 1px solid #cbd0c5; border-radius: 2px; font-size: 11px; color: #4a594f; }
.hf-project-tickets .hf-project-info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
.hf-project-tickets .hf-project-title { grid-column: 1; grid-row: 1; align-items: flex-start; justify-content: flex-start; gap: 20px; }
.hf-project-tickets .hf-project-title h3 { font-size: 36px; }
.hf-project-tickets .hf-project-title > span { padding-top: 9px; }
.home-page .hf-project-tickets h4 { margin-top: 0; }
.hf-more-work { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 25px; align-items: center; padding: 32px 0; margin-top: 64px; border-top: 1px solid var(--hf-line); border-bottom: 0; }
.hf-more-work > .hf-label { color: #627064; font-size: 9px; }
.hf-more-work > a { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 12px; }
.hf-more-work > a:hover { color: #4c7627; }
.hf-more-work svg { width: 15px; height: 15px; flex-shrink: 0; }
.hf-services { padding: 104px 0 112px; }
.hf-services-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; margin-top: 54px; }
.home-page .hf-services-intro h2 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.2; letter-spacing: -.055em; }
.hf-services-intro h2 span { color: #6a7a6c; }
.home-page .hf-services-intro > p { max-width: 335px; margin: 26px 0 24px; color: #465544; font-size: 14px; line-height: 1.85; }
.hf-service-list { border-top: 1px solid var(--hf-line); }
.hf-service { display: grid; grid-template-columns: 25px 1fr 22px; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--hf-line); transition: background .2s; }
.hf-service-number { padding-top: 5px; font-size: 9px; color: #737f74; }
.home-page .hf-service h3 { font-size: 21px; line-height: 1.4; letter-spacing: -.035em; }
.home-page .hf-service p { max-width: 400px; margin: 11px 0 16px; font-size: 14px; line-height: 1.8; color: #465544; }
.hf-service-tags { color: #4b5d45; font-size: 11px; }
.hf-service > svg { width: 21px; height: 21px; margin-top: 3px; transition: transform .2s; }
.hf-service:hover > svg { transform: translate(3px, -3px); }
.hf-service:hover h3 { color: #557f31; }
.hf-approach { background: #182520; padding: 88px 0 100px; }
.hf-approach .hf-section-meta { padding-bottom: 32px; border-bottom: 1px solid #3b4940; }
.hf-approach .hf-section-meta > span:last-child { color: #abbcad; }
.hf-approach-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; margin-top: 58px; }
.home-page .hf-approach-intro h2 { font-size: clamp(36px, 3.5vw, 55px); line-height: 1.2; letter-spacing: -.05em; }
.home-page .hf-approach-intro > p { max-width: 340px; margin: 25px 0 20px; font-size: 14px; line-height: 1.85; color: #b2c2b5; }
.hf-approach .hf-text-link { color: var(--hf-lime); }
.hf-contract-note { display: flex; align-items: flex-start; gap: 20px; padding-top: 64px; }
.hf-contract-note > span { font-size: 40px; line-height: 1; color: var(--hf-lime); }
.home-page .hf-contract-note p { max-width: 290px; color: #b2c2b5; font-size: 13px; line-height: 1.9; }
.hf-process { padding: 0; margin: 0; list-style: none; }
.hf-process li { display: grid; grid-template-columns: 30px 1fr; gap: 23px; padding: 28px 0; border-top: 1px solid #3b4940; }
.hf-process li:first-child { padding-top: 0; border-top: 0; }
.hf-process li > span { padding-top: 5px; color: var(--hf-lime); font-size: 10px; }
.home-page .hf-process h3 { font-size: 21px; line-height: 1.4; letter-spacing: -.025em; }
.home-page .hf-process p { max-width: 450px; margin: 12px 0; font-size: 14px; line-height: 1.85; color: #b2c2b5; }
.hf-process small { display: block; font-size: 12px; color: var(--hf-lime); }
.hf-faq { padding: 106px 0 115px; }
.hf-faq-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; }
.home-page .hf-faq h2 { margin: 28px 0; font-size: clamp(33px, 3.3vw, 52px); line-height: 1.2; letter-spacing: -.05em; }
.hf-faq-list { border-top: 1px solid var(--hf-line); }
.hf-faq details { border-bottom: 1px solid var(--hf-line); }
.hf-faq summary { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; font-size: 15px; line-height: 1.65; font-weight: 500; list-style: none; cursor: pointer; }
.hf-faq summary::-webkit-details-marker { display: none; }
.hf-faq summary > span { position: relative; flex: 0 0 16px; height: 16px; margin-top: 4px; }
.hf-faq summary > span::before,
.hf-faq summary > span::after { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 1px; background: currentColor; }
.hf-faq summary > span::after { transform: rotate(90deg); transition: transform .2s; }
.hf-faq details[open] summary > span::after { transform: rotate(0); }
.home-page .hf-faq details > p { max-width: 450px; padding-bottom: 27px; font-size: 14px; line-height: 1.9; color: #465544; }
.hf-contact { padding: 68px 0 45px; color: var(--hf-dark); background: var(--hf-lime); }
.hf-contact .hf-label i { background: var(--hf-dark); }
.hf-contact-grid { display: flex; justify-content: space-between; align-items: center; gap: 50px; margin-top: 35px; }
.home-page .hf-contact h2 { font-size: clamp(48px, 6.3vw, 94px); line-height: 1.08; letter-spacing: -.065em; }
.hf-contact-action { display: flex; align-items: center; justify-content: center; gap: 15px; flex-direction: column; width: 155px; height: 155px; flex-shrink: 0; border: 1px solid #5a733b; border-radius: 50%; transition: background .25s, color .25s; }
.hf-contact-action span { font-size: 13px; }
.hf-contact-action > span[aria-hidden] { font-size: 41px; line-height: 1; }
.hf-contact-action > svg { width: 41px; height: 41px; }
.hf-contact-action:hover { color: var(--hf-lime); background: var(--hf-dark); }
.hf-contact-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-top: 47px; padding-top: 27px; border-top: 1px solid #94b461; }
.home-page .hf-contact-bottom p { color: #3c4f2b; font-size: 13px; line-height: 1.85; }
.hf-contact-bottom > a { display: flex; align-items: center; gap: 25px; font-size: 16px; letter-spacing: -.03em; }
.hf-contact-bottom > a svg { width: 20px; height: 20px; }
.home-page .site-footer { padding: 65px 0 0; background: var(--hf-dark); border-top: 0; }
.home-page .footer-main { gap: 45px; padding-bottom: 45px; }
.home-page .footer-brand p { max-width: 280px; margin-top: 21px; color: #c2cec5; font-size: 13px; line-height: 1.9; }
.home-page .footer-column h3 { color: #d6dfd6; font: 500 10px/1.5 "Manrope", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.home-page .footer-column a,
.home-page .footer-column span { color: #c2cec5; font-size: 13px; }
.home-page .footer-column a:hover { color: var(--hf-lime); }
.home-page .footer-bottom { padding: 22px 0; border-color: #344039; color: #b5c4b8; font-size: 12px; }
.home-page .cookie-consent { left: auto; right: 22px; bottom: 22px; width: min(390px, calc(100% - 32px)); padding: 0; }
.home-page .cookie-consent-panel { display: block; padding: 20px; border-radius: 4px; border: 1px solid #536247; background: #17231e; box-shadow: 0 8px 35px #0003; }
.home-page .cookie-consent-text strong { font-size: 12px; }
.home-page .cookie-consent-text p { font-size: 10px; line-height: 1.8; color: #bcc7be; }
.home-page .cookie-consent-text a { color: #d1e5c3; }
.home-page .cookie-consent-actions { display: flex; gap: 10px; margin-top: 16px; }
.home-page .cookie-consent-actions .btn { flex: 1; width: auto; min-height: 37px; padding: 0 10px; border-radius: 2px; font-size: 10px; box-shadow: none; }
.home-page .cookie-consent-actions .btn-primary { background: var(--hf-lime); color: var(--hf-dark); }
.home-page .cookie-consent-actions .btn-secondary { color: var(--hf-paper); background: transparent; border-color: #74856b; }

/* Interface viewer: native dialog provides focus trapping and Escape support. */
.home-page.is-screen-open { overflow: hidden; }
.hf-image-viewer { width: min(1320px, calc(100% - 64px)); max-width: none; height: min(940px, calc(100dvh - 64px)); max-height: calc(100dvh - 64px); margin: auto; padding: 0; border: 1px solid #687960; border-radius: 5px; background: var(--hf-dark); color: var(--hf-paper); font-family: "Manrope", Arial, sans-serif; }
.hf-image-viewer::backdrop { background: #07110ee6; backdrop-filter: blur(8px); }
.hf-viewer-shell { display: grid; grid-template-rows: auto minmax(0,1fr) auto; height: 100%; }
.hf-viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 28px; border-bottom: 1px solid #354639; }
.hf-viewer-head .hf-label { font-size: 8px; color: #a7b6a8; }
.hf-viewer-head h2 { margin: 7px 0 0; font-family: inherit; font-weight: 500; font-size: 21px; letter-spacing: -.035em; }
.hf-viewer-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #75816b; border-radius: 3px; background: transparent; color: var(--hf-paper); cursor: pointer; }
.hf-viewer-close:hover { background: #334533; }
.hf-viewer-stage { display: flex; justify-content: center; align-items: center; overflow: auto; min-height: 0; padding: 24px; background: #202d26; }
.hf-viewer-stage > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.hf-viewer-stage.is-zoomed { display: block; padding: 0; }
.hf-viewer-stage.is-zoomed > img { width: auto; max-width: none; max-height: none; margin: 0 auto; }
.hf-viewer-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 20px 28px; border-top: 1px solid #354639; }
.hf-viewer-footer > p { max-width: 620px; margin: 0; color: #c1cdbf; font-size: 11px; line-height: 1.8; }
.hf-viewer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 20px; flex-shrink: 0; }
.hf-viewer-actions > a { color: #d1f58c; font-size: 10px; }
.hf-viewer-actions button { min-height: 38px; padding: 0 12px; border: 1px solid #75816b; border-radius: 2px; background: transparent; color: #d1f58c; font-family: inherit; font-size: 10px; cursor: pointer; }
.hf-viewer-actions button:hover { background: #334533; }
.hf-viewer-navigation { display: flex; align-items: center; gap: 12px; }
.hf-viewer-navigation[hidden] { display: none; }
.hf-viewer-navigation > span { min-width: 32px; text-align: center; font-size: 10px; font-variant-numeric: tabular-nums; }

/* Project case studies share the homepage visual language. */
.hf-case-hero { padding: 30px 0 70px; }
.hf-case-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12px; color: #acbcae; }
.hf-case-breadcrumb > a:hover { color: var(--hf-lime); }
.hf-case-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin: 60px 0 48px; }
.hf-case-heading .hf-label { color: #bdcaba; }
.home-page .hf-case-heading h1 { margin: 18px 0; font-size: clamp(56px, 6.4vw, 96px); line-height: 1.1; letter-spacing: -.055em; }
.home-page .hf-case-subtitle { max-width: 500px; color: #d1f58c; font-size: 17px; line-height: 1.7; letter-spacing: -.02em; }
.home-page .hf-case-heading-copy > p { max-width: 460px; color: #bac8b9; font-size: 14px; line-height: 1.9; }
.hf-case-heading-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 25px; margin-top: 25px; }
.hf-case-heading-actions .hf-button { min-height: 50px; font-size: 11px; gap: 25px; }
.hf-case-cover { overflow: hidden; border-radius: 4px; padding: 27px 34px 0; color: var(--hf-ink); background: #dce6d7; }
.hf-case-cover-checkprofit { background: #d8d7be; }
.hf-case-cover-realty { background: #d7dfe6; }
.hf-case-cover-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 27px; font-size: 11px; }
.hf-case-cover > a { display: block; position: relative; width: min(100%, 1040px); height: 490px; margin: 0 auto; overflow: hidden; border: 6px solid #26382f; border-bottom: 0; border-radius: 9px 9px 0 0; }
.hf-case-cover > a > img { display: block; width: 100%; height: auto; }
.hf-case-cover-checkprofit > a { height: auto; aspect-ratio: 1200 / 676; }
.home-page .hf-case-cover-tickets > a { height: auto; }
.hf-cover-zoom { display: inline-flex; align-items: center; justify-content: space-between; position: absolute; bottom: 22px; right: 22px; gap: 28px; min-height: 42px; padding: 0 16px; border: 1px solid #889681; border-radius: 3px; background: #17231ef5; color: #f1f2ec; font-size: 12px; }
.hf-cover-zoom svg { width: 17px; height: 17px; }
.hf-case-cover a:hover .hf-cover-zoom, .hf-case-extra-screen a:hover .hf-cover-zoom { background: var(--hf-lime); color: var(--hf-dark); }
.hf-case-overview { padding: 80px 0 50px; }
.hf-case-cover { scroll-margin-top: 115px; }
.hf-case-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 45px; }
.home-page .hf-case-overview h2, .home-page .hf-case-capabilities h2, .home-page .hf-case-more-screens h2 { font-size: clamp(36px, 3.8vw, 58px); line-height: 1.2; letter-spacing: -.05em; }
.hf-case-summary { margin: 0; }
.hf-case-summary > div { padding: 21px 0; border-top: 1px solid var(--hf-line); }
.hf-case-summary > div:first-child { padding-top: 0; border-top: 0; }
.hf-case-summary dt { margin-bottom: 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #5a7051; }
.hf-case-summary dd { margin: 0; font-size: 16px; line-height: 1.8; color: #344c39; }
.hf-case-overview .hf-project-tags { margin-top: 35px; }
.hf-case-capabilities { padding: 40px 0 85px; }
.hf-case-capabilities > .container { padding-top: 40px; border-top: 1px solid var(--hf-line); }
.home-page .hf-case-capabilities h2 { margin-top: 38px; }
.hf-case-modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 45px; }
.hf-case-modules-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hf-case-modules > article { padding-top: 23px; border-top: 1px solid var(--hf-line); }
.hf-case-modules > article > span { font-size: 10px; color: #617354; }
.home-page .hf-case-modules h3 { margin: 24px 0 13px; font-size: 19px; line-height: 1.5; letter-spacing: -.035em; }
.home-page .hf-case-modules p { color: #586e55; font-size: 14px; line-height: 1.9; }
.hf-case-more-screens { padding: 72px 0; background: #182520; }
.hf-case-more-screens .hf-section-meta > span:last-child { color: #b2c2b5; }
.hf-case-screen-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin: 35px 0 42px; }
.home-page .hf-case-screen-heading p { max-width: 340px; color: #b2c2b5; font-size: 14px; line-height: 1.9; }
.hf-case-extra-screen { margin: 0; }
.hf-case-extra-screen + .hf-case-extra-screen { margin-top: 44px; }
.hf-case-extra-screen > a { display: block; position: relative; padding: 35px 35px 0; max-height: 640px; overflow: hidden; background: #dce6d7; border-radius: 4px; }
.hf-case-extra-screen img { display: block; width: 100%; height: auto; border: 5px solid #26382f; border-bottom: 0; border-radius: 7px 7px 0 0; }
.hf-case-extra-screen figcaption { margin-top: 20px; color: #b2c2b5; font-size: 11px; line-height: 1.8; }
.hf-case-next { padding: 65px 0; }
.hf-case-next > .container > a { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-top: 25px; }
.home-page .hf-case-next h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1.2; letter-spacing: -.05em; }
.home-page .hf-case-next p { margin-top: 15px; color: #586e55; font-size: 14px; }
.hf-case-next > .container > a > svg { width: 52px; height: 52px; flex-shrink: 0; }
.hf-case-next > .container > a:hover { color: #537534; }
.hf-featured-case { margin-bottom: 54px; padding: 36px; background: #e3e8de; border-radius: 4px; scroll-margin-top: 115px; }
.hf-featured-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 35px; }
.hf-featured-heading .hf-label { color: #50634e; font-size: 12px; }
.home-page .hf-featured-heading h3 { margin-top: 19px; font-size: 42px; line-height: 1.15; letter-spacing: -.05em; }
.home-page .hf-featured-heading .hf-featured-lead { margin-top: 16px; color: var(--hf-ink); font-size: clamp(19px, 1.8vw, 27px); line-height: 1.4; letter-spacing: -.035em; }
.hf-featured-context { align-self: end; }
.home-page .hf-featured-context p { max-width: 540px; color: #465544; font-size: 14px; line-height: 1.85; }
.hf-featured-context .hf-case-link { margin-top: 18px; font-size: 13px; }
.hf-featured-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hf-featured-screens figure { min-width: 0; margin: 0; }
.hf-featured-role { padding: 18px 0; border-top: 1px solid #aebba6; }
.hf-featured-role > span { display: block; color: #53654b; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.hf-featured-role > strong { display: block; margin-top: 10px; font-size: 16px; font-weight: 500; letter-spacing: -.025em; }
.hf-featured-shot { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #c9cec0; background: #f3f0e7; }
.hf-featured-shot img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top; }
.hf-featured-enlarge { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; background: var(--hf-dark); color: var(--hf-paper); border-radius: 50%; }
.hf-featured-enlarge svg { width: 16px; height: 16px; }
.hf-featured-shot:hover .hf-featured-enlarge { background: var(--hf-lime); color: var(--hf-dark); }
.hf-featured-screens figcaption { margin-top: 14px; color: #465544; font-size: 14px; line-height: 1.75; }
.hf-featured-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #b9c3b1; }
.home-page .hf-featured-bottom p { font-size: 13px; color: #465544; line-height: 1.7; }
.hf-featured-bottom > a { display: inline-flex; align-items: center; gap: 22px; font-size: 13px; }
.hf-featured-bottom > a svg { width: 18px; height: 18px; }
.hf-featured-bottom > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hf-project-grid-compact .hf-project-tickets { grid-column: auto; }
.hf-project-grid-compact .hf-project-tickets .hf-project-image { height: 350px; padding: 25px 34px 0; }
.hf-project-grid-compact .hf-project-tickets .hf-project-browser { width: 100%; margin: 37px 0 0; }
.hf-project-grid-compact .hf-project-tickets .hf-project-image::after { content: none; }
.hf-project-grid-compact .hf-project-tickets .hf-project-info { display: block; }
.hf-project-grid-compact .hf-project-tickets .hf-project-title { justify-content: space-between; align-items: center; }
.home-page .hf-project-grid-compact .hf-project-tickets h3 { font-size: 26px; }
.hf-project-grid-compact .hf-project-tickets .hf-project-title > span { padding-top: 0; }
.home-page .hf-project-grid-compact .hf-project-tickets h4 { margin-top: 14px; }
.hf-project-grid-compact .hf-project-tickets .hf-project-zoom { left: 24px; }
.hf-case-story { padding: 25px 0 70px; }
.hf-case-story > .container { padding-top: 34px; border-top: 1px solid var(--hf-line); }
.home-page .hf-case-story h2 { margin-top: 44px; font-size: clamp(36px, 4vw, 60px); line-height: 1.16; letter-spacing: -.05em; }
.hf-case-role { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px 65px; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--hf-line); }
.hf-case-role-heading .hf-label { color: #586e50; }
.home-page .hf-case-role h3 { max-width: 380px; margin-top: 20px; font-size: clamp(25px, 2.5vw, 38px); line-height: 1.25; letter-spacing: -.045em; }
.home-page .hf-case-role-copy > p { color: #465544; font-size: 15px; line-height: 1.85; }
.hf-case-flow { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 25px 0; }
.hf-case-flow li { display: flex; align-items: center; color: #29442c; font-size: 12px; line-height: 1.8; }
.hf-case-flow li:not(:last-child)::after { content: '→'; margin: 0 13px; color: #6f8065; }
.home-page .hf-case-role-copy > .hf-case-role-outcome { padding-left: 18px; border-left: 2px solid #71904f; color: #29442c; font-size: 14px; }
.hf-case-role-screen { grid-column: 1 / -1; min-width: 0; margin: 10px 0 0; }
.hf-case-role-screen > a { display: block; position: relative; overflow: hidden; border: 1px solid #c5cdbb; }
.hf-case-role-screen img { display: block; width: 100%; height: auto; }
.hf-case-role-screen figcaption { margin-top: 16px; color: #586e50; font-size: 13px; line-height: 1.8; }
.hf-case-decisions { padding: 70px 0 80px; background: #182520; }
.hf-case-decisions .hf-section-meta > span:last-child { color: #b2c2b5; }
.home-page .hf-case-decisions h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1.16; letter-spacing: -.05em; }
.hf-case-decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
.hf-case-decision-grid article { padding-top: 22px; border-top: 1px solid #495a4d; }
.hf-case-decision-grid article > span { color: var(--hf-lime); font-size: 11px; }
.home-page .hf-case-decision-grid h3 { margin: 23px 0 16px; font-size: 23px; line-height: 1.4; letter-spacing: -.035em; }
.home-page .hf-case-decision-grid p { color: #b2c2b5; font-size: 14px; line-height: 1.85; }
.hf-project-index { padding: 30px 0 75px; }
.hf-project-index .hf-case-breadcrumb { color: #5b7157; }
.hf-project-index .hf-case-breadcrumb a:hover { color: #31552a; }
.hf-project-index .hf-section-heading { margin-top: 60px; }
.home-page .hf-project-index h1 { font-size: clamp(42px, 5vw, 76px); line-height: 1.14; letter-spacing: -.055em; }
.hf-index-other { margin-top: 70px; padding-top: 35px; border-top: 1px solid var(--hf-line); }
.hf-index-other > .hf-label { color: #5b7157; }
.hf-index-other > a { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 30px 0; border-bottom: 1px solid var(--hf-line); }
.home-page .hf-index-other h2 { font-size: 25px; line-height: 1.5; letter-spacing: -.04em; }
.home-page .hf-index-other p { margin-top: 10px; color: #586e55; font-size: 14px; line-height: 1.8; }
.hf-index-other > a > svg { flex-shrink: 0; }
.hf-index-other > a:hover h2 { color: #537534; }

@media (prefers-reduced-motion: no-preference) {
    .hf-image-viewer[open] { animation: hf-viewer-enter .18s ease both; }
    @keyframes hf-viewer-enter { from { opacity: .3; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }
}

@media (min-width: 1650px) {
    .hf-hero-grid { padding-top: 88px; padding-bottom: 94px; gap: 75px; }
}
@media (max-width: 1180px) {
    .home-page .container { width: calc(100% - 72px); }
    .home-page .main-nav { gap: 19px; font-size: 12px; }
    .home-page .header-inner { gap: 23px; }
    .hf-hero-grid { gap: 30px; grid-template-columns: 1.15fr 1fr; }
    .home-page .hf-hero h1 { font-size: 4.7vw; }
    .hf-hero-bottom { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
    .hf-hero-bottom > a { display: none; }
    .hf-services-layout, .hf-approach-layout, .hf-faq-layout { gap: 55px; }
    .hf-more-work { gap: 20px; grid-template-columns: repeat(4, 1fr); }
    .hf-more-work > .hf-label { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
    .hf-content-layout { gap: 35px; }
    .hf-media-portal { grid-template-columns: 1fr 1.1fr; gap: 24px; }
    .hf-media-portal > a { grid-column: 2; }
    .hf-ai-grid { gap: 24px; }
    .hf-ai-card { padding: 26px; }
    .hf-ai-hero-grid { gap: 30px; }
    .hf-ai-connections { padding: 24px; }
    .hf-ai-other { grid-template-columns: 1fr 1.4fr; gap: 22px; }
    .hf-ai-other > a { grid-column: 2; }
    .hf-ai-delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 30px; }
    .home-page .container { width: calc(100% - 48px); }
    .home-page .header-inner { min-height: 76px; }
    .home-page .main-nav { background: #182520; border: 1px solid #42513f; border-radius: 3px; }
    .home-page .mobile-menu-button { border-radius: 3px; border-color: #53624e; background: transparent; }
    .hf-hero-grid { gap: 30px; padding-top: 48px; }
    .home-page .hf-hero h1 { font-size: 4.6vw; }
    .hf-hero-art { align-self: center; }
    .hf-hero-actions { gap: 20px; }
    .hf-button { gap: 22px; min-height: 52px; padding: 0 18px; font-size: 11px; }
    .hf-art-caption { font-size: 8px; }
    .hf-art-caption > span:last-child { display: none; }
    .home-page .hf-hero-copy > p { font-size: 14px; }
    .hf-project-tickets .hf-project-image { height: 370px; }
    .hf-project-image { height: 280px; padding: 22px; }
    .hf-project-image-label { font-size: 11px; }
    .hf-project-grid { gap: 40px 24px; }
    .hf-services-layout, .hf-faq-layout { grid-template-columns: .9fr 1.1fr; gap: 35px; }
    .hf-approach-layout { gap: 40px; }
    .home-page .hf-services-intro h2 { font-size: 32px; }
    .home-page .hf-service h3, .home-page .hf-process h3 { font-size: 18px; }
    .hf-service { gap: 12px; grid-template-columns: 18px 1fr 20px; }
    .home-page .footer-main { grid-template-columns: 1fr 1fr; }
    .hf-case-heading, .hf-case-overview-grid { gap: 35px; }
    .hf-case-heading-actions { gap: 16px; }
    .hf-case-heading-actions .hf-button { padding: 0 13px; gap: 15px; font-size: 10px; }
    .hf-case-cover > a { height: 370px; }
    .hf-case-cover-checkprofit > a { height: auto; }
    .hf-case-modules { grid-template-columns: 1fr 1fr; }
    .hf-viewer-footer { flex-direction: column; align-items: stretch; gap: 15px; }
    .hf-viewer-actions { justify-content: space-between; }
    .hf-hero-project { height: 120px; grid-template-columns: 1.1fr 1fr; }
    .hf-hero-project-copy { padding: 16px 8px 16px 15px; }
    .hf-hero-project-copy strong { font-size: 19px; }
    .hf-hero-project-copy > span, .hf-hero-project-copy small { font-size: 9px; }
    .hf-featured-case { padding: 26px; }
    .hf-featured-heading { gap: 30px; }
    .hf-featured-screens { gap: 20px; }
    .hf-featured-role > strong { font-size: 16px; }
    .hf-project-grid-compact .hf-project-tickets .hf-project-image { height: 280px; padding: 22px; }
    .hf-case-role { gap: 25px 35px; }
    .hf-case-flow { display: block; }
    .hf-case-flow li:not(:last-child)::after { content: '↓'; display: block; margin: 4px 0; }
    .hf-case-flow li { display: block; }
    .hf-case-decision-grid { gap: 22px; }
    .home-page .hf-case-decision-grid h3 { font-size: 21px; }
}
@media (max-width: 720px) {
    .hf-content-services { padding: 52px 0; }
    .hf-content-services .hf-section-meta > span:last-child { display: none; }
    .hf-content-layout { grid-template-columns: minmax(0,1fr); gap: 32px; margin-top: 30px; }
    .home-page .hf-content-intro h2 { font-size: clamp(30px,8vw,44px); }
    .home-page .hf-content-intro p { margin-top: 22px; font-size: 14px; }
    .home-page .hf-content-audiences h3 { font-size: 23px; }
    .hf-content-audiences article:first-child { border-top: 1px solid #435849; padding-top: 26px; }
    .hf-media-portal { grid-template-columns: minmax(0,1fr); gap: 20px; margin-top: 32px; padding: 24px 20px; }
    .hf-media-portal > a { grid-column: auto; }
    .hf-ai-section { padding: 52px 0; }
    .hf-ai-section .hf-section-meta > span:last-child { display: none; }
    .hf-ai-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
    .hf-ai-card { padding: 24px 20px; }
    .home-page .hf-ai-card h3 { margin-top: 20px; font-size: 30px; }
    .home-page .hf-ai-card > p { margin-top: 18px; font-size: 14px; }
    .hf-ai-card ul { margin-top: 22px; }
    .hf-ai-card li { font-size: 14px; }
    .hf-ai-section-bottom { flex-direction: column; align-items: flex-start; gap: 19px; margin-top: 26px; }
    .home-page .hf-ai-section-bottom > p { font-size: 14px; }
    .hf-ai-hero { padding: 24px 0 45px; }
    .hf-ai-hero-grid { grid-template-columns: minmax(0,1fr); gap: 35px; margin-top: 36px; }
    .home-page .hf-ai-hero h1 { margin: 22px 0; font-size: clamp(31px, 8vw, 52px); }
    .home-page .hf-ai-hero-grid > div > p { font-size: 14px; }
    .hf-ai-connections { padding: 24px 20px; }
    .hf-ai-other { grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 30px; }
    .hf-ai-other > a { grid-column: auto; }
    .hf-ai-delivery { padding: 52px 0; }
    .hf-ai-delivery-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .home-page .hf-ai-delivery-grid h3 { margin: 18px 0 14px; }
    .home-page .container { width: calc(100% - 40px); }
    .home-page .header-inner { min-height: 72px; gap: 15px; }
    .home-page .logo-text { font-size: 21px; }
    .home-page .header-button { display: none; }
    .home-page .mobile-menu-button { margin-left: auto; }
    .home-page .main-nav.is-open { padding: 22px; }
    .hf-hero { padding-top: 28px; }
    .hf-hero-location { display: none; }
    .hf-label { font-size: 12px; letter-spacing: .07em; }
    .hf-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 46px; padding: 35px 0 32px; }
    .home-page .hf-hero h1 { font-size: clamp(28px, 7.8vw, 52px); line-height: 1.15; letter-spacing: -.05em; }
    .home-page .hf-hero-copy > p { max-width: 380px; margin-top: 23px; font-size: 14px; line-height: 1.85; }
    .hf-hero-actions { gap: 28px; margin-top: 25px; }
    .hf-button { min-height: 53px; padding: 0 18px; font-size: 11px; gap: 26px; }
    .hf-text-link { font-size: 13px; gap: 15px; }
    .hf-hero-art { width: 100%; max-width: 540px; }
    .hf-art-caption { font-size: 8px; margin-bottom: 12px; }
    .hf-art-caption > span:last-child { display: inline; }
    .hf-hero-bottom { grid-template-columns: 1fr 1fr; padding: 25px 0 29px; gap: 20px; }
    .hf-hero-bottom-label { display: none; }
    .hf-hero-bottom > div { padding-left: 0; border-left: 0; }
    .hf-hero-bottom > div:last-of-type { padding-left: 20px; border-left: 1px solid #39433b; }
    .hf-hero-bottom strong { font-size: 13px; }
    .hf-hero-bottom > div > span { font-size: 12px; line-height: 1.7; }
    .hf-work { padding-top: 60px; }
    .hf-section-meta > span:last-child { font-size: 12px; }
    .hf-section-heading { display: block; margin: 29px 0 32px; }
    .home-page .hf-section-heading h2 { font-size: clamp(35px, 9.3vw, 56px); line-height: 1.16; }
    .home-page .hf-section-heading > p { max-width: 320px; margin-top: 23px; font-size: 14px; }
    .hf-project-grid { grid-template-columns: minmax(0, 1fr); gap: 37px; }
    .hf-project-tickets { grid-column: auto; }
    .hf-project-image, .hf-project-tickets .hf-project-image { height: 300px; padding: 21px 24px 0; }
    .hf-project-tickets .hf-project-browser { width: 99%; margin: 36px 0 0 15%; }
    .hf-project-tickets .hf-project-image::after { font-size: 27px; left: 17px; bottom: 25px; }
    .hf-project-browser { margin-top: 32px; }
    .hf-project-image-label { font-size: 11px; }
    .hf-project-info { padding-top: 18px; }
    .hf-project-tickets .hf-project-info { display: block; }
    .hf-project-tickets .hf-project-title { justify-content: space-between; }
    .home-page .hf-project-title h3, .home-page .hf-project-tickets .hf-project-title h3 { font-size: 25px; }
    .home-page .hf-project h4 { margin-top: 12px; font-size: 13px; }
    .home-page .hf-project-info > p { font-size: 12px; }
    .hf-project-tags { gap: 6px; margin-top: 15px; }
    .hf-project-tags span { font-size: 11px; }
    .hf-project-open { right: 18px; bottom: 18px; width: 40px; height: 40px; }
    .hf-project-zoom { min-height: 38px; bottom: 18px; left: 18px; padding: 0 11px; font-size: 9px; }
    .hf-project-tickets .hf-project-zoom { left: 64px; }
    .hf-project-summary { margin-top: 15px; }
    .hf-project-summary > div { grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0; }
    .hf-project-summary dd { font-size: 14px; }
    .hf-case-link { margin-top: 19px; min-height: 38px; font-size: 14px; }
    .hf-more-work { grid-template-columns: 1fr 1fr; gap: 25px; padding: 26px 0; margin-top: 40px; }
    .hf-more-work > a { font-size: 12px; }
    .hf-services { padding: 60px 0 64px; }
    .hf-services-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 29px; }
    .home-page .hf-services-intro h2 { font-size: clamp(32px, 8.6vw, 48px); }
    .home-page .hf-services-intro > p { font-size: 14px; margin-top: 23px; }
    .hf-service { padding: 24px 0; gap: 11px; }
    .home-page .hf-service h3 { font-size: 18px; }
    .home-page .hf-service p { font-size: 14px; }
    .hf-approach { padding: 58px 0 45px; }
    .hf-approach .hf-section-meta { padding-bottom: 23px; }
    .hf-approach-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 32px; }
    .home-page .hf-approach-intro h2 { font-size: clamp(31px, 8vw, 44px); }
    .home-page .hf-approach-intro > p { font-size: 14px; }
    .hf-contract-note { padding-top: 26px; }
    .hf-process li { gap: 12px; grid-template-columns: 24px 1fr; padding: 25px 0; }
    .hf-process li:first-child { border-top: 1px solid #3b4940; padding-top: 25px; }
    .home-page .hf-process h3 { font-size: 19px; }
    .hf-process small { font-size: 12px; line-height: 1.7; }
    .hf-faq { padding: 60px 0 65px; }
    .hf-faq-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .home-page .hf-faq h2 { font-size: 36px; margin: 24px 0; }
    .hf-faq summary { font-size: 15px; gap: 20px; padding: 21px 0; }
    .home-page .hf-faq details > p { font-size: 14px; }
    .hf-contact { padding: 45px 0 32px; }
    .hf-contact-grid { display: block; margin-top: 27px; }
    .home-page .hf-contact h2 { font-size: clamp(34px, 9.3vw, 57px); line-height: 1.14; }
    .hf-contact-action { margin-top: 28px; width: auto; height: auto; min-height: 54px; padding: 13px 20px; border: 0; border-radius: 3px; background: var(--hf-dark); color: var(--hf-lime); flex-direction: row; justify-content: space-between; }
    .hf-contact-action > svg { width: 24px; height: 24px; }
    .hf-contact-action > span[aria-hidden] { font-size: 24px; }
    .hf-contact-bottom { display: block; margin-top: 30px; padding-top: 23px; }
    .home-page .hf-contact-bottom p { font-size: 13px; }
    .hf-contact-bottom > a { justify-content: space-between; font-size: 17px; margin-top: 23px; }
    .home-page .site-footer { padding-top: 40px; }
    .home-page .footer-main { gap: 32px 24px; grid-template-columns: 1fr 1fr; }
    .home-page .footer-brand, .home-page .footer-contacts { grid-column: 1 / -1; }
    .home-page .footer-brand p { max-width: 340px; }
    .home-page .footer-bottom { gap: 10px; flex-direction: column; align-items: flex-start; line-height: 1.7; }
    .home-page .cookie-consent { right: 16px; bottom: 16px; }
    .hf-image-viewer { width: calc(100% - 20px); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); }
    .hf-viewer-head { padding: 16px; }
    .hf-viewer-head h2 { font-size: 19px; }
    .hf-viewer-stage { padding: 12px; }
    .hf-viewer-footer { padding: 16px; }
    .hf-viewer-footer > p { font-size: 10px; }
    .hf-viewer-actions { gap: 12px; }
    .hf-viewer-navigation { gap: 8px; }
    .hf-viewer-actions button { min-height: 42px; padding: 0 10px; }
    .hf-case-hero { padding: 24px 0 35px; }
    .hf-case-breadcrumb { gap: 10px; font-size: 12px; }
    .hf-case-heading { grid-template-columns: minmax(0,1fr); gap: 25px; margin: 36px 0 30px; }
    .home-page .hf-case-heading h1 { font-size: clamp(42px, 12.5vw, 76px); margin: 15px 0; }
    .home-page .hf-case-subtitle { font-size: 15px; }
    .home-page .hf-case-heading-copy > p { font-size: 14px; }
    .hf-case-heading-actions .hf-button { min-height: 51px; padding: 0 17px; font-size: 11px; }
    .hf-case-cover { padding: 18px 18px 0; }
    .hf-case-cover-top { font-size: 11px; gap: 12px; margin-bottom: 19px; }
    .hf-case-cover > a { height: 280px; border-width: 3px; }
    .hf-case-cover-checkprofit > a { height: auto; }
    .hf-cover-zoom { min-height: 36px; bottom: 12px; right: 12px; gap: 16px; padding: 0 10px; font-size: 12px; }
    .hf-case-overview { padding: 45px 0 35px; }
    .hf-case-overview-grid { grid-template-columns: minmax(0,1fr); gap: 28px; margin-top: 30px; }
    .home-page .hf-case-overview h2, .home-page .hf-case-capabilities h2, .home-page .hf-case-more-screens h2 { font-size: clamp(30px,8vw,44px); }
    .hf-case-summary dd { font-size: 14px; }
    .hf-case-overview .hf-project-tags { margin-top: 20px; }
    .hf-case-capabilities { padding: 15px 0 40px; }
    .hf-case-capabilities > .container { padding-top: 30px; }
    .home-page .hf-case-capabilities h2 { margin-top: 28px; }
    .hf-case-modules { grid-template-columns: minmax(0,1fr); gap: 22px; margin-top: 30px; }
    .home-page .hf-case-modules h3 { margin-top: 16px; font-size: 19px; }
    .hf-case-more-screens { padding: 45px 0; }
    .hf-case-screen-heading { display: block; margin: 28px 0; }
    .home-page .hf-case-screen-heading p { margin-top: 22px; font-size: 14px; }
    .hf-case-extra-screen > a { max-height: 400px; padding: 18px 18px 0; }
    .hf-case-extra-screen img { border-width: 3px; }
    .hf-case-extra-screen figcaption { font-size: 10px; }
    .hf-case-next { padding: 40px 0; }
    .home-page .hf-case-next h2 { font-size: 36px; }
    .home-page .hf-case-next p { font-size: 14px; line-height: 1.8; }
    .hf-case-next > .container > a > svg { width: 32px; height: 32px; }
    .hf-project-index { padding: 24px 0 45px; }
    .hf-project-index .hf-section-heading { margin-top: 36px; }
    .home-page .hf-project-index h1 { font-size: clamp(34px,9vw,52px); }
    .hf-index-other { margin-top: 40px; padding-top: 28px; }
    .hf-index-other > a { gap: 20px; padding: 24px 0; }
    .home-page .hf-index-other h2 { font-size: 21px; }
    .home-page .hf-index-other p { font-size: 14px; }
    .home-page .hf-hero-copy > .hf-hero-fit { margin-top: 17px; font-size: 12px; }
    .hf-hero-projects { gap: 10px; }
    .hf-hero-project { height: 119px; grid-template-columns: 1fr 1.05fr; }
    .hf-hero-project-copy { padding-left: 18px; }
    .hf-hero-project-copy strong { font-size: 21px; }
    .hf-hero-project-copy > span, .hf-hero-project-copy small { font-size: 9px; }
    .hf-hero-bottom { grid-template-columns: 1fr 1fr; }
    .hf-featured-case { padding: 26px 20px; margin-bottom: 35px; }
    .hf-featured-heading { grid-template-columns: minmax(0,1fr); gap: 22px; padding-bottom: 28px; }
    .home-page .hf-featured-heading h3 { margin-top: 17px; font-size: 34px; }
    .home-page .hf-featured-heading .hf-featured-lead { font-size: 21px; }
    .home-page .hf-featured-context p { font-size: 14px; }
    .hf-featured-screens { grid-template-columns: minmax(0,1fr); gap: 26px; }
    .hf-featured-role > strong { font-size: 16px; }
    .hf-featured-screens figcaption { font-size: 14px; }
    .hf-featured-bottom { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 25px; }
    .hf-featured-bottom > a { justify-content: space-between; width: 100%; min-height: 44px; }
    .hf-project-grid-compact .hf-project-tickets .hf-project-image { height: 300px; padding: 21px 24px 0; }
    .hf-project-grid-compact .hf-project-tickets .hf-project-browser { margin-top: 32px; }
    .hf-project-grid-compact .hf-project-tickets .hf-project-zoom { left: 18px; }
    .hf-case-story { padding: 10px 0 45px; }
    .hf-case-story > .container { padding-top: 28px; }
    .hf-case-story .hf-section-meta > span:last-child { display: none; }
    .home-page .hf-case-story h2 { margin-top: 28px; font-size: clamp(30px,8vw,44px); }
    .hf-case-role { grid-template-columns: minmax(0,1fr); gap: 23px; margin-top: 30px; padding-top: 27px; }
    .home-page .hf-case-role h3 { margin-top: 16px; font-size: 27px; }
    .home-page .hf-case-role-copy > p { font-size: 14px; }
    .hf-case-flow { margin: 20px 0; }
    .hf-case-flow li { font-size: 12px; }
    .hf-case-role-screen { margin-top: 3px; }
    .hf-case-role-screen figcaption { font-size: 13px; }
    .hf-case-decisions { padding: 45px 0; }
    .hf-case-decisions .hf-section-meta > span:last-child { display: none; }
    .home-page .hf-case-decisions h2 { font-size: clamp(30px,8vw,44px); line-height: 1.2; letter-spacing: -.05em; }
    .hf-case-decision-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .home-page .hf-case-decision-grid h3 { margin: 17px 0 13px; font-size: 23px; }
}
@media (max-width: 360px) {
    .home-page .container { width: calc(100% - 32px); }
    .hf-hero-actions { gap: 18px; }
    .hf-button { gap: 17px; padding: 0 14px; }
    .hf-project-image, .hf-project-tickets .hf-project-image { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* RealtyHub: show the complete supplied storefront, including property details. */
.home-page .hf-project-realty .hf-project-image { height: auto; padding: 24px; }
.home-page .hf-project-realty .hf-project-browser { width: 100%; margin: 20px 0 0; border-width: 1px; border-radius: 3px; }
.home-page .hf-project-realty .hf-project-open { display: none; }
.home-page .hf-project-realty .hf-project-zoom { position: static; min-height: 44px; margin: 14px 0 0; font-size: 12px; }
.home-page .hf-case-cover-realty > a { height: auto; border: 1px solid #647e6b; border-radius: 3px; }
.home-page .hf-case-cover-realty .hf-cover-zoom { position: static; display: flex; min-height: 44px; border: 0; border-radius: 0; }
@media (max-width: 720px) {
    .home-page .hf-project-realty .hf-project-image { padding: 20px; }
}
