/* agents template sheet (round 26 split): loaded after /style.css only on agents pages. Source order preserved; rules marked =shared also live in /style.css and are repeated here so they still win in the original order. */
.ag-hero :focus-visible{outline-color:#fff;box-shadow:0 0 0 2px var(--navy)}
.jt-hero-ctas{display:flex;flex-wrap:wrap;gap:.6rem}
.jt-sec{margin:2.5rem 0}
.jt-sec>p{max-width:70ch}
.jt-close{background:var(--navy);color:#fff;border-radius:14px;padding:1.5rem}
.ag-hero{background:var(--navy);color:#fff;border-radius:14px;padding:1.5rem;margin:0 -0.25rem 2rem}
.ag-hero h1{font-size:clamp(2rem,6vw,3.2rem);margin:.2rem 0 .8rem}
.ag-kick{text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;color:var(--gold-lt);margin:0}
.ag-lede{font-size:1.05rem;color:#f3eee4;max-width:70ch}
.ag-hero-ctas{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.2rem 0 0}
.ag-layout{display:grid;gap:2rem}
.ag-find>p{max-width:70ch}
.ag-towns{border:0;padding:0;margin:1rem 0 1.25rem;display:flex;flex-wrap:wrap;gap:.45rem}
.ag-towns legend{font-weight:700;font-size:.9rem;margin-bottom:.5rem}
.ag-towns input{position:absolute;opacity:0;width:1px;height:1px}
.ag-towns label{cursor:pointer;padding:.45rem .85rem;border:1px solid var(--line);border-radius:999px;font-size:.9rem;background:#fff}
.ag-towns input:checked+label{background:var(--navy);border-color:var(--navy);color:#fff}
.ag-towns input:focus-visible+label{outline:3px solid var(--gold);outline-offset:2px;box-shadow:0 0 0 2px var(--navy)}
.ag-cards{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1.1rem}
.ag-card>a,.ag-card>div{display:flex;flex-direction:column;gap:.15rem;height:100%;text-decoration:none;color:var(--ink);border-radius:12px;padding:.5rem;transition:background .15s}
.ag-card>a:hover,.ag-card>a:focus-visible{background:var(--sand)}
.ag-card img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:var(--sand);margin-bottom:.4rem}
.ag-card h3{margin:0;font-size:1rem;line-height:1.25}
.ag-role{font-size:.85rem;color:var(--muted)}
.ag-note{font-size:.85rem;border-left:3px solid var(--gold);padding-left:.45rem;margin:.3rem 0}
.ag-areas{font-size:.78rem;color:var(--muted)}
.ag-mono{display:grid;place-items:center;width:100%;aspect-ratio:1;border-radius:10px;background:var(--sand);color:var(--navy);font-weight:600;font-size:1.6rem;margin-bottom:.4rem}
.ag-staff .ag-mono{width:3.2rem;font-size:1rem;margin:0}
.ag-staff{list-style:none;padding:0;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.ag-staff li,.ag-staff li>a{display:grid;grid-template-columns:3.2rem 1fr;column-gap:.8rem;align-items:center;text-decoration:none;color:var(--ink)}
.ag-staff li{border:1px solid var(--line);border-radius:10px;padding:.7rem}
.ag-staff li>a{grid-column:1/-1}
.ag-staff .ag-mono{grid-row:span 2}
.ag-staff h3{margin:0;font-size:1rem}
.ag-staff span:last-child{font-size:.85rem;color:var(--muted)}
.ag-form{scroll-margin-top:1rem;margin:0}
.ag-recruit a:not(.jt-btn){color:var(--gold)}
.ag .site-footer{padding-bottom:4.5rem}
.ag-find:has(#ag-t-estero:checked) .ag-card:not([data-areas~=estero]),.ag-find:has(#ag-t-bonita-springs:checked) .ag-card:not([data-areas~=bonita-springs]),.ag-find:has(#ag-t-naples:checked) .ag-card:not([data-areas~=naples]),.ag-find:has(#ag-t-fort-myers:checked) .ag-card:not([data-areas~=fort-myers]),.ag-find:has(#ag-t-cape-coral:checked) .ag-card:not([data-areas~=cape-coral]),.ag-find:has(#ag-t-marco-island:checked) .ag-card:not([data-areas~=marco-island]),.ag-find:has(#ag-t-babcock-ranch:checked) .ag-card:not([data-areas~=babcock-ranch]),.ag-find:has(#ag-t-sanibel-captiva:checked) .ag-card:not([data-areas~=sanibel-captiva]){display:none}
.ag-find:has(#ag-n-listing:checked) .ag-card:not([data-needs~=listing]),.ag-find:has(#ag-n-new-construction:checked) .ag-card:not([data-needs~=new-construction]),.ag-find:has(#ag-n-luxury:checked) .ag-card:not([data-needs~=luxury]),.ag-find:has(#ag-n-golf-resort:checked) .ag-card:not([data-needs~=golf-resort]),.ag-find:has(#ag-n-relocation:checked) .ag-card:not([data-needs~=relocation]),.ag-find:has(#ag-n-rentals:checked) .ag-card:not([data-needs~=rentals]),.ag-find:has(#ag-n-investment:checked) .ag-card:not([data-needs~=investment]),.ag-find:has(#ag-n-contracts:checked) .ag-card:not([data-needs~=contracts]),.ag-find:has(#ag-n-international:checked) .ag-card:not([data-needs~=international]){display:none}
.ag-needs{margin-top:-.4rem}
.ag-needs input:checked+label{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.ag-count{display:inline-block;min-width:1.4em;margin-left:.2rem;padding:0 .35em;border-radius:999px;background:var(--sand);color:var(--navy);font-size:.75rem;font-weight:700;text-align:center}
.ag-needs input:checked+label .ag-count{background:#fff}
.ag-needs-note{font-size:.85rem;color:var(--muted);margin:-.5rem 0 1rem}
.ag-known{font-size:.76rem;color:var(--navy);margin-top:.2rem}
.ag-tile>a{display:flex;flex-direction:column;gap:.35rem;height:100%;padding:1rem;border-radius:12px;text-decoration:none;box-sizing:border-box}
.ag-tile-match>a{background:var(--navy);color:#fff}
.ag-tile-match strong{font-size:1.05rem}
.ag-tile-match span{font-size:.88rem;color:#f3eee4}
.ag-tile em{font-style:normal;font-weight:700;margin-top:auto;color:var(--gold)}
.ag-tile em:after{content:" \2192"}
.ag-tile-seat>a{background:var(--sand);color:var(--ink);border:2px dashed var(--gold)}
.ag-tile-seat img{width:3.4rem;height:3.4rem;border-radius:50%;object-fit:cover}
.ag-tile-seat strong{color:var(--navy)}
.ag-tile-seat q{font-size:.88rem;line-height:1.4}
.ag-tile-seat span{font-size:.78rem;color:var(--muted)}
.ag-tile-seat em{color:var(--navy)}
.ag-tile>a:hover,.ag-tile>a:focus-visible{outline:3px solid var(--gold);outline-offset:2px;box-shadow:0 0 0 2px var(--navy)}
@media(min-width:900px){.ag-hero{padding:2.5rem}.ag-layout{grid-template-columns:1fr 340px;align-items:start}.ag-form{position:sticky;top:1rem}.ag .jt-dock{display:none}.ag .site-footer{padding-bottom:1.25rem}}
.site-header [aria-current="page"]{font-weight:700;text-decoration:underline;text-underline-offset:.3em}
/*=shared, repeated for order*/.site-header .cta-phone{font-weight:700;color:var(--navy);text-decoration:none;font-variant-numeric:tabular-nums}
/*=shared, repeated for order*/.site-header .cta-search{display:inline-block;padding:.5rem 1rem;border-radius:999px;background:var(--gold);color:var(--navy);font-weight:600;text-decoration:none}
.ag-hero{background-image:radial-gradient(110% 80% at 100% 0%,rgba(201,169,97,.18),transparent 55%),linear-gradient(160deg,var(--navy) 0%,#22344f 62%,#2a3d5c 100%);background-size:28px 28px,28px 28px,auto,auto}
@media(max-width:899px){/*=shared, repeated for order*/.site-header .brand{grid-column:1/3;grid-row:1;min-width:0;overflow:hidden;font-size:1.05rem;gap:.45rem;white-space:nowrap}/*=shared, repeated for order*/.site-header .cta-phone{grid-column:3;grid-row:1;justify-self:end;font-size:.95rem;padding:.4rem 0;white-space:nowrap}/*=shared, repeated for order*/.site-header .cta-search{grid-column:1;grid-row:2;padding:.45rem .9rem;font-size:.92rem;white-space:nowrap}.site-header nav a[aria-current="page"]{background:var(--navy);border-color:var(--navy);color:#fff;text-decoration:none}}
@media(max-width:374px){/*=shared, repeated for order*/.site-header .brand{font-size:.92rem}/*=shared, repeated for order*/.site-header .cta-phone{font-size:.85rem}/*=shared, repeated for order*/.site-header .cta-search{padding:.4rem .7rem;font-size:.85rem}}
/*=shared, repeated for order*/.site-footer.df{background:var(--navy);color:#e8e3d8;border-top:4px solid var(--gold);padding:2.5rem 1.25rem 1.25rem;font-size:.92rem;line-height:1.55;}
@media(min-width:900px){/*=shared, repeated for order*/.site-footer.df{padding:3rem 2rem 1.5rem}}
/*=shared, repeated for order*/.lf-err{display:block;margin:.1rem 0 0;font-size:.82rem;font-weight:600;color:var(--error)}
/*=shared, repeated for order*/.lf-status{grid-column:1/-1;margin:0;padding:.65rem .8rem;border-radius:10px;background:#f6efe0;border-left:4px solid var(--error);color:var(--error);font-size:.9rem;font-weight:600}
/*=shared, repeated for order*/.lf-status.is-sending{background:var(--sand);border-left-color:var(--navy-2);color:var(--navy)}
/*=shared r00 brand layer (Scheme A Coastal Luxe, real DRG logo); repeated at the end of every sheet so it wins the cascade*/
body{font-family:var(--sans);color:var(--ink);background:var(--bg)}
h1,h2,h3,.form-title,.price,.ol-price,.addr{font-family:var(--display)}
h1{font-weight:700}h2,h3{font-weight:600}
.site-header{background:#0a111e}
.site-header .brand,.brand{display:inline-flex;align-items:center;padding:.4rem .2rem;line-height:0;font-size:0;gap:0;overflow:visible}
.site-header .brand:before,.brand:before{content:none;display:none}
.brand img{display:block;height:84px;width:auto;max-width:none;margin:-17px -14px -15px -10px}
.df-logo a:before{content:none;display:none}
.df-logo a{display:inline-block;line-height:0}
.df-logo img{display:block;width:230px;max-width:100%;height:auto;margin:-1.4rem 0 -1.2rem -1.6rem}
@media(max-width:899px){.site-header .brand{padding:.25rem 0}.site-header .brand img{height:64px;margin:-13px -11px -11px -8px}}
@media(max-width:374px){.site-header .brand img{height:54px;margin:-11px -9px -9px -7px}}

/* round 5: the bench as a dark gallery wall with depth. The real agent cards (every link unchanged) hang on an ink panel lit from above:
   gold-framed portraits that step forward on hover and focus, cards that tilt to the pointer (fx.js) and swing up out of the floor as they
   scroll in. Phones: the same cards become a swipe coverflow that turns in 3D, so the match form is a short scroll away, not 17 rows down. */
.ag-cards{position:relative;padding:1.6rem 1.25rem 1.75rem;border-radius:4px;background-color:#0a111e;
  background-image:radial-gradient(120% 55% at 50% 0%,rgba(201,169,97,.16),rgba(201,169,97,0) 60%),linear-gradient(180deg,#1b2a41 0%,#111c2e 48%,#0a111e 100%);
  box-shadow:inset 0 0 0 1px rgba(201,169,97,.3),inset 0 1px 0 rgba(230,213,171,.25),0 40px 70px -40px rgba(10,17,30,.75);gap:1.6rem 1.1rem}
.ag-card{perspective:1000px}
.ag-card>a,.ag-card>div{color:#fff;transform-style:preserve-3d;padding:.55rem .55rem .7rem;border-radius:6px;transition:background-color .35s var(--fx-ease,ease),box-shadow .35s var(--fx-ease,ease)}
.ag-card h3{color:#fff;font-size:1.05rem;margin-top:.15rem}
.ag-card .ag-role{color:#e6d5ab;letter-spacing:.02em}
.ag-card .ag-note{color:#f3eee4;border-left-color:#c9a961}
.ag-card .ag-areas{color:rgba(243,238,228,.78)}
.ag-card .ag-known{color:#f7f4ee;opacity:.92}
.ag-card img{border-radius:3px;background:#1b2a41;outline:1px solid rgba(201,169,97,.55);outline-offset:4px;margin:4px 0 .75rem;
  box-shadow:0 22px 34px -18px rgba(0,0,0,.85);transform:translateZ(0);transition:transform .5s var(--fx-ease,ease),outline-color .35s,box-shadow .5s var(--fx-ease,ease)}
.ag-card>a:hover,.ag-card>a:focus-visible{background-color:rgba(230,213,171,.07);box-shadow:inset 0 0 0 1px rgba(201,169,97,.35)}
.ag-card>a:hover img,.ag-card>a:focus-visible img{transform:translateZ(38px);outline-color:#e6d5ab;box-shadow:0 34px 50px -20px rgba(0,0,0,.95),0 0 30px rgba(201,169,97,.2)}
.ag-card>a:focus-visible{outline:3px solid #c9a961;outline-offset:3px}
.ag-card.fx-bench-hit>a{box-shadow:inset 0 0 0 2px #c9a961,0 0 40px rgba(201,169,97,.3)}
.ag-card-plain .ag-mono{background:linear-gradient(160deg,#1b2a41,#0a111e);color:#e6d5ab;outline:1px solid rgba(201,169,97,.4);outline-offset:4px;margin:4px 0 .75rem;border-radius:3px;font-family:var(--display);font-size:2.2rem}
.ag-tile-match>a{background:linear-gradient(180deg,#e2cb92 0%,#c9a961 55%,#b8964f 100%);color:#1b2a41;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 24px 40px -22px rgba(201,169,97,.6)}
.ag-tile-match span{color:#1b2a41}
.ag-tile-match em{color:#1b2a41}
.ag-tile-seat>a{background:#f7f4ee}
.ag-tile>a:hover,.ag-tile>a:focus-visible{outline-color:#fff;box-shadow:0 0 0 2px #0a111e}
@media(min-width:700px){
  .ag-cards{padding:2rem 1.75rem 2.25rem;gap:2rem 1.25rem}
  .ag-card{transform:perspective(900px) rotateX(var(--fx-rx,0deg)) rotateY(var(--fx-ry,0deg));transition:transform .35s var(--fx-ease,ease);transform-style:preserve-3d}
  @supports (animation-timeline:view()){@media(prefers-reduced-motion:no-preference){
    .ag-card>a,.ag-card>div,.ag-tile>a{animation:ag-swing linear both;animation-timeline:view();animation-range:entry 5% entry 85%;transform-origin:50% 100%}
  }}
}
@keyframes ag-swing{from{opacity:0;transform:translateY(48px) rotateX(38deg)}to{opacity:1;transform:none}}
@media(max-width:699px){
  .ag-layout>*,.ag-find{min-width:0}
  .ag-cards{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;
    margin:0 -1.25rem;border-radius:0;padding:1.75rem 0 2rem;gap:0;box-shadow:inset 0 1px 0 rgba(201,169,97,.45),inset 0 -1px 0 rgba(201,169,97,.45)}
  .ag-cards::-webkit-scrollbar{display:none}
  .ag-card,.ag-tile{flex:0 0 66%;scroll-snap-align:center;padding:0 .5rem;box-sizing:border-box}
  .ag-cards>li:first-child{margin-left:17%}
  .ag-cards>li:last-child{margin-right:17%}
  .ag-card>a:hover img,.ag-card>a:focus-visible img{transform:none}
  @supports (animation-timeline:view()){@media(prefers-reduced-motion:no-preference){
    .ag-card>a,.ag-card>div,.ag-tile>a{animation:ag-flow linear both;animation-timeline:view(inline);transform-origin:50% 50%}
  }}
}
@keyframes ag-flow{0%{transform:translateX(-14%) rotateY(52deg) scale(.82);opacity:.45}45%,55%{transform:none;opacity:1}100%{transform:translateX(14%) rotateY(-52deg) scale(.82);opacity:.45}}
@media(prefers-reduced-motion:reduce){.ag-card,.ag-card>a,.ag-card img{transition:none;transform:none}}

/* round 27, speed pass: the two layout rules of the bench ring, moved here from /fx/fx.css. The ring itself is drawn by /fx/bench.css, which fx.js loads with /fx/bench.js after the load event */
.ag-hero[data-fx-gallery]{position:relative;isolation:isolate}
@media(min-width:900px){.ag-hero[data-fx-gallery] .ag-lede{max-width:36rem}.ag-hero[data-fx-gallery]>:not(.fx-bench){position:relative;z-index:1}}
/* round 30, final review: on a phone the buttons sit on the first screen and the paragraph follows them (the paragraph keeps its place in the HTML), and the label matches the home and contact tops. */
body .ag-kick{display:flex;align-items:center;gap:.8rem;font-size:.72rem;font-weight:600;letter-spacing:.16em;color:var(--gold)}
body .ag-kick:before{content:"";flex:0 0 2.2rem;height:1px;background:var(--gold)}
@media screen and (max-width:899px){.ag-hero{display:flex;flex-direction:column}body .ag-hero .ag-hero-ctas{order:1;margin:.5rem 0 0}body .ag-hero .ag-lede{order:2;margin:1.5rem 0 0}}
