.flake-banner {
  --flake-navy: #092548;
  --flake-red: #cb0b22;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 auto;
  padding: 0;
  color: var(--flake-navy);
  background: linear-gradient(108deg, #fff 36%, #f4f7fb 65%, #eaf0f7);
  border: 0;
  border-radius: 0;
  text-align: left;
}
.home-page .main > section.flake-banner {width:100%;max-width:none;margin-inline:0;}

/* Extend the category background to the page edges while keeping the cards aligned. */
.home-page .flake-banner + .home-categories {
  --category-background: #f0f4f8;
  background: var(--category-background);
  box-shadow: 0 0 0 100vmax var(--category-background);
  clip-path: inset(0 -100vmax);
  padding-block: clamp(24px, 2.2vw, 30px) clamp(26px, 2.5vw, 36px);
}
.flake-banner-inner {position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.07fr); gap:clamp(20px,2.8vw,54px); align-items:center; padding:clamp(24px,2.35vw,40px) clamp(26px,2.5vw,56px) clamp(28px,2.6vw,50px) clamp(78px,7.4vw,154px); max-width:2048px; margin:auto;}
.flake-banner-copy {min-width:0;}
.flake-banner-street {
  position:absolute; z-index:0; inset:0 auto 0 0; width:clamp(245px,24vw,500px); pointer-events:none;
  background-position:left bottom; background-size:100% 100%; background-repeat:no-repeat;
  -webkit-mask-image:linear-gradient(to right,#000 8%,rgba(0,0,0,.96) 24%,rgba(0,0,0,.38) 58%,transparent 90%);
  mask-image:linear-gradient(to right,#000 8%,rgba(0,0,0,.96) 24%,rgba(0,0,0,.38) 58%,transparent 90%);
}
.flake-banner::before {content:"";position:absolute;z-index:0;left:54.5%;top:0;width:clamp(145px,17vw,365px);height:clamp(32px,5.5vw,110px);background:linear-gradient(130deg,#f8dfe4 12%,#e3132e 49%,#b5001c 90%);clip-path:polygon(57% 0,100% 0,12% 100%,0 100%);pointer-events:none;}
.flake-banner::after {content:"";position:absolute;z-index:0;right:0;bottom:0;width:44%;height:13%;background:linear-gradient(165deg,#ef1d38,#b9001a);clip-path:polygon(25% 100%,100% 12%,100% 100%);pointer-events:none;}
.flake-banner .flake-banner-tagline {margin:0 0 clamp(15px,1.35vw,26px);border:0;padding:0;font-size:clamp(12px,1.1vw,19px);font-weight:670;line-height:1.25;color:var(--flake-navy);}
.flake-banner-headline {display:flex;align-items:center;gap:clamp(10px,1.3vw,23px);}
.flake-banner-marker {position:relative;display:grid;place-items:center;align-self:center;flex:0 0 auto;width:clamp(48px,5.4vw,98px);height:clamp(65px,7vw,114px);}
.flake-banner-marker .icon {width:100%;height:87%;overflow:visible;transform:translateY(-4%) scale(1.18,1.38);position:relative;z-index:1;filter:drop-shadow(0 2px 1px #78001844);}
.flake-banner-marker .icon path {fill:#e00622;stroke:#ba0019;stroke-width:.25;}
.flake-banner-marker .icon circle {fill:#fff;stroke:none;}
.flake-banner-marker::after {content:"";position:absolute;bottom:0;left:50%;width:88%;height:12%;transform:translateX(-50%);border:3px solid #ebb4bd;border-radius:50%;box-shadow:0 0 0 4px #f9e5e8,inset 0 0 8px #9e73834d;background:#fff8;}

.flake-banner #flake-banner-title {margin:0; color:var(--flake-navy); font-size:clamp(38px,4.45vw,69px); line-height:.99; letter-spacing:-.062em;font-weight:850;max-width:none;}
.flake-banner h1 em {position:relative;z-index:0;color:var(--flake-red);font-style:normal;white-space:nowrap;}
.flake-banner .flake-banner-intro {margin:18px 0 16px; font-size:clamp(16px,1.18vw,20px); line-height:1.45;color:#122b47;max-width:none;text-wrap:pretty;font-weight:570;text-shadow:0 1px 5px #fff;}
.flake-banner .flake-banner-search .search-bar {display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.88fr) auto; align-items:center; gap:0; margin:0; padding:6px; border:1px solid #d0dae5; border-radius:14px;background:white;box-shadow:0 6px 17px #18325012;}
.flake-banner-search .search-bar .field {min-width:0; padding:3px 10px; margin:0; border:0; background:transparent;}
.flake-banner-search .search-bar .field + .field {border-left:1px solid #dce2e9;}
.flake-banner-search .search-bar label {display:block; padding:0; margin:0 0 3px; font-size:12px; font-weight:750; line-height:1.3; color:var(--flake-navy);}
.flake-banner-search .search-bar input {display:block; width:100%; min-width:0; min-height:0; height:22px; border:0; background:transparent; padding:0; margin:0; box-shadow:none; border-radius:0; font:inherit;font-size:14px;color:var(--flake-navy);}
.flake-banner-search .search-bar button {display:inline-flex;align-items:center;justify-content:center;gap:6px; margin:0; padding:0 13px; min-height:46px; white-space:nowrap; background:var(--flake-red);border:0;border-radius:10px;color:white;font-size:15px;font-weight:750;line-height:1;}
.flake-banner-search button .icon,.flake-banner-actions .icon {width:18px;height:18px;}
.flake-banner-actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:15px 0 0;}
.flake-banner-actions a {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:43px;text-decoration:none;font-weight:750;font-size:15px;line-height:1.2;}
.flake-banner-actions .flake-banner-post {padding:0 17px; background:var(--flake-red);border:2px solid white;box-shadow:0 3px 8px #102d5024;border-radius:24px;color:#fff;}
.flake-banner-post .icon:first-child {border:1.6px solid currentColor;border-radius:50%;width:15px;height:15px;}
.flake-banner-request .icon:last-child {color:var(--flake-red);}
.flake-banner-actions .flake-banner-request {border-left:1px solid #c3cdd9;padding-left:13px;}
.flake-banner-proof li {text-shadow:0 1px 4px white,0 0 7px white;}
.flake-banner-actions .flake-banner-request {color:var(--flake-navy);}
.flake-banner .flake-banner-proof {display:flex;flex-wrap:wrap;gap:6px 13px;padding:0;margin:20px 0 0;list-style:none;}
.flake-banner-proof li {display:flex;align-items:center;gap:4px;margin:0;font-size:12px;font-weight:650;line-height:1.4;color:var(--flake-navy);}
.flake-banner-proof .icon {width:14px;height:14px;stroke-width:3;color:var(--flake-red);}
.flake-banner-tiles {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 13px;align-items:center;min-width:0;padding:8px 2px;}
.flake-banner .flake-banner-tile {display:flex;position:relative;isolation:isolate;align-items:flex-end;justify-content:center;aspect-ratio:1.18;overflow:hidden;border:4px solid #fff;border-radius:clamp(14px,1.5vw,28px);background-color:#e4ebf3;background-size:cover;background-position:center;color:#fff;box-shadow:0 7px 13px #16305032;text-decoration:none;transition:box-shadow .18s ease;}
.flake-banner-tile span {display:flex;align-items:center;justify-content:center;gap:5px;min-height:32px;margin:0 5% -1px;max-width:96%;width:90%;padding:4px 3px;border:2px solid #fff;border-radius:12px;background:#102d50;color:#fff;text-align:center;font-size:clamp(12px,1.16vw,20px);font-weight:750;line-height:1.15;}
.flake-banner-tile:nth-child(2) span,.flake-banner-tile:nth-child(4) span,.flake-banner-tile:nth-child(6) span {background:#c71025;}
.flake-banner-tile .icon {width:17px;height:17px;flex:0 0 auto;}
.flake-banner :where(a,button,input):focus-visible {outline:3px solid #0759b3;outline-offset:3px;}
.flake-banner .flake-banner-tile:focus-visible {outline-offset:1px;}
@media(hover:hover) {
  .flake-banner .flake-banner-tile:hover {box-shadow:0 10px 17px #16305043;}
  .flake-banner-request:hover {text-decoration:underline;}
  .flake-banner-post:hover,.flake-banner-search button:hover {filter:brightness(.9);}
}
@media(max-width:1050px) and (min-width:901px) {
  .flake-banner-inner {grid-template-columns:minmax(0,1.14fr) minmax(0,.96fr);gap:20px;padding:24px 22px 31px clamp(55px,6.8vw,74px);}
  .flake-banner .flake-banner-tile {border-width:3px;border-radius:13px;}
  .flake-banner-tiles {gap:10px 6px;}
  .flake-banner-tile .icon {display:none;}
}
@media(max-width:900px) {
  .flake-banner::before {display:none;}
  .flake-banner-street {width:195px;height:295px;background-size:100% 100%;opacity:.93;}
  .flake-banner::after {height:4%;width:55%;}
  .flake-banner .flake-banner-tagline {padding-left:clamp(29px,6vw,52px);}
  .flake-banner-headline {padding-left:clamp(21px,3vw,40px);}
  .flake-banner-inner {grid-template-columns:1fr;padding:27px 22px 35px;gap:18px;}
  .flake-banner .flake-banner-intro {max-width:48ch;}
  .flake-banner #flake-banner-title {font-size:clamp(40px,7.7vw,56px);}
  .flake-banner-tiles {gap:9px;padding:0;}
  .flake-banner .flake-banner-tile {aspect-ratio:1.48;border-width:3px;border-radius:13px;}
  .flake-banner-tile span {width:calc(100% - 8px);max-width:none;margin-inline:4px;font-size:13px;}
  .flake-banner .flake-banner-proof {margin-top:12px;}
}
@media(max-width:540px) {
  .flake-banner-street {
    height:233px;width:134px;
    -webkit-mask-image:linear-gradient(to right,#000 8%,#000e 24%,#0006 58%,transparent 90%),linear-gradient(to bottom,#000 78%,transparent 100%);
    mask-image:linear-gradient(to right,#000 8%,#000e 24%,#0006 58%,transparent 90%),linear-gradient(to bottom,#000 78%,transparent 100%);
    -webkit-mask-composite:source-in;mask-composite:intersect;
  }
  .flake-banner .flake-banner-tagline {padding-left:16px;}
  .flake-banner-headline {padding-left:5px;gap:10px;}
  .flake-banner-marker {width:43px;height:63px;}
  .flake-banner .flake-banner-intro {padding-left:35px;}
  .flake-banner-actions .flake-banner-request {padding-left:8px;}
  .flake-banner-actions a .icon:last-child {width:14px;height:14px;}
  .flake-banner-inner {padding:22px 14px 27px;gap:16px;}
  .flake-banner #flake-banner-title {font-size:clamp(36px,8.9vw,49px);}
  .flake-banner .flake-banner-tagline {margin-bottom:15px;}
  .flake-banner .flake-banner-intro {margin:14px 0;font-size:16px;}
  .flake-banner .flake-banner-search .search-bar {grid-template-columns:1fr 1fr;gap:8px 0;}
  .flake-banner-search .search-bar button {grid-column:1/-1;min-height:42px;}
  .flake-banner-tiles {grid-template-columns:repeat(2,minmax(0,1fr));}
  .flake-banner-actions {display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:stretch;}
  .flake-banner-actions a {min-height:44px;font-size:14px;}
  .flake-banner-actions .flake-banner-post {padding-inline:10px;}
  .flake-banner-actions .flake-banner-request {justify-self:start;padding-inline:8px 0;}
  .flake-banner-tile span {min-height:29px;font-size:12px;}
  .flake-banner .flake-banner-proof {display:grid;grid-template-columns:repeat(2,max-content);gap:5px 12px;}
  .flake-banner-proof li {font-size:11px;}
  .flake-banner-search .search-bar input {font-size:16px;}
}
@media(max-width:370px) {
  .flake-banner-actions a {font-size:13px;gap:4px;}
  .flake-banner-actions a .icon:last-child {display:none;}
  .flake-banner-tile span {gap:3px;}
  .flake-banner-tile .icon {width:14px;height:14px;}
}
@media(prefers-reduced-motion:reduce) {.flake-banner .flake-banner-tile {transition:none;}}

.flake-banner .flake-tile-services,.flake-banner .flake-tile-jobs {background-position:center 14%;}
.flake-banner .flake-banner-search .search-bar .field::before,
.flake-banner .flake-banner-search .search-bar .field::after {content:none;display:none;}
.flake-banner .flake-banner-search .search-bar .field {padding-inline:10px;}
@media(max-width:800px), (max-width:950px) and (max-height:540px) {
  .flake-banner .flake-banner-search .search-bar {grid-template-columns:minmax(0,1fr);gap:0;}
  .flake-banner-search .search-bar > .field,.flake-banner-search .search-bar > button {grid-column:1;}
  .flake-banner-search .search-bar .field {padding:6px 10px;}
  .flake-banner-search .search-bar .field + .field {border-left:0;border-top:1px solid #e3e9f0;}
  .flake-banner-search .search-bar button {margin-top:4px;}
}
