:root {
    --ink: #101820;
    --ink-soft: #25313b;
    --paper: #f7f5f0;
    --white: #ffffff;
    --orange: #f26522;
    --orange-dark: #c8420b;
    --teal: #157a78;
    --yellow: #f2c84b;
    --line: #dfe3e6;
    --muted: #66727c;
    --max: 1180px;
    --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Manrope", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
body.nav-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -80px; padding: 10px 14px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.nav-wrap { width: min(calc(100% - 40px), var(--max)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark-image { width: 46px; height: 46px; flex: 0 0 46px; object-fit: cover; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.brand strong, .brand small { display: block; letter-spacing: 0; }
.brand strong { font-size: 17px; line-height: 1.1; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav > a { position: relative; padding: 27px 0 24px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.main-nav > a:not(.button)::after { position: absolute; bottom: 17px; left: 0; width: 0; height: 2px; content: ""; background: var(--orange); transition: width .2s ease; }
.main-nav > a:hover::after, .main-nav > a.active::after { width: 100%; }
.main-nav .button { padding: 11px 15px; }
.nav-toggle { display: none; min-width: 62px; height: 42px; padding: 0 12px; place-items: center; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); color: var(--ink); font-size: 12px; font-weight: 800; }

.container { width: min(calc(100% - 40px), var(--max)); margin: auto; }
.narrow { max-width: 780px; }
.band { padding: 88px 0; }
.band-soft { background: var(--paper); }
.band-dark { color: var(--white); background: var(--ink); }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.band-dark .eyebrow, .hero .eyebrow { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: 0; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { margin-bottom: 20px; font-size: clamp(29px, 4vw, 48px); }
h3 { margin-bottom: 10px; font-size: 20px; }
.lead { max-width: 720px; color: var(--ink-soft); font-size: 19px; }
.band-dark .lead { color: #d7dee3; }
.muted { color: var(--muted); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-head h2 { max-width: 720px; margin-bottom: 0; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; color: var(--white); background: var(--orange); border: 1px solid var(--orange); border-radius: var(--radius); font-size: 13px; font-weight: 800; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.button-secondary { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-secondary:hover { color: var(--white); background: transparent; border-color: var(--white); }
.button-outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-small { min-height: 40px; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero { position: relative; min-height: min(760px, calc(100vh - 76px)); display: flex; align-items: end; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { position: absolute; inset: 0; content: ""; background: url("../img/corporate-partnership.jpg") 56% center / cover no-repeat; filter: brightness(1.14) saturate(1.04); transform: scale(1.01); }
.hero::after { position: absolute; inset: 0; content: ""; background: rgba(10, 18, 25, .44); }
.hero-content { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 110px 0 84px; }
.hero h1 { max-width: 800px; margin-bottom: 23px; }
.hero-copy { max-width: 660px; color: #edf0f2; font-size: 19px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 52px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.3); }
.hero-proof span { display: inline-flex; align-items: center; padding-left: 12px; border-left: 3px solid var(--yellow); font-size: 13px; font-weight: 700; }

.page-hero { padding: 78px 0 70px; color: var(--white); background: var(--ink); }
.page-hero h1 { max-width: 900px; margin-bottom: 18px; font-size: clamp(39px, 5vw, 64px); }
.page-hero p { max-width: 720px; color: #d5dce1; font-size: 18px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 360px; padding: 0 0 26px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.service-card:nth-child(1), .service-card:nth-child(5) { border-top: 4px solid var(--orange); }
.service-card:nth-child(2), .service-card:nth-child(6) { border-top: 4px solid var(--teal); }
.service-card:nth-child(3), .service-card:nth-child(7) { border-top: 4px solid var(--yellow); }
.service-card:nth-child(4), .service-card:nth-child(8) { border-top: 4px solid var(--ink); }
.service-photo { width: 100%; height: 170px; object-fit: cover; object-position: center 30%; }
.service-card h3 { margin: 22px 24px 10px; }
.service-card p { margin-right: 24px; margin-left: 24px; color: var(--muted); font-size: 14px; }
.service-card .text-link { margin-right: 24px; margin-left: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--orange-dark); }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.split-image { position: relative; min-height: 540px; overflow: hidden; border-radius: var(--radius); }
.split-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.split-image.portrait img { object-position: center 22%; }
.fact-list { display: grid; gap: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 50px 1fr; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact strong { color: var(--orange); font-size: 24px; }
.fact span { align-self: center; font-size: 14px; font-weight: 700; }

.image-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.image-story figure { position: relative; min-height: 520px; margin: 0; overflow: hidden; border-radius: var(--radius); }
.image-story figure:nth-child(2) { min-height: 430px; margin-top: 90px; }
.image-story img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.image-story figure:nth-child(2) img { object-position: center 8%; }
.image-story figcaption { position: absolute; right: 16px; bottom: 16px; left: 16px; padding: 13px 15px; color: var(--white); background: rgba(16,24,32,.87); font-size: 12px; font-weight: 700; }

.media-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.media-tile { position: relative; height: 380px; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.media-tile img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-tile:hover img { transform: scale(1.025); }
.media-tile span { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 12px; color: var(--white); background: rgba(16,24,32,.88); font-size: 12px; font-weight: 700; }

.social-panel { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.18); }
.social-panel a { min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0; overflow: hidden; border-right: 1px solid rgba(255,255,255,.18); }
.social-panel a:last-child { border-right: 0; }
.social-panel img { width: 100%; height: 220px; object-fit: cover; object-position: center 24%; }
.social-panel span, .social-panel > a > strong { min-height: 60px; display: block; padding: 15px 18px; color: var(--white); background: #17232d; }
.social-panel strong { font-size: 14px; }
.social-panel span > strong { display: inline-flex; align-items: center; gap: 8px; }
.social-panel > a > strong { display: flex; align-items: center; gap: 8px; }
.social-panel strong i { font-size: 18px; }
.social-panel small { color: #afbbc3; }

.cta-band { padding: 56px 0; background: var(--orange); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { max-width: 760px; margin: 0; color: var(--white); font-size: clamp(28px, 4vw, 43px); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; align-items: start; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 28px 0; }
.detail-list > div { padding: 18px; background: var(--paper); border-left: 3px solid var(--orange); }
.detail-list strong, .detail-list span { display: block; }
.detail-list span { color: var(--muted); font-size: 13px; }
.side-panel { position: sticky; top: 105px; padding: 28px; background: var(--ink); color: var(--white); border-radius: var(--radius); }
.side-panel p { color: #d5dce1; font-size: 14px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: var(--white); border: 1px solid #bdc5ca; border-radius: 4px; outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(21,122,120,.12); }
.honeypot { position: absolute; left: -10000px; }
.form-note { color: var(--muted); font-size: 12px; }
.notice { margin-bottom: 22px; padding: 14px 16px; border-left: 4px solid var(--teal); background: #eaf5f4; }
.notice.error { border-color: #b72f2f; background: #faeaea; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.market-home-band { padding: 48px 0; color: var(--white); background: var(--teal); }
.market-home-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.market-home-inner > div:first-child { max-width: 720px; }
.market-home-inner .eyebrow { color: var(--yellow); }
.market-home-inner h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 46px); }
.market-home-inner p { margin-bottom: 0; color: #e6f2f1; }
.market-home-inner .action-row { flex: 0 0 auto; margin-top: 0; }
.button-market-outline { color: var(--white); background: transparent; border-color: rgba(255,255,255,.7); }
.button-market-outline:hover { color: var(--ink); background: var(--white); border-color: var(--white); }

.market-hero { position: relative; min-height: 610px; display: flex; align-items: end; overflow: hidden; color: var(--white); background: #1e2429; }
.market-hero::before { position: absolute; inset: 0; content: ""; background: url("../img/marketplace-hero.png") 62% center / cover no-repeat; }
.market-hero::after { position: absolute; inset: 0; content: ""; background: rgba(9,14,18,.18); }
.market-hero-content { position: relative; z-index: 1; padding: 86px 0 68px; }
.market-hero h1 { max-width: 720px; margin-bottom: 16px; font-size: clamp(46px, 6vw, 72px); }
.market-hero-content > p:not(.eyebrow) { max-width: 620px; color: #e3e8eb; font-size: 18px; }
.market-search { width: min(100%, 930px); display: grid; grid-template-columns: minmax(250px, 1.4fr) minmax(190px, .8fr) auto; gap: 8px; margin-top: 34px; padding: 9px; background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.market-search input, .market-search select { width: 100%; min-height: 50px; padding: 10px 14px; color: var(--ink); background: var(--white); border: 0; border-right: 1px solid var(--line); outline: 0; }
.market-search input:focus, .market-search select:focus { box-shadow: inset 0 -2px var(--teal); }
.market-search .button { min-width: 145px; }
.market-hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #ced6db; font-size: 13px; }
.market-hero-actions a { color: var(--yellow); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.market-intro { padding-bottom: 48px; }
.market-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.market-category { min-height: 190px; display: flex; flex-direction: column; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .2s ease, background .2s ease; }
.market-category:hover { color: var(--white); background: var(--ink); }
.market-category > span { margin-bottom: auto; color: var(--orange); font-size: 12px; font-weight: 800; }
.market-category > strong { margin-top: 26px; font-size: 17px; }
.market-category > small { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.market-category:hover > small { color: #c7d0d6; }

.market-results-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.market-results-head h2 { margin-bottom: 0; }
.market-status { padding: 7px 10px; color: #275a40; background: #e3f3e9; border: 1px solid #b9ddc8; border-radius: 3px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.market-empty { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); border: 1px solid var(--line); background: var(--white); }
.market-empty > div { padding: 42px; }
.market-empty > div:first-child { border-right: 1px solid var(--line); }
.market-empty h3 { max-width: 620px; font-size: clamp(26px, 4vw, 40px); }
.market-empty p { max-width: 680px; color: var(--muted); }
.market-empty-label { color: var(--orange) !important; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.market-empty-points { display: grid; align-content: center; }
.market-empty-points span { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.market-empty-points span:last-child { border-bottom: 0; }
.market-empty-points strong { color: var(--teal); }

.market-package-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.market-package { position: relative; min-height: 355px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.market-package.recommended { border-top: 4px solid var(--orange); }
.market-package > p:first-of-type { color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.market-package h3 { font-size: 25px; }
.market-package > strong { display: block; margin: 26px 0 13px; font-size: 34px; }
.market-package > p:not(:first-of-type) { min-height: 78px; color: var(--muted); font-size: 14px; }
.package-flag { position: absolute; top: 18px; right: 18px; padding: 5px 8px; color: var(--white); background: var(--orange); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.market-package-note { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 12px; }

.market-safety-band { padding: 70px 0; color: var(--white); background: var(--ink); }
.market-safety-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.market-safety-inner h2 { margin-bottom: 0; }
.market-safety-inner p { color: #c8d0d5; }
.market-safety-inner a { color: var(--yellow); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

.market-post-hero { border-bottom: 5px solid var(--yellow); }
.market-post-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.market-post-form { row-gap: 22px; }
.form-section-title { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-section-title:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section-title > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--white); background: var(--teal); font-size: 12px; font-weight: 800; }
.form-section-title h2 { margin: 0 0 4px; font-size: 25px; }
.form-section-title p { margin: 0; color: var(--muted); font-size: 13px; }
.market-photo-upload { padding: 20px; border: 1px dashed #a8b2b8; background: var(--paper); }
.market-photo-upload input { min-height: 0; padding: 10px; background: var(--white); border: 1px solid var(--line); }
.market-photo-upload input::file-selector-button { margin-right: 12px; padding: 9px 12px; color: var(--white); background: var(--ink); border: 0; border-radius: 3px; font-weight: 700; cursor: pointer; }
.market-photo-upload p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.market-package-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.package-option { cursor: pointer; }
.package-option input { position: absolute; opacity: 0; pointer-events: none; }
.package-option > span { min-height: 105px; display: flex; flex-direction: column; justify-content: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.package-option input:checked + span { border-color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); background: #eff8f7; }
.package-option strong, .package-option small { display: block; }
.package-option small { margin-top: 5px; color: var(--muted); }
.declaration { padding: 18px; background: var(--paper); }
.declaration label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 500; }
.declaration input { min-height: 20px; margin: 2px 0 0; }
.declaration a { color: var(--teal); font-weight: 800; text-decoration: underline; }
.market-side-list { display: grid; margin: 24px 0; border-top: 1px solid #43505a; }
.market-side-list span { padding: 12px 0; border-bottom: 1px solid #43505a; color: #d5dce1; font-size: 12px; font-weight: 700; }

.legal-copy h2 { margin-top: 42px; margin-bottom: 12px; font-size: 26px; }
.legal-copy p { color: var(--ink-soft); }
.market-policy-date { display: inline-block; padding: 6px 9px; color: var(--teal) !important; background: #eaf5f4; font-size: 11px; font-weight: 800; text-transform: uppercase; }

.empty-state { padding: 55px; text-align: center; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); }
.empty-state-photo { width: min(100%, 520px); height: 260px; margin: 0 auto 28px; object-fit: cover; object-position: center 25%; border-radius: var(--radius); }
.empty-state p { max-width: 600px; margin: 0 auto 22px; color: var(--muted); }

.site-footer { color: #dbe1e5; background: #0c1319; }
.footer-main { width: min(calc(100% - 40px), var(--max)); margin: auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding: 68px 0 52px; }
.brand-footer { color: var(--white); margin-bottom: 20px; }
.brand-footer small { color: #aeb8bf; }
.footer-main p { max-width: 360px; color: #aeb8bf; font-size: 13px; }
.footer-main h2 { margin-bottom: 17px; color: var(--white); font-size: 14px; }
.footer-main .footer-follow-title { margin-top: 24px; }
.footer-main > div > a:not(.brand) { display: block; margin: 10px 0; color: #bac3c9; font-size: 13px; }
.footer-main > div > a:hover { color: var(--white); }
.social-links { display: flex; flex-wrap: wrap; gap: 7px; }
.social-links a { width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; color: var(--white); border: 1px solid #42505b; border-radius: 50%; font-size: 17px; }
.social-links a:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.footer-base { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(calc(100% - 40px), var(--max)); margin: auto; color: #84919a; border-top: 1px solid #2b353d; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
    .nav-toggle { display: grid; }
    .main-nav { position: fixed; inset: 77px 0 0; display: none; align-content: start; align-items: stretch; gap: 0; padding: 24px 20px; overflow: auto; background: var(--white); }
    .nav-open .main-nav { display: grid; }
    .main-nav > a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
    .main-nav > a::after { display: none; }
    .main-nav .button { margin-top: 20px; border-bottom: 0; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr 310px; gap: 35px; }
    .market-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
    .nav-wrap, .container, .hero-content, .footer-main, .footer-base { width: min(calc(100% - 30px), var(--max)); }
    .band { padding: 64px 0; }
    .hero { min-height: 560px; }
    .hero::before { background-position: 67% center; }
    .hero::after { background: rgba(10, 18, 25, .5); }
    .hero-content { padding: 64px 0 42px; }
    .hero h1 { font-size: 41px; }
    .hero-proof { gap: 10px 18px; margin-top: 32px; padding-top: 18px; }
    .page-hero { padding: 52px 0; }
    .section-head, .cta-inner { align-items: flex-start; flex-direction: column; }
    .service-grid, .split, .image-story, .media-strip, .social-panel, .content-grid, .footer-main { grid-template-columns: 1fr; }
    .service-card { min-height: 0; }
    .service-photo { height: 210px; }
    .split { gap: 38px; }
    .split-image { min-height: 340px; }
    .image-story figure, .image-story figure:nth-child(2) { min-height: 320px; margin-top: 0; }
    .media-strip { grid-template-columns: repeat(2, 1fr); }
    .media-tile { height: 260px; }
    .social-panel { grid-template-columns: repeat(2, 1fr); }
    .social-panel a { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
    .social-panel img { height: 190px; }
    .social-panel a:last-child { border-bottom: 0; }
    .content-grid { gap: 35px; }
    .side-panel { position: static; }
    .footer-main { gap: 30px; }
    .footer-base { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
    .market-home-inner, .market-results-head { align-items: flex-start; flex-direction: column; }
    .market-home-inner .action-row { margin-top: 0; }
    .market-hero { min-height: 660px; }
    .market-hero::before { background-position: 68% center; }
    .market-hero::after { background: rgba(9,14,18,.66); }
    .market-hero-content { padding: 65px 0 44px; }
    .market-search { grid-template-columns: 1fr; }
    .market-search input, .market-search select { border-right: 0; border-bottom: 1px solid var(--line); }
    .market-empty, .market-safety-inner { grid-template-columns: 1fr; }
    .market-empty > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
    .market-package-grid { grid-template-columns: 1fr; }
    .market-package { min-height: 0; }
    .market-package > p:not(:first-of-type) { min-height: 0; }
    .market-safety-inner { gap: 28px; }
    .market-post-layout { grid-template-columns: 1fr; }
    .market-package-options { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .brand strong { font-size: 15px; }
    .brand small { font-size: 8px; }
    .hero { min-height: 540px; }
    .hero h1 { font-size: 36px; }
    .hero-copy, .lead { font-size: 17px; }
    .service-grid, .media-strip, .form-grid, .detail-list { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .service-photo { height: 185px; }
    .split-image { min-height: 300px; }
    .image-story figure, .image-story figure:nth-child(2) { min-height: 290px; }
    .media-tile { height: 280px; }
    .social-panel { grid-template-columns: 1fr; }
    .social-panel img { height: 220px; }
    .empty-state { padding: 28px 16px; }
    .empty-state-photo { height: 210px; }
    .market-home-inner .action-row, .market-home-inner .button { width: 100%; }
    .market-hero { min-height: 680px; }
    .market-hero h1 { font-size: 42px; }
    .market-hero-content > p:not(.eyebrow) { font-size: 16px; }
    .market-category-grid { grid-template-columns: 1fr; }
    .market-category { min-height: 165px; }
    .market-empty > div { padding: 27px 20px; }
    .market-package { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
