/* Final requested refinements; retain the established page themes and grids. */
.page-home .home-contact-original{max-width:1200px}
.page-home .home-toolkit .compact-card .card-body{display:flex;flex-direction:column;gap:0;padding:24px}
.page-home .home-toolkit .compact-heading{display:grid;grid-template-columns:88px minmax(0,1fr);gap:18px;align-items:start}
.page-home .home-toolkit .compact-heading-copy{min-width:0}
.page-home .home-toolkit .compact-card .compact-thumbnail{width:88px;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;margin:0}
.page-home .home-toolkit .tool-kind{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:9px;font-weight:750;letter-spacing:1.4px;text-transform:uppercase;color:var(--accent-text)}
.page-home .home-toolkit .tool-kind .icon{width:13px;height:13px}
.page-home .home-toolkit .compact-card h3{margin:0;min-height:0;height:auto;line-height:1.45;align-self:auto}
.page-home .home-toolkit .compact-card p{margin:20px 0 22px;line-height:1.8}
.page-home .home-toolkit .compact-card .card-link{margin-top:auto;padding-top:15px;width:100%;align-self:auto}
.page-home .home-contact-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(30px,5vw,72px);align-items:center;padding:clamp(26px,4vw,54px);border:1px solid var(--border);border-radius:22px;background:radial-gradient(ellipse at 8% 25%,var(--accent-soft),transparent 65%),var(--surface)}
.page-home .home-contact-story{max-width:430px;min-width:0}
.page-home .home-contact-story h3{font-size:clamp(26px,3vw,38px);line-height:1.18;letter-spacing:-.035em;margin:20px 0}
.page-home .home-contact-story>p{font-size:14px;line-height:1.9;color:var(--muted);margin:0 0 25px}
.home-contact-mark{display:grid;place-items:center;width:58px;height:58px;border:1px solid var(--border);border-radius:16px;background:var(--accent-soft);color:var(--accent-text)}
.home-contact-mark .icon{width:30px;height:30px}
.home-contact-points{display:flex;flex-wrap:wrap;gap:9px 16px;padding:0;list-style:none;color:var(--muted);font-size:11px}
.home-contact-points li{display:flex;align-items:center;gap:7px}.home-contact-points .icon{width:15px;height:15px;color:var(--accent-text)}
.home-contact-socials{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.home-contact-socials .contact-channel{padding:0;width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}
.home-contact-socials .contact-channel>.channel-icon{margin:0;width:auto;height:auto;background:none;border:0}.home-contact-socials .contact-channel>.channel-icon .icon{width:20px;height:20px}
.home-contact-socials .contact-channel>span:nth-child(2){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.home-contact-socials .contact-channel>.icon{display:none}
.page-home .home-contact-form{padding:clamp(22px,3vw,36px);min-width:0;background:var(--bg);border:1px solid var(--border);border-radius:16px}
.page-home .home-contact-form h3{font-size:23px;line-height:1.3;margin:0 0 10px}.page-home .home-contact-form>p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 24px}
.page-home .home-contact-form .contact-form>.btn{width:100%;justify-content:center}
@media(min-width:701px) and (prefers-reduced-motion:no-preference){
 .desktop-effects .page-home .resource-card.is-tilting,.desktop-effects .resource-card.is-tilting{transform:perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) scale3d(1.02,1.02,1.02);transition:none;z-index:2}
 .desktop-effects .page-home .resource-card.tilt-settling,.desktop-effects .resource-card.tilt-settling{transform:perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1,1,1);transition:transform .4s cubic-bezier(.175,.885,.32,1.275),border-color .3s,box-shadow .3s;transition-delay:0s}
}
@media(max-width:700px){
 .page-home .hero-inner{grid-template-rows:auto var(--upper-art-space) auto var(--title-copy-gap) auto var(--copy-actions-gap) auto minmax(24px,1fr) auto 12px}
 .page-home .home-toolkit .compact-card .card-body{padding:20px}
 .page-home .home-toolkit .compact-heading{grid-template-columns:72px minmax(0,1fr);gap:14px}
 .page-home .home-toolkit .compact-card .compact-thumbnail{width:72px}
 .page-home .home-toolkit .compact-card p{margin-top:16px}
 .page-home .home-contact-story{display:none}
 .page-home .home-contact-layout{display:block;padding:0;border:0;background:none;border-radius:0}
 .page-home .home-contact-form{max-width:520px;margin-inline:auto;padding:23px 20px;background:var(--surface)}
}

/* Match the original glass-card hover: 3D tilt, restrained top glow and image zoom. */
@media(min-width:701px) and (prefers-reduced-motion:no-preference){
 .desktop-effects .resource-card.is-tilting{border-top-color:var(--accent);box-shadow:0 -4px 20px #00f2ff18,0 10px 30px #0003;will-change:transform}
 .desktop-effects .resource-card.is-tilting .card-cover img{transform:scale(1.05)}
}
.home-contact-emblem{display:block;width:clamp(170px,23vw,310px);max-width:100%;height:auto;margin:0 0 20px;color:var(--accent-text)}
.home-contact-emblem .emblem-panel{fill:var(--surface-2);stroke:var(--border)}
.home-contact-emblem .emblem-primary{fill:var(--accent-soft);stroke:currentColor}

/* Give the contact illustration a full-width stage without enlarging the form. */
@media(min-width:701px){
 .page-home .home-contact-layout{align-items:stretch;background:radial-gradient(ellipse at 7% 5%,#cc80292e,transparent 47%),radial-gradient(ellipse at 38% 82%,#16bdcd17,transparent 55%),linear-gradient(125deg,#151c25 0%,#0b1c29 52%,#0b1723 100%)}
 .page-home .home-contact-story{display:flex;flex-direction:column;max-width:none;align-self:center;justify-content:flex-start;gap:22px}
 .page-home .home-contact-emblem{width:100%;max-width:460px;margin:0 auto;flex:none;filter:drop-shadow(0 12px 24px #030b1340)}
 .page-home .home-contact-story h3,.page-home .home-contact-story>p{margin:0}
 .page-home .home-contact-socials{justify-content:center;width:100%;margin:0;padding:0}
 .page-home .home-contact-points{justify-content:center;margin:0}
 .page-home .home-contact-form .contact-form textarea{min-height:140px;height:140px;resize:vertical}
 .page-home .home-contact-emblem .emblem-panel{fill:#122231;stroke:#b3854f}
 .page-home .home-contact-emblem .emblem-primary{fill:#12323c;stroke:#61e8f2}
 html[data-theme=light] .page-home .home-contact-layout{background:radial-gradient(ellipse at 8% 8%,#edb15b3b,transparent 48%),radial-gradient(ellipse at 35% 85%,#20bbd119,transparent 54%),linear-gradient(125deg,#fffcf6,#f0f8fc 60%,#f7fafc)}
 html[data-theme=light] .page-home .home-contact-emblem .emblem-panel{fill:#f4f8fb;stroke:#ad7841}
 html[data-theme=light] .page-home .home-contact-emblem .emblem-primary{fill:#dceff2;stroke:#097c91}
}
@media(min-width:701px) and (max-width:1023px){
 .page-home .home-contact-points li:last-child{display:none}
 .page-home .home-contact-story{gap:20px}
}
/* Thumbnail and its full-width type caption are one media unit. */
.page-home .home-toolkit .compact-media{min-width:0;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface-2);align-self:start}
.page-home .home-toolkit .compact-media .compact-thumbnail{display:block;width:100%;border:0;border-radius:0;aspect-ratio:4/3}
.page-home .home-toolkit .compact-media .tool-kind{justify-content:center;margin:0;width:100%;padding:7px 2px;box-sizing:border-box;border-top:1px solid var(--border);background:var(--accent-soft);font-size:9px;letter-spacing:.7px;line-height:1.2}
.page-home .home-toolkit .compact-media .tool-kind .icon{width:12px;height:12px}
