/* =========================================================
   INVEST — project marketplace + project detail
   ---------------------------------------------------------
   Everything here is built from the tokens in styles.css:
   --accent coral, the cream papers, Plus Jakarta Sans, the
   shared radii and shadows. Saad's V2 board shows a navy +
   orange, Playfair/Inter treatment; the instruction was to
   keep the site's own brand, so the LAYOUT follows the board
   and the STYLE follows the site. No new colours, no new
   fonts, no hard-coded hexes outside the token set.
   ========================================================= */

/* ---------- filter (the one V1 filter: number of units) ---------- */
.pfilter{display:flex;flex-direction:column;gap:12px}
.pfilter__label{font-size:.76rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2)}
.pfilter__row{display:flex;flex-wrap:wrap;gap:10px}
.pfilter__btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:inherit;font-size:.95rem;font-weight:700;color:var(--ink);
  background:#fff;border:1px solid var(--line);border-radius:100px;
  padding:11px 18px;min-height:44px;transition:.22s var(--ease);
}
.pfilter__btn:hover{border-color:var(--ink);transform:translateY(-1px)}
.pfilter__btn.is-on{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:var(--shadow-coral)}
.pfilter__count{
  font-size:.76rem;font-weight:700;line-height:1;padding:4px 7px;border-radius:100px;
  background:var(--paper-2);color:var(--ink-2);
}
.pfilter__btn.is-on .pfilter__count{background:rgba(255,255,255,.24);color:#fff}
.pfilter__result{margin-top:18px;font-size:.9rem;color:var(--ink-3)}

/* ---------- the grid ---------- */
.pgrid{
  margin-top:22px;display:grid;gap:26px;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
}

/* ---------- the standard project card ---------- */
.pcard{
  position:relative;display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line-2);border-radius:var(--r-lg);
  box-shadow:var(--shadow-sm);overflow:hidden;transition:.28s var(--ease);
}
.pcard:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line)}
.pcard__media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--paper-2)}
.pcard__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.pcard:hover .pcard__media img{transform:scale(1.04)}
.pcard__units{
  position:absolute;left:14px;top:14px;
  font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:#fff;background:rgba(30,27,23,.72);backdrop-filter:blur(6px);
  padding:6px 12px;border-radius:100px;
}
.pcard__body{display:flex;flex-direction:column;flex:1;padding:22px 22px 24px}
.pcard__area{font-size:1.22rem;font-weight:700;letter-spacing:-.02em}
/* One stretched link makes the whole card clickable while the accessibility
   tree still sees a single link with a real name. */
.pcard__link::after{content:"";position:absolute;inset:0;z-index:1}
.pcard__city{margin-top:4px;font-size:.92rem;color:var(--ink-3)}
/* Two rows, filled column-first: labels on row 1, figures on row 2. That keeps
   the two figures on a shared baseline even though "Est. capital required"
   wraps to two lines and "Project price" does not. */
.pcard__figures{
  margin-top:18px;padding-top:16px;border-top:1px solid var(--line-2);
  display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;
  grid-auto-flow:column;gap:5px 14px;align-content:start;
}
.pcard__figures dt{font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);align-self:start}
.pcard__figures dd{font-size:1.16rem;font-weight:800;letter-spacing:-.02em;color:var(--ink);align-self:end}
.pcard__cta{
  margin-top:auto;padding-top:20px;
  display:inline-flex;align-items:center;gap:8px;
  font-size:.94rem;font-weight:700;color:var(--accent);
}
.pcard__cta svg{transition:transform .25s var(--ease)}
.pcard:hover .pcard__cta svg{transform:translateX(5px)}

/* ---------- empty state ---------- */
.pempty{
  margin-top:22px;text-align:center;padding:clamp(40px,6vw,70px) 28px;
  background:var(--paper-2);border-radius:var(--r-lg);
}
.pempty h3{font-size:1.4rem}
.pempty p{margin:12px auto 22px;max-width:44ch}


/* =========================================================
   PROJECT DETAIL
   ========================================================= */
/* The nav is sticky, not fixed, so it already occupies flow space at the top
   of the page — no offset needed here. */
.pdetail{padding:clamp(30px,5vw,56px) 0 clamp(70px,9vw,120px)}
.pdetail .breadcrumb{margin-bottom:22px}
.pdetail__grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.9fr);gap:clamp(30px,4vw,56px);align-items:start}
.pdetail__media{border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:16/9.6}
.pdetail__media img{width:100%;height:100%;object-fit:cover}
.pdetail__head{margin-top:clamp(26px,3vw,36px)}
.pdetail__head h1{margin-top:14px;font-size:clamp(2.1rem,4.2vw,3.1rem)}
.pdetail__summary{margin-top:12px;font-size:1.2rem;font-weight:700;color:var(--ink)}
.pdetail__intro{margin-top:14px;font-size:1.06rem;max-width:56ch}
.pdetail__section{margin-top:clamp(38px,5vw,58px);padding-top:clamp(30px,4vw,44px);border-top:1px solid var(--line-2)}
.pdetail__section h2{font-size:clamp(1.5rem,2.6vw,2.1rem)}

/* The numbers — five figures, so the column count is declared rather than
   auto-fit. auto-fit gave four across and one alone on a second row, and the
   grid's gaps were painted by a coloured parent, which turned the four empty
   cells beside it into a large grey slab. Real cell borders on a white parent
   mean a short last row reads as white space instead of a broken panel.

   Each cell is a flex column pushing its value to the bottom, so the figures
   share a baseline even though "Projected cash flow" wraps its label to two
   lines and "Units" does not. */
.pnums{
  margin-top:24px;display:grid;grid-template-columns:repeat(5,1fr);
  background:#fff;border:1px solid var(--line-2);border-radius:var(--r);overflow:hidden;
}
.pnum{display:flex;flex-direction:column;justify-content:space-between;gap:10px;padding:20px 16px;border-right:1px solid var(--line-2)}
.pnum:last-child{border-right:none}
.pnum dt{font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.pnum dd{font-size:1.5rem;font-weight:800;letter-spacing:-.03em;color:var(--ink)}
/* A figure nobody has supplied reads as pending, not as data. */
.pnum__tbc{font-size:1rem!important;font-weight:700!important;color:var(--ink-3)!important;letter-spacing:.04em!important}
.pdetail__proforma{margin-top:22px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.pdetail__proforma span{font-size:.9rem;color:var(--ink-3)}

/* floor plans + rendering */
.pplans{margin-top:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.pplan__frame{
  aspect-ratio:4/3;border-radius:var(--r);overflow:hidden;
  background:var(--paper-2);border:1px solid var(--line-2);
  display:flex;align-items:center;justify-content:center;
}
.pplan__frame svg{width:100%;height:100%;padding:14px}
.pplan__frame img{width:100%;height:100%;object-fit:cover}
.pplan figcaption{margin-top:10px;text-align:center;font-size:.82rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.pplan__wall{fill:none;stroke:var(--blue);stroke-width:2.4;opacity:.55}
.pplan__door{fill:none;stroke:var(--paper-2);stroke-width:4}
.pplan__fix{fill:none;stroke:var(--blue);stroke-width:1.4;opacity:.35}

/* highlight ticks */
.pticks{margin-top:28px;list-style:none;display:grid;gap:12px}
.pticks li{position:relative;padding-left:32px;font-size:1.02rem;color:var(--ink-2)}
.pticks li::before{
  content:"";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;
  background:var(--accent-soft);
}
.pticks li::after{
  content:"";position:absolute;left:6px;top:9px;width:8px;height:4px;
  border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);
  transform:rotate(-45deg);
}

/* ---------- the lead capture card ---------- */
.plead{
  /* clears the scrolled nav (.nav.scrolled .nav__inner is 66px) plus air */
  position:sticky;top:86px;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  padding:clamp(22px,2.4vw,28px);box-shadow:var(--shadow);
}
.plead__figures{display:grid;gap:14px;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid var(--line-2)}
.plead__figures span{display:block;font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.plead__figures strong{display:block;margin-top:4px;font-size:1.5rem;font-weight:800;letter-spacing:-.03em;color:var(--ink)}
.plead__title{font-size:1.3rem;margin-bottom:18px}
.plead__form .field{margin-bottom:14px}
.plead__submit{width:100%;margin-top:6px}
.plead__privacy{
  margin-top:16px;display:flex;align-items:flex-start;gap:8px;
  font-size:.8rem;line-height:1.5;color:var(--ink-3);
}
.plead__privacy svg{flex:none;margin-top:2px}

/* realtor yes/no */
.pradio{border:none;margin:4px 0 18px}
.pradio legend{font-size:.88rem;font-weight:700;color:var(--ink);margin-bottom:10px;padding:0}
.pradio__opt{
  display:inline-flex;align-items:center;gap:9px;margin-right:10px;
  min-height:44px;padding:0 16px 0 14px;cursor:pointer;
  border:1px solid var(--line);border-radius:100px;transition:.2s var(--ease);
  font-size:.95rem;font-weight:600;
}
.pradio__opt:hover{border-color:var(--ink)}
.pradio__opt input{accent-color:var(--accent);width:17px;height:17px;cursor:pointer}
.pradio__opt:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.pradio__opt:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}

/* ---------- related ---------- */
.pdetail__related{margin-top:clamp(60px,8vw,96px);padding-top:clamp(40px,5vw,60px);border-top:1px solid var(--line-2)}
.pdetail__related h2{font-size:clamp(1.5rem,2.6vw,2.1rem)}
.pdetail__all{margin-top:28px}

/* ---------- responsive ---------- */
@media (max-width:1040px){
  .pdetail__grid{grid-template-columns:1fr}
  .plead{position:static}
  .plead__figures{grid-template-columns:1fr 1fr}
}
@media (max-width:820px){
  /* three across, so the second row holds two of five — the trailing cell is
     white and reads as space, not as a missing panel */
  .pnums{grid-template-columns:repeat(3,1fr)}
  .pnum:nth-child(3n){border-right:none}
  .pnum:nth-child(-n+3){border-bottom:1px solid var(--line-2)}
}
@media (max-width:700px){
  .pplans{grid-template-columns:1fr;max-width:380px;margin-inline:auto}
  .pnums{grid-template-columns:repeat(2,1fr)}
  .pnum{border-right:1px solid var(--line-2)}
  .pnum:nth-child(3n){border-right:1px solid var(--line-2)}
  .pnum:nth-child(2n){border-right:none}
  .pnum:nth-child(-n+4){border-bottom:1px solid var(--line-2)}
  .pfilter__row{gap:8px}
  .pfilter__btn{padding:10px 14px;font-size:.9rem}
}

/* =========================================================
   FOR REALTORS
   ---------------------------------------------------------
   Board 6. Same token set as the Invest pages above; the
   only new shapes are the two-column "who does what" split
   and the sign-up card.
   ========================================================= */
/* ---------- hero ---------- */
/* A touch more room than the shared interior hero: this one carries a headline,
   a sub, four points, two buttons and a visual, and at the default padding the
   column ran right to the section edge. */
.rlt__hero{padding-bottom:clamp(56px,7vw,88px)}

/* The four points read as a spec list rather than four lines of body copy —
   hairline-separated rows, so the eye can scan them at a glance. */
.rlt__points{margin-top:26px;list-style:none;display:grid;gap:0;max-width:30rem}
.rlt__points li{
  position:relative;display:flex;align-items:center;gap:12px;
  padding:12px 0;font-size:1rem;font-weight:600;color:var(--ink);
  border-top:1px solid var(--line-2);
}
.rlt__points li:last-child{border-bottom:1px solid var(--line-2)}
.rlt__points li::before{
  content:"";flex:none;width:20px;height:20px;border-radius:50%;
  background:var(--accent-soft);
}
.rlt__points li::after{
  content:"";position:absolute;left:6px;top:50%;width:8px;height:4px;margin-top:-3px;
  border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);
  transform:rotate(-45deg);
}

/* ---------- the inventory deck (hero visual) ---------- */
/* The deck sits in real 3D rather than being a flat card with a grey smudge
   behind it. A shared perspective on the wrapper means the two sheets behind
   are pushed back on the Z axis and the browser scales them for us, so the
   stack recedes the way a stack actually does.

   Motion is deliberately small — the site's register is calm, and the earlier
   coverage-map pass was rejected for being too showy. The card breathes on a
   7s cycle, and hovering straightens the whole deck to face you. */
.rlt__visual{
  position:relative;z-index:1;display:flex;justify-content:center;
  perspective:1500px;perspective-origin:50% 45%;
}
.rltdeck{
  position:relative;width:100%;max-width:440px;
  transform-style:preserve-3d;
  /* positive rotateY brings the LEFT edge forward, so the deck presents back
     toward the copy it sits beside. Negative faced it out at the page margin. */
  transform:rotateY(11deg) rotateX(6deg);
  transition:transform .75s var(--ease);
}
/* straighten and come forward under the cursor */
.rltdeck:hover{transform:rotateY(2deg) rotateX(1deg) translateZ(26px)}

/* two sheets behind the card, so it reads as a list you page through rather
   than a single flat panel */
.rltdeck::before,.rltdeck::after{
  content:"";position:absolute;left:50%;top:0;width:100%;height:100%;
  border-radius:var(--r-lg);background:#fff;border:1px solid var(--line-2);
  box-shadow:var(--shadow-sm);
}
.rltdeck::before{transform:translateX(-50%) translateZ(-38px) translateY(18px)}
.rltdeck::after{transform:translateX(-50%) translateZ(-76px) translateY(36px)}

.rltdeck__card{
  position:relative;z-index:2;background:#fff;
  border:1px solid var(--line-2);border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);overflow:hidden;
  animation:rltFloat 7s ease-in-out infinite;
  will-change:transform;
}
/* the top sheet lifting off the stack, ~9px, once every seven seconds */
@keyframes rltFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-9px)}
}
.rltdeck__head{
  display:flex;align-items:center;gap:9px;
  padding:16px 20px;border-bottom:1px solid var(--line-2);background:var(--paper-2);
}
.rltdeck__dot{width:9px;height:9px;border-radius:50%;background:var(--accent);flex:none}
.rltdeck__title{font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2)}
.rltdeck__count{
  margin-left:auto;font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--accent-deep);background:var(--accent-soft);padding:4px 10px;border-radius:100px;
}
.rltdeck__list{list-style:none;margin:0;padding:0}
.rltdeck__list li{display:flex;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid var(--line-2)}
.rltdeck__where{display:flex;flex-direction:column;gap:2px;min-width:0}
.rltdeck__where strong{font-size:1rem;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.rltdeck__where em{font-style:normal;font-size:.82rem;color:var(--ink-3)}
.rltdeck__figs{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.rltdeck__units{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.rltdeck__figs strong{font-size:1.08rem;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
/* right-aligned so the badge below-left has the corner to itself — centred,
   the two collided. */
.rltdeck__foot{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;
  padding:15px 20px;font-size:.86rem;font-weight:700;color:var(--accent);
}
/* the one line of the proposition, sitting on the artwork */
.rltdeck__badge{
  position:absolute;z-index:3;left:-16px;bottom:-22px;transform:translateZ(34px);
  font-size:.82rem;font-weight:700;color:#fff;background:var(--accent);
  padding:11px 18px;border-radius:100px;box-shadow:var(--shadow-coral);
}
/* the board's short label under each column heading */
.rlt__sub{margin-bottom:10px;font-size:.76rem!important;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}

.rlt__keep{background:var(--paper-2)}


.rlt__form-card{
  max-width:760px;margin:0 auto;text-align:center;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-xl);
  padding:clamp(30px,4vw,52px);box-shadow:var(--shadow-lg);
}
.rlt__form-card h2{margin-top:14px;font-size:clamp(1.7rem,3vw,2.4rem)}
.rlt__form-card > p{margin-top:14px;font-size:1.06rem}
.rlt__form{margin-top:30px;text-align:left}
.rlt__form .field--row{margin-bottom:18px}
.rlt__form .consent{margin:6px 0 20px;font-size:.85rem;color:var(--ink-3);line-height:1.55}
.rlt__form .btn{width:100%}

/* A tilted card wastes horizontal room on a narrow screen, and the hover that
   pays the tilt off does not exist on touch. Below the stacking point the deck
   sits square and still. */
@media (max-width:980px){
  .rlt__visual{margin-top:36px;perspective:none}
  .rltdeck{max-width:420px;transform:none;transform-style:flat}
  .rltdeck:hover{transform:none}
  .rltdeck::before{transform:translateX(-50%) translateY(13px) scale(.955)}
  .rltdeck::after{transform:translateX(-50%) translateY(25px) scale(.91)}
  .rltdeck__badge{transform:none}
}

/* Movement is decoration here — the card says the same thing standing still. */
@media (prefers-reduced-motion:reduce){
  .rltdeck__card{animation:none}
  .rltdeck{transition:none}
}
@media (max-width:820px){
  }
@media (max-width:520px){
  /* the badge hangs off the left edge; at phone widths that is off-screen */
  .rltdeck__badge{left:50%;transform:translateX(-50%);bottom:-14px;white-space:nowrap}
  .rltdeck::before{top:10px}
  .rltdeck::after{top:19px}
}
@media (max-width:700px){
  .rlt__form .field--row{grid-template-columns:1fr;gap:0}
}


/* ===========================================================================
   INVEST — page furniture beyond the grid
   The marketplace shipped as hero + filter + cards and nothing else, which
   left an investor with no answer to "what am I actually being shown" or
   "what happens if I press the button". These four blocks answer both
   without committing Lee to terms he has not set — no minimums, no returns,
   no hold period, no fees. Everything below is either counted from the data
   or restates the brief's own sequence.
   =========================================================================== */

/* Available to any page loading invest.css (invest, project detail, realtors). */
.section--alt{background:var(--paper-2)}

/* ---------- hero ---------- */
/* The stock hero leaves ~130px under the CTAs before the next section starts.
   With a panel on the right the hero already reads as a full band, so it is
   pulled in and the grid below meets it sooner. */
.ihero{padding-bottom:clamp(48px,6vw,76px)}
.ihero + .pmarket{padding-top:clamp(48px,6vw,72px)}
.ihero__visual{display:flex;justify-content:center;align-items:center}
.ihero__panel{
  width:100%;max-width:430px;background:#fff;
  border:1px solid var(--line-2);border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);padding:28px 30px 24px;
}
.ihero__cap{
  display:block;font-size:.74rem;font-weight:800;letter-spacing:.13em;
  text-transform:uppercase;color:var(--accent-deep);margin-bottom:20px;
}
.ihero__grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 20px}
.ihero__grid > div{position:relative}
.ihero__grid b{
  display:block;font-size:clamp(1.8rem,2.7vw,2.35rem);font-weight:800;
  letter-spacing:-.035em;color:var(--ink);line-height:1.05;
}
.ihero__grid span{display:block;margin-top:4px;font-size:.86rem;color:var(--ink-3)}

/* ---------- what every listing shows ---------- */
/* One enclosing panel with internal dividers, matching .pnums on the project
   detail page. The first attempt gave each cell its own top hairline with a
   34px column gap, which painted six disconnected line segments — it read as
   a table that had failed to load rather than as a deliberate grid. Borders
   have to meet, or they should not be there at all. */
.ifields{
  list-style:none;margin:44px auto 0;padding:0;max-width:960px;
  display:grid;grid-template-columns:repeat(3,1fr);
  background:#fff;border:1px solid var(--line-2);border-radius:var(--r-lg);
  overflow:hidden;box-shadow:var(--shadow-sm);
}
.ifields li{padding:24px 26px;border-right:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
/* 6 items over 3 columns: kill the right edge on the last column and the
   bottom edge on the last row, so no border doubles up on the panel frame. */
.ifields li:nth-child(3n){border-right:none}
.ifields li:nth-last-child(-n+3){border-bottom:none}
.ifields strong{display:block;font-size:1.02rem;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.ifields span{display:block;margin-top:6px;font-size:.92rem;line-height:1.5;color:var(--ink-3)}
.ifields__note{
  max-width:62ch;margin:30px auto 0;text-align:center;
  font-size:.98rem;line-height:1.6;color:var(--ink-2);
}

/* ---------- the four steps ---------- */
.isteps{
  list-style:none;margin:46px auto 0;padding:0;max-width:900px;
  display:grid;grid-template-columns:1fr 1fr;gap:30px 40px;
}
.isteps li{display:flex;gap:18px;align-items:flex-start}
.isteps__n{
  flex:none;width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--accent-soft);color:var(--accent-deep);
  font-size:1.02rem;font-weight:800;
}
.isteps h3{font-size:1.1rem;margin-bottom:7px}
.isteps p{font-size:.99rem;line-height:1.6;color:var(--ink-2)}

/* ---------- closing band ---------- */
.iband{
  display:flex;align-items:center;gap:40px;
  background:linear-gradient(150deg,#fff,var(--accent-soft));
  border:1px solid rgba(224,87,63,.28);border-radius:var(--r-lg);
  padding:40px 44px;box-shadow:var(--shadow-sm);
}
.iband h2{font-size:clamp(1.4rem,2.3vw,1.85rem)}
.iband p{margin-top:12px;font-size:1.02rem;line-height:1.6;color:var(--ink-2);max-width:52ch}
.iband__cta{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:14px}

@media (max-width:980px){
  .ihero__visual{margin-top:36px}
  /* two columns: 6 items = 3 rows, so the rules move to every 2nd and last 2 */
  .ifields{grid-template-columns:1fr 1fr}
  .ifields li{border-right:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
  .ifields li:nth-child(3n){border-right:1px solid var(--line-2)}
  .ifields li:nth-child(2n){border-right:none}
  .ifields li:nth-last-child(-n+3){border-bottom:1px solid var(--line-2)}
  .ifields li:nth-last-child(-n+2){border-bottom:none}
}
@media (max-width:760px){
  /* single column: one divider between rows, none on the frame */
  .ifields{grid-template-columns:1fr;max-width:480px}
  .ifields li{border-right:none;border-bottom:1px solid var(--line-2)}
  .ifields li:nth-child(2n),.ifields li:nth-child(3n){border-right:none}
  .ifields li:nth-last-child(-n+3),.ifields li:nth-last-child(-n+2){border-bottom:1px solid var(--line-2)}
  .ifields li:last-child{border-bottom:none}
  .isteps{grid-template-columns:1fr;max-width:520px;gap:26px}
  .iband{flex-direction:column;align-items:flex-start;gap:26px;padding:32px 28px}
  .iband__cta{align-self:stretch}
  .iband__cta .btn{width:100%;justify-content:center}
}


/* ===========================================================================
   YOU KEEP THE CLIENT RELATIONSHIP — copy beside a picture
   ---------------------------------------------------------------------------
   Five text-only treatments failed here before this one, all for the same
   reason: five short phrases were being asked to fill the full width of a
   section on their own, and no arrangement of five short phrases can do that.

   A picture carries the section instead, and the copy sits in a column beside
   it. The narrower measure is doing as much work as the photograph — the same
   items that looked stranded across 880px read as a dense list at 440px.
   =========================================================================== */
.rltkeep{
  display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  gap:clamp(32px,4.6vw,64px);align-items:center;
}
.rltkeep__media{
  border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-lg);
  aspect-ratio:4/4.5;background:var(--paper-2);
}
.rltkeep__media img{width:100%;height:100%;object-fit:cover;display:block}

.rltkeep__body h2{margin-top:14px;font-size:clamp(1.9rem,3.3vw,2.6rem)}
.rltkeep__sub{margin-top:13px;font-size:1.06rem;line-height:1.6;color:var(--ink-2);max-width:44ch}

.rltkeep__group{margin-top:clamp(26px,3vw,34px)}
.rltkeep__cap{
  display:block;font-size:.74rem;font-weight:800;letter-spacing:.13em;
  text-transform:uppercase;color:var(--accent-deep);
}
.rltkeep__group ul{list-style:none;margin:15px 0 0;padding:0;display:grid;gap:13px}
.rltkeep__group li{
  display:flex;align-items:center;gap:12px;
  font-size:1.12rem;font-weight:700;letter-spacing:-.015em;color:var(--ink);
}
.rltkeep__note{
  margin-top:clamp(26px,3vw,34px);padding-top:22px;
  border-top:1px solid var(--line-2);max-width:50ch;
  font-size:.97rem;line-height:1.6;color:var(--ink-3);
}

@media (max-width:900px){
  /* copy first on a phone: the picture supports the section, it does not open
     it, and 4:4.5 of photograph before any words is a wall to scroll past. */
  .rltkeep{grid-template-columns:1fr;gap:30px;max-width:560px;margin-inline:auto}
  .rltkeep__media{order:2;aspect-ratio:16/11}
  .rltkeep__body{order:1}
}

/* the tick, shared by both lists */
.rltline__tick{
  flex:none;width:24px;height:24px;border-radius:50%;
  background:var(--accent-soft);color:var(--accent);
  display:grid;place-items:center;
}
