/* ============================================
   STORIED — Editorial neighborhood storytelling
   Shared stylesheet
   ============================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

/* ---------- Variables ---------- */
:root{
  --cream:#F2EBDD;
  --warm-white:#FBF8F1;
  --navy:#222E3A;
  --charcoal:#423D36;
  --taupe:#97876F;
  --taupe-soft:#C4B49B;
  --placeholder-a:#E7DDC9;
  --placeholder-b:#D2C2A4;
  --line:rgba(34,46,58,.14);

  --display:'Playfair Display', Georgia, serif;
  --body:'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --measure:38rem;          /* reading width */
  --pad:clamp(1.5rem, 6vw, 3rem);
}

/* ---------- Reset ---------- */
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:var(--body);
  font-weight:400;
  color:var(--charcoal);
  background:var(--cream);
  line-height:1.5;
  font-size:1.0625rem;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}

/* ---------- Typography ---------- */
h1,h2,h3,h4{font-family:var(--display);font-weight:500;color:var(--navy);line-height:1.18;letter-spacing:.005em}

.eyebrow{
  font-family:var(--body);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--taupe);
}

.wordmark{
  font-family:var(--display);
  font-weight:600;
  letter-spacing:.14em;
  color:var(--navy);
}

/* Reading prose */
.prose p{
  font-size:1.13rem;
  line-height:1.75;
  color:var(--charcoal);
  margin-bottom:1.05rem;
  max-width:var(--measure);
}
.prose p:last-child{margin-bottom:0}

/* ---------- Layout helpers ---------- */
.wrap{
  width:100%;
  max-width:64rem;
  margin:0 auto;
  padding-left:var(--pad);
  padding-right:var(--pad);
}
.wrap-narrow{max-width:44rem}
.center{text-align:center}
.hairline{height:1px;background:var(--line);border:0;margin:0}

/* ---------- Header (minimal) ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(242,235,221,.92);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header .bar{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.05rem var(--pad);
  max-width:64rem;margin:0 auto;
}
.site-header .wordmark{font-size:1.05rem}
.site-header nav{display:flex;gap:1.6rem}
.site-header nav a{
  font-family:var(--body);
  font-size:.74rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--taupe);
  text-decoration:none;
  transition:color .2s ease;
}
.site-header nav a:hover{color:var(--navy)}

/* ---------- Arrow link ---------- */
.link-arrow{
  display:inline-flex;align-items:center;gap:.55rem;
  font-family:var(--body);
  font-size:.82rem;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--navy);
  text-decoration:none;
  padding-bottom:.4rem;
  border-bottom:1px solid var(--taupe);
  transition:gap .2s ease, color .2s ease, border-color .2s ease;
}
.link-arrow:hover{gap:.95rem;color:var(--taupe)}
.link-arrow.on-dark{color:var(--cream);border-color:rgba(242,235,221,.5)}
.link-arrow.on-dark:hover{color:#fff;border-color:#fff}

/* ---------- Sections ---------- */
.section{padding:clamp(2.25rem,6.5vw,4rem) 0}
.section-tight{padding:clamp(1.75rem,5vw,3rem) 0}

/* ============================================
   PLACEHOLDER IMAGE SYSTEM
   ============================================ */
.ph{
  position:relative;
  background:linear-gradient(140deg,var(--placeholder-a) 0%,var(--placeholder-b) 100%);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  text-align:center;
  padding:1.5rem;
  overflow:hidden;
}
.ph::after{
  content:"";
  position:absolute;inset:.7rem;
  border:1px solid rgba(255,255,255,.45);
  pointer-events:none;
}
.ph .ph-mark{
  width:34px;height:34px;
  margin-bottom:.9rem;
  opacity:.6;
}
.ph .ph-label{
  font-family:var(--body);
  font-size:.66rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(66,61,54,.62);
  max-width:18rem;
  line-height:1.7;
}
.ph-hero{aspect-ratio:4/5}
.ph-wide{aspect-ratio:3/2}
.ph-square{aspect-ratio:1/1}
@media(min-width:700px){
  .ph-hero{aspect-ratio:16/9}
}

/* ============================================
   HOMEPAGE
   ============================================ */
.home-hero{
  position:relative;
  min-height:66vh;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  color:var(--cream);
  overflow:hidden;
}
.home-hero .ph{
  position:absolute;inset:0;
  aspect-ratio:auto;
  background-color:#222E3A;
  background-size:cover;background-position:center;
}
.home-hero .ph::after{display:none}
.home-hero .ph .ph-mark,.home-hero .ph .ph-label{display:none}
.chapter-card .cc-img{width:100%;height:100%;min-height:15rem;object-fit:cover;display:block}
.home-hero .scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(34,46,58,.34) 0%,rgba(34,46,58,.62) 100%);
}
.home-hero .hero-inner{position:relative;z-index:2;padding:3rem var(--pad)}
.home-hero .hero-mark{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(2.6rem,9vw,4.6rem);
  letter-spacing:.16em;
  color:var(--cream);
  margin-bottom:1.4rem;
}
.home-hero h1{
  color:var(--cream);
  font-weight:400;
  font-style:italic;
  font-size:clamp(1.6rem,5.2vw,2.7rem);
  margin-bottom:1.6rem;
}
.home-hero p.kicker{
  font-family:var(--body);
  font-size:1.02rem;
  line-height:1.7;
  color:rgba(242,235,221,.9);
  max-width:30rem;
  margin:0 auto 2.4rem;
}

.intro{background:var(--warm-white);text-align:center}
.intro p{
  font-family:var(--display);
  font-size:clamp(1.35rem,3.6vw,1.95rem);
  font-weight:400;
  line-height:1.6;
  color:var(--navy);
  max-width:34rem;
  margin:0 auto;
}

/* Chapter card */
.chapter-card{
  background:var(--navy);
  color:var(--cream);
  border-radius:2px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr;
}
.chapter-card .ph{aspect-ratio:4/3}
.chapter-card .cc-body{padding:clamp(2rem,7vw,3.5rem)}
.chapter-card .eyebrow{color:var(--taupe-soft)}
.chapter-card h2{
  color:var(--cream);
  font-size:clamp(1.9rem,5.5vw,2.7rem);
  margin:.7rem 0 1.1rem;
}
.chapter-card p{
  font-size:1.05rem;
  line-height:1.75;
  color:rgba(242,235,221,.82);
  margin-bottom:1.8rem;
  max-width:28rem;
}
@media(min-width:760px){
  .chapter-card{grid-template-columns:1fr 1fr;align-items:center}
  .chapter-card .ph{aspect-ratio:auto;height:100%;min-height:24rem}
}

/* ============================================
   CHAPTER PAGE
   ============================================ */
.chapter-hero{
  text-align:center;
  padding:clamp(2.5rem,7vw,4rem) 0 clamp(1.5rem,4vw,2.25rem);
}
.chapter-hero h1{
  font-size:clamp(2.6rem,9vw,4.4rem);
  margin:.6rem 0 1.6rem;
}
.chapter-hero .lede{
  font-family:var(--display);
  font-style:italic;
  font-size:clamp(1.15rem,3.4vw,1.6rem);
  color:var(--taupe);
  max-width:32rem;
  margin:0 auto;
  line-height:1.5;
}

/* Home cards grid */
.homes-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
}
@media(min-width:800px){
  .homes-grid{grid-template-columns:1fr 1fr;gap:1.4rem}
}
.home-card{
  text-decoration:none;
  color:var(--charcoal);
  display:flex;
  gap:1.05rem;
  align-items:center;
  background:var(--warm-white);
  border:1px solid var(--line);
  border-radius:2px;
  padding:.85rem;
  transition:transform .25s ease, box-shadow .25s ease;
}
.home-card:hover{transform:translateY(-3px);box-shadow:0 14px 26px -18px rgba(34,46,58,.32)}
.home-card .ph{
  flex:0 0 36%;
  max-width:8rem;
  aspect-ratio:1/1;
  margin:0;
  padding:.5rem;
}
.home-card .ph::after{inset:.35rem}
.home-card .ph .ph-label{display:none}
.home-card .ph .ph-mark{margin-bottom:0;width:24px;height:24px}
.home-card .hc-thumb{
  flex:0 0 36%;max-width:8.5rem;
  aspect-ratio:1/1;object-fit:cover;
  border-radius:2px;display:block;
}
.home-card .hc-text{flex:1;min-width:0}
.home-card .hc-num{
  font-family:var(--body);
  font-size:.62rem;letter-spacing:.26em;text-transform:uppercase;
  color:var(--taupe);
}
.home-card h3{
  font-size:1.28rem;
  line-height:1.2;
  margin:.3rem 0;
  transition:color .2s ease;
}
.home-card:hover h3{color:var(--taupe)}
.home-card .hc-addr{
  font-family:var(--body);
  font-size:.76rem;
  letter-spacing:.05em;
  color:var(--taupe);
  margin-bottom:.5rem;
}
.home-card .hc-excerpt{
  font-size:.9rem;
  line-height:1.55;
  margin-bottom:.55rem;
}
.home-card .hc-read{
  font-family:var(--body);
  font-size:.7rem;
  font-weight:500;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--navy);
  display:inline-flex;align-items:center;gap:.45rem;
}

/* Neighborhood block */
.neighborhood{
  background:var(--warm-white);
  text-align:center;
}
.neighborhood h2{
  font-size:clamp(1.7rem,5vw,2.3rem);
  margin:.6rem 0 1.4rem;
}
.neighborhood .prose p{margin-left:auto;margin-right:auto;text-align:center}

/* ============================================
   INDIVIDUAL HOME PAGE
   ============================================ */
.story-hero{position:relative}
.story-hero .ph{aspect-ratio:4/5}
@media(min-width:700px){.story-hero .ph{aspect-ratio:21/9}}

.story-head{
  text-align:center;
  padding:clamp(1.75rem,5vw,2.75rem) 0 clamp(1.1rem,3.5vw,1.75rem);
}
/* Visit / event note under the address */
.visit-note{
  margin:1.1rem auto 0;
  max-width:30rem;
  background:var(--warm-white);
  border:1px solid var(--line);
  border-left:3px solid var(--taupe);
  border-radius:2px;
  padding:.85rem 1.1rem;
  font-family:var(--body);
  font-size:.9rem;
  line-height:1.6;
  color:var(--charcoal);
}
.visit-note strong{
  display:block;
  font-size:.66rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--taupe);
  margin-bottom:.3rem;
}
.story-head .eyebrow{display:block;margin-bottom:1.4rem}
.story-head h1{
  font-size:clamp(2.4rem,8.5vw,4rem);
  line-height:1.1;
  margin-bottom:1.1rem;
}
.story-head .built{
  font-family:var(--display);
  font-style:italic;
  font-size:1.15rem;
  color:var(--taupe);
}
.story-head .built span{display:block;font-style:normal;font-family:var(--body);font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;margin-top:.5rem;color:var(--taupe)}

/* Story section blocks */
.story-block{padding:clamp(1.9rem,5vw,3rem) 0}
.story-block + .story-block{border-top:1px solid var(--line)}
.block-label{
  font-family:var(--body);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--taupe);
  margin-bottom:1.6rem;
  text-align:center;
}
.story-block .prose{margin:0 auto}
.story-block .prose p{margin-left:auto;margin-right:auto}

/* Details to notice */
.details{background:var(--warm-white)}
.details ul{
  list-style:none;
  max-width:32rem;
  margin:0 auto;
}
.details li{
  font-size:1.1rem;
  line-height:1.6;
  padding:1rem 0 1rem 2rem;
  border-bottom:1px solid var(--line);
  position:relative;
}
.details li:last-child{border-bottom:0}
.details li::before{
  content:"";
  position:absolute;left:0;top:1.5rem;
  width:9px;height:9px;
  border:1px solid var(--taupe);
  transform:rotate(45deg);
}

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.8rem;
}
@media(min-width:640px){
  .gallery-grid{grid-template-columns:1fr 1fr 1fr;gap:1rem}
}
.gallery-grid .ph{aspect-ratio:1/1}
.gallery-grid .ph.tall{aspect-ratio:1/1}

/* Final line */
.final-line{
  background:var(--navy);
  color:var(--cream);
  text-align:center;
  padding:clamp(2.5rem,7vw,4rem) 0;
}
.final-line p{
  font-family:var(--display);
  font-style:italic;
  font-size:clamp(1.4rem,4.6vw,2.1rem);
  line-height:1.45;
  color:var(--cream);
  max-width:30rem;
  margin:0 auto;
}

/* Next home */
.next-home{
  text-align:center;
  padding:clamp(2.25rem,6vw,3.5rem) 0;
  background:var(--cream);
}
.next-home .eyebrow{display:block;margin-bottom:1rem}
.next-home h3{
  font-size:clamp(1.8rem,5.5vw,2.6rem);
  margin-bottom:1.6rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero{
  text-align:center;
  padding:clamp(2.5rem,8vw,4.5rem) 0 clamp(1.5rem,4vw,2.25rem);
}
.about-hero .hero-mark{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(2.8rem,10vw,5rem);
  letter-spacing:.16em;
  color:var(--navy);
}
.about-body .prose{margin:0 auto}
.about-body .prose p{margin-left:auto;margin-right:auto}
.about-pull{
  font-family:var(--display)!important;
  font-style:italic;
  font-size:clamp(1.4rem,4vw,1.9rem)!important;
  line-height:1.5!important;
  color:var(--navy)!important;
  text-align:center;
  margin:2.5rem auto!important;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  background:var(--navy);
  color:rgba(242,235,221,.72);
  padding:clamp(3rem,8vw,4.5rem) 0 2.5rem;
  text-align:center;
}
.site-footer .wordmark{
  color:var(--cream);
  font-size:1.3rem;
  display:block;
  margin-bottom:1.6rem;
}
.site-footer nav{
  display:flex;flex-wrap:wrap;gap:1.2rem 2rem;
  justify-content:center;
  margin-bottom:2rem;
}
.site-footer nav a{
  font-family:var(--body);
  font-size:.74rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(242,235,221,.72);
  text-decoration:none;
  transition:color .2s ease;
}
.site-footer nav a:hover{color:var(--cream)}
.site-footer .credits{
  font-family:var(--body);
  font-size:.78rem;
  line-height:1.9;
  color:rgba(242,235,221,.5);
}
.site-footer .credits .made{
  font-family:var(--display);
  font-style:italic;
  font-size:.95rem;
  color:rgba(242,235,221,.7);
  display:block;
  margin-top:.8rem;
}

/* ---------- Accessibility ---------- */
.skip{position:absolute;left:-9999px}
.skip:focus{position:fixed;top:.6rem;left:.6rem;background:var(--navy);color:#fff;padding:.6rem 1rem;z-index:100}
:focus-visible{outline:2px solid var(--taupe);outline-offset:3px}

/* ============================================================
   HOME STORY PAGES v2 — cinematic reveal
   ============================================================ */

/* Scroll-reveal primitive */
.reveal{opacity:0;transform:translateY(34px);transition:opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:.12s}
.reveal.d2{transition-delay:.24s}

/* Cinematic hero */
.cine-hero{
  position:relative;
  height:100svh;min-height:600px;
  overflow:hidden;
  display:flex;align-items:flex-end;justify-content:center;
  text-align:center;
}
.cine-hero .ch-img{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  transform-origin:center;
  animation:heroReveal 2.6s cubic-bezier(.16,.8,.3,1) forwards;
}
@keyframes heroReveal{
  0%{transform:scale(1.22);filter:brightness(.5) blur(16px)}
  100%{transform:scale(1.03);filter:brightness(1) blur(0)}
}
.cine-hero .ch-scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(34,46,58,.12) 0%,rgba(34,46,58,.22) 42%,rgba(34,46,58,.84) 100%);
}
.cine-hero .ch-inner{
  position:relative;z-index:2;
  padding:0 var(--pad) clamp(3rem,9vw,5.5rem);
  max-width:48rem;color:var(--cream);
}
.cine-hero .ch-eyebrow{
  font-family:var(--body);font-size:.72rem;letter-spacing:.34em;text-transform:uppercase;
  color:var(--cream);opacity:0;animation:riseIn 1s ease 1.55s forwards;
}
.cine-hero h1{
  color:var(--cream);font-weight:500;
  font-size:clamp(2.5rem,7.5vw,4.8rem);
  line-height:1.05;margin:1rem 0 .9rem;
  opacity:0;animation:riseIn 1.15s ease 1.8s forwards;
}
.cine-hero .ch-tag{
  font-family:var(--display);font-style:italic;
  font-size:clamp(1.1rem,3vw,1.5rem);
  color:var(--cream);opacity:0;animation:riseIn 1.15s ease 2.1s forwards;
}
@keyframes riseIn{from{opacity:0;transform:translateY(28px)}to{opacity:.97;transform:none}}
.cine-hero .ch-scroll{
  position:absolute;bottom:1.3rem;left:50%;transform:translateX(-50%);z-index:2;
  font-family:var(--body);font-size:.6rem;letter-spacing:.3em;text-transform:uppercase;
  color:rgba(242,235,221,.7);opacity:0;animation:riseIn 1s ease 2.5s forwards;
}
.cine-hero .ch-scroll::after{
  content:"";display:block;width:1px;height:32px;margin:.5rem auto 0;
  background:rgba(242,235,221,.55);animation:scrollPulse 2.2s ease infinite;
}
@keyframes scrollPulse{0%,100%{opacity:.2;transform:scaleY(.55)}50%{opacity:1;transform:scaleY(1)}}

/* Stats bar */
.story-stats{
  background:var(--navy);color:var(--cream);
  display:flex;flex-wrap:wrap;justify-content:center;
  gap:.6rem clamp(1.1rem,5vw,3rem);
  padding:clamp(1.3rem,4vw,1.9rem) var(--pad);text-align:center;
}
.story-stats .st{display:flex;flex-direction:column;gap:.25rem;min-width:4.5rem}
.story-stats .st-num{font-family:var(--display);font-size:clamp(1.1rem,2.6vw,1.45rem);color:var(--cream)}
.story-stats .st-lbl{font-family:var(--body);font-size:.58rem;letter-spacing:.2em;text-transform:uppercase;color:var(--taupe-soft)}

/* Narrative */
.story-body{padding:clamp(2.5rem,8vw,4.5rem) 0}
.chapter{max-width:40rem;margin:0 auto;padding:0 var(--pad)}
.chapter + .chapter{margin-top:clamp(1.8rem,5vw,2.8rem)}
.chapter h2{font-size:clamp(1.45rem,4vw,2.1rem);margin-bottom:1rem;line-height:1.22}
.chapter h2 .ch-no{
  display:block;font-family:var(--body);font-size:.64rem;letter-spacing:.28em;
  text-transform:uppercase;color:var(--taupe);margin-bottom:.55rem;
}
.chapter p{font-size:1.14rem;line-height:1.8;color:var(--charcoal);margin-bottom:1.05rem}
.chapter p:last-child{margin-bottom:0}

/* Pull quote */
.pullquote{max-width:38rem;margin:clamp(2.2rem,6vw,3.6rem) auto;padding:0 var(--pad);text-align:center}
.pullquote blockquote{
  font-family:var(--display);font-style:italic;
  font-size:clamp(1.45rem,4.2vw,2.15rem);line-height:1.4;color:var(--navy);
}
.pullquote blockquote::before{
  content:"";display:block;width:46px;height:2px;background:var(--taupe);margin:0 auto 1.4rem;
}

/* Interspersed photos */
.story-figure{margin:clamp(2.2rem,6vw,3.4rem) 0;overflow:hidden}
.story-figure img{
  width:100%;display:block;
  transform:scale(1.09);transition:transform 1.8s cubic-bezier(.2,.7,.2,1);
}
.story-figure.in img{transform:scale(1)}
.story-figure.contain{max-width:44rem;margin-left:auto;margin-right:auto;padding:0 var(--pad)}
.story-duo{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin:clamp(2.2rem,6vw,3.4rem) 0}
.story-duo .story-figure{margin:0}
.story-duo img{aspect-ratio:4/5;object-fit:cover;height:100%}

/* Sources */
.sources{max-width:40rem;margin:0 auto;padding:clamp(2rem,6vw,3rem) var(--pad);border-top:1px solid var(--line)}
.sources summary{
  font-family:var(--body);font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--taupe);cursor:pointer;list-style:none;
}
.sources summary::-webkit-details-marker{display:none}
.sources summary::after{content:"  +";color:var(--taupe)}
.sources details[open] summary::after{content:"  –"}
.sources ul{margin:1rem 0 0;padding-left:1.1rem;list-style:none}
.sources li{font-family:var(--body);font-size:.8rem;line-height:1.7;color:var(--taupe);margin-bottom:.25rem}

/* Listing link */
.listing-cta{text-align:center;padding:clamp(1.6rem,5vw,2.6rem) var(--pad)}
.listing-cta a{
  font-family:var(--body);font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;font-weight:500;
  color:var(--navy);border-bottom:1px solid var(--taupe);padding-bottom:.3rem;
}
.listing-cta a:hover{color:var(--taupe)}

/* Transparent header over a cinematic hero */
.site-header.transparent{
  position:absolute;top:0;left:0;right:0;
  background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;
  border-bottom:none;z-index:20;
}
.site-header.transparent .wordmark{color:var(--cream)}
.site-header.transparent nav a{color:rgba(242,235,221,.82)}
.site-header.transparent nav a:hover{color:var(--cream)}

@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .cine-hero .ch-img{animation:none;transform:scale(1.03)}
  .cine-hero .ch-eyebrow,.cine-hero h1,.cine-hero .ch-tag,.cine-hero .ch-scroll{animation:none;opacity:1}
  .story-figure img{transform:none}
  .cine-hero .ch-scroll::after{animation:none}
}

/* ---------- Agents (homepage) ---------- */
.agents{background:var(--warm-white)}
.agent-grid{
  display:grid;grid-template-columns:1fr;gap:1.1rem;
  max-width:56rem;margin:0 auto;
}
@media(min-width:600px){.agent-grid{grid-template-columns:1fr 1fr}}
@media(min-width:940px){.agent-grid{grid-template-columns:1fr 1fr 1fr}}
.agent-card{
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:2px;
  padding:1.4rem 1.3rem;
  display:flex;flex-direction:column;
}
.agent-card .ag-name{font-family:var(--display);font-size:1.22rem;color:var(--navy);line-height:1.2}
.agent-card .ag-role{
  font-family:var(--body);font-size:.6rem;letter-spacing:.17em;text-transform:uppercase;
  color:var(--taupe);margin:.45rem 0 .9rem;line-height:1.7;
}
.agent-card .ag-contact{
  font-family:var(--body);font-size:.85rem;line-height:1.9;color:var(--charcoal);margin-bottom:.8rem;
}
.agent-card .ag-contact a{color:var(--charcoal);text-decoration:none;border-bottom:1px solid var(--line)}
.agent-card .ag-contact a:hover{color:var(--taupe);border-color:var(--taupe)}
.agent-card .ag-link{
  margin-top:auto;align-self:flex-start;
  font-family:var(--body);font-size:.68rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;
  color:var(--navy);border-bottom:1px solid var(--taupe);padding-bottom:.22rem;text-decoration:none;
}
.agent-card .ag-link:hover{color:var(--taupe)}
