/*
 * rem-about.css -- Real Estate Moguls About Page
 * Brand-adapted from the original realestatemoguls.co/about/ layout.
 */

.rem-about-page { -webkit-font-smoothing: antialiased; }

/* HERO */
.rem-about-page .hero { position:relative; height:700px; overflow:hidden; }
.rem-about-page .hero img { width:100%; height:100%; object-fit:cover; object-position:center 30%; display:block; }
.rem-about-page .hero-ov { position:absolute; inset:0; background:linear-gradient(100deg,rgba(13,27,42,.92) 0%,rgba(13,27,42,.68) 44%,rgba(13,27,42,.15) 100%); display:flex; align-items:center; padding:0 80px; }
.rem-about-page .hero-box { max-width:640px; }
.rem-about-page .hero-eye { font-family:var(--font-body); font-size:16px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--primary); display:block; margin-bottom:22px; }
.rem-about-page .hero-box h1 { font-family:var(--font-display); font-size:clamp(38px,5.5vw,68px); font-weight:800; line-height:1.06; color:#fff; margin:0 0 24px; letter-spacing:-.025em; }
.rem-about-page .hero-box h1 em { font-style:normal; color:var(--primary); }
.rem-about-page .hero-box p { font-family:var(--font-body); font-size:20px; color:rgba(255,255,255,.8); line-height:1.7; max-width:520px; margin:0; }

/* SECTIONS */
.rem-about-page .sec { padding:90px 40px; }
.rem-about-page .sec-alt { padding:90px 40px; background:var(--background,#F2F4F7); }
.rem-about-page .sec-dark { padding:90px 40px; background:var(--authority,#0D1B2A); border-top:5px solid var(--primary); border-bottom:5px solid var(--primary); }
.rem-about-page .inn { max-width:1100px; margin:0 auto; }
.rem-about-page .mid { max-width:840px; margin:0 auto; }
.rem-about-page .nrw { max-width:700px; margin:0 auto; }

/* TYPOGRAPHY */
.rem-about-page .eye { font-family:var(--font-body); font-size:18px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--primary); display:block; margin-bottom:16px; }
.rem-about-page .eye-lt { color:rgba(41,171,226,.85); }
.rem-about-page h2 { font-family:var(--font-display); font-size:clamp(30px,4vw,50px); font-weight:800; line-height:1.1; color:var(--authority,#0D1B2A); margin:0 0 22px; letter-spacing:-.02em; }
.rem-about-page h2 em { font-style:normal; color:var(--primary); }
.rem-about-page h2.lt { color:#fff; }
.rem-about-page .body { font-family:var(--font-body); font-size:18px; color:#4A5568; line-height:1.75; }
.rem-about-page .body-lt { font-family:var(--font-body); font-size:18px; color:rgba(255,255,255,.65); line-height:1.75; }
.rem-about-page .pull { font-family:var(--font-display); font-size:clamp(20px,2.6vw,26px); font-weight:700; color:var(--authority,#0D1B2A); line-height:1.3; border-left:4px solid var(--primary); padding:6px 0 6px 24px; margin:28px 0; }
.rem-about-page .pull-lt { font-family:var(--font-display); font-size:clamp(20px,2.4vw,26px); font-weight:700; font-style:italic; color:var(--primary); line-height:1.4; text-align:center; margin:32px 0; }

/* CARDS (4-column) */
.rem-about-page .cards4 { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:48px; }
.rem-about-page .card { border:1px solid #E2E5E9; border-radius:6px; padding:30px 24px; background:#fff; }
.rem-about-page .card-n { font-family:var(--font-body); font-size:16px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--primary); margin-bottom:14px; }
.rem-about-page .card h4 { font-family:var(--font-display); font-size:19px; font-weight:700; color:var(--authority,#0D1B2A); margin:0 0 10px; line-height:1.3; }
.rem-about-page .card p { font-family:var(--font-body); font-size:17px; color:#4A5568; line-height:1.7; margin:0; }

/* PILLARS (architectural pyramid) */
.rem-about-page .abt-pillar-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin: 48px 0 0;
  width: 100%;
}
.rem-about-page .abt-pillar-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 100%;
}
.rem-about-page .abt-pillar-stack .card {
  flex: 1 1 0;
}
.rem-about-page .abt-pillar-row--foundation .card {
  flex: 0 1 100%;
}

/* STUDIO FULL-BLEED SPLIT (image left, copy right) */
.rem-about-page .abt-studio-full {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 600px;
}
.rem-about-page .abt-studio-full__img {
  position: relative;
  overflow: hidden;
}
.rem-about-page .abt-studio-full__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rem-about-page .abt-studio-full__copy {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--background, #F2F4F7);
}
.rem-about-page .abt-studio-full__copy h2 { margin-bottom: 14px; }
.rem-about-page .abt-studio-full__copy .body { font-size: 18px; margin: 16px 0; }
.rem-about-page .abt-studio-full__copy .body:first-of-type { margin-top: 8px; }

/* MEMBERS FULL-BLEED SPLIT (content left, image right) */
.rem-about-page .abt-members-full {
  display: grid;
  grid-template-columns: 3fr 2fr;
}
.rem-about-page .abt-members-full__content {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--background, #F2F4F7);
}
.rem-about-page .abt-members-full__img {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 100%;
}
.rem-about-page .abt-members-full__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rem-about-page .abt-members-full .member-grid {
  max-width: none;
  margin-top: 24px;
  gap: 3px;
}
.rem-about-page .abt-members-full .member-card {
  height: 280px !important;
}

/* MEMBER CARD ANCHOR */
a.rem-about-page .member-card,
.rem-about-page a.member-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* CLOSING LEFT-ALIGN */
.rem-about-page .closing h2 { text-align: left; }
.rem-about-page .closing-eye { text-align: left; }

/* STANDARD SECTION QUOTE */
.rem-about-page .std-quote { font-family:var(--font-display); font-size:clamp(24px,3.5vw,40px); font-weight:800; font-style:italic; color:#fff; line-height:1.2; max-width:760px; margin:0 auto 32px; text-align:center; letter-spacing:-.02em; }
.rem-about-page .std-quote em { font-style:normal; color:var(--primary); }

/* MEMBER GRID */
.rem-about-page .member-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:3px; margin-top:48px; max-width:800px; }
.rem-about-page .member-card { position:relative; overflow:hidden; height:360px; }
.rem-about-page .member-card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s; object-position:top center; }
.rem-about-page .member-card:hover img { transform:scale(1.04); }
.rem-about-page .member-ov { position:absolute; inset:0; background:linear-gradient(to top,rgba(13,27,42,.88) 0%,rgba(13,27,42,.2) 50%,transparent 100%); display:flex; align-items:flex-end; padding:24px 20px; }
.rem-about-page .member-name { font-family:var(--font-display); font-size:20px; font-weight:800; color:#fff; line-height:1.2; margin-bottom:4px; }
.rem-about-page .member-title { font-family:var(--font-body); font-size:13px; color:var(--primary); font-weight:600; margin-bottom:3px; }
.rem-about-page .member-role { font-family:var(--font-body); font-size:12px; color:rgba(255,255,255,.5); }

/* EPISODE GRID */
.rem-about-page .ep-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:3px; margin-top:48px; }
.rem-about-page .ep-card { position:relative; overflow:hidden; height:280px; }
.rem-about-page .ep-card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s; }
.rem-about-page .ep-card:hover img { transform:scale(1.04); }
.rem-about-page .ep-ov { position:absolute; inset:0; background:linear-gradient(to top,rgba(13,27,42,.82) 0%,transparent 60%); display:flex; align-items:flex-end; padding:20px; }
.rem-about-page .ep-label { font-family:var(--font-body); font-size:14px; font-weight:700; color:#fff; line-height:1.3; }
.rem-about-page .ep-sub { font-family:var(--font-body); font-size:12px; color:var(--primary); margin-top:3px; }

/* IMAGE ROWS */
.rem-about-page .imgrow { display:grid; grid-template-columns:repeat(3,1fr); }
.rem-about-page .imgrow-i { overflow:hidden; }
.rem-about-page .imgrow-i img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s; }
.rem-about-page .imgrow-i:hover img { transform:scale(1.04); }
.rem-about-page .imgrow-tall .imgrow-i { height:340px; }
.rem-about-page .imgrow-short .imgrow-i { height:240px; }

/* SPLIT */
.rem-about-page .split { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; }
.rem-about-page .split-img { overflow:hidden; min-height:520px; }
.rem-about-page .split-img img { width:100%; height:100%; object-fit:cover; display:block; }
.rem-about-page .split-copy { padding:72px 64px; display:flex; flex-direction:column; justify-content:center; }
.rem-about-page .split-copy.alt { background:var(--background,#F2F4F7); }
.rem-about-page .spts { margin-top:32px; display:flex; flex-direction:column; gap:24px; }
.rem-about-page .spt { padding-left:20px; border-left:3px solid var(--primary); }
.rem-about-page .spt h5 { font-family:var(--font-display); font-size:20px; font-weight:700; color:var(--authority,#0D1B2A); margin:0 0 6px; }
.rem-about-page .spt p { font-family:var(--font-body); font-size:20px; color:#4A5568; line-height:1.65; margin:0; }

/* PHILOSOPHY */
.rem-about-page .phil-body { font-family:var(--font-body); font-size:18px; color:rgba(255,255,255,.65); line-height:1.85; margin:0 auto; }
.rem-about-page .phil-close { font-family:var(--font-body); font-size:22px; font-weight:700; color:#fff; margin:32px auto 0; line-height:1.5; text-align:center; }

/* CLOSING */
.rem-about-page .closing { background:var(--authority,#0D1B2A); padding:100px 40px; text-align:center; }
.rem-about-page .closing-eye { font-family:var(--font-body); font-size:18px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--primary); display:block; margin-bottom:20px; }
.rem-about-page .closing h2 { color:#fff; margin-bottom:28px; }
.rem-about-page .closing-body { font-family:var(--font-body); font-size:18px; color:rgba(255,255,255,.62); line-height:1.85; margin:0 auto 28px; }
.rem-about-page .closing-final { font-family:var(--font-body); font-size:20px; font-weight:600; color:var(--primary); letter-spacing:.04em; margin-top:40px; }

/* CTA BUTTON */
.rem-about-page .cta-row { margin-top:36px; }
.rem-about-page .btn { display:inline-block; font-family:var(--font-body); font-size:15px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; text-decoration:none; padding:16px 40px; border-radius:4px; transition:background 200ms,color 200ms; }
.rem-about-page .btn-p { background:var(--primary); color:#fff; }
.rem-about-page .btn-p:hover { background:#1d8ab5; color:#fff; }

/* RESPONSIVE */
@media(max-width:960px){
  .rem-about-page .hero-ov{padding:0 36px;}
  .rem-about-page .sec,.rem-about-page .sec-alt,.rem-about-page .sec-dark{padding:64px 24px;}
  .rem-about-page .closing{padding:68px 24px;}
  .rem-about-page .split{grid-template-columns:1fr;}
  .rem-about-page .split-img{min-height:320px;}
  .rem-about-page .split-copy{padding:44px 28px;}
  .rem-about-page .cards4{grid-template-columns:repeat(2,1fr);gap:16px;}
  .rem-about-page .abt-pillar-row{flex-direction:column;align-items:center;}
  .rem-about-page .abt-pillar-stack .card,
  .rem-about-page .abt-pillar-row--foundation .card{flex:0 1 100%;width:100%;max-width:480px;}
  .rem-about-page .abt-studio-full{grid-template-columns:1fr;min-height:0;}
  .rem-about-page .abt-studio-full__img{height:360px;}
  .rem-about-page .abt-studio-full__copy{padding:48px 32px;}
  .rem-about-page .abt-members-full{grid-template-columns:1fr;min-height:0;}
  .rem-about-page .abt-members-full__img{order:-1;height:auto;aspect-ratio:4/5;}
  .rem-about-page .abt-members-full__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
  .rem-about-page .abt-members-full__content{padding:48px 32px;}
  .rem-about-page .abt-members-full .member-card{height:280px !important;}
  .rem-about-page .member-grid{grid-template-columns:repeat(2,1fr);}
  .rem-about-page .ep-grid{grid-template-columns:repeat(2,1fr);}
  .rem-about-page .ep-card:last-child{display:none;}
  .rem-about-page .imgrow{grid-template-columns:1fr 1fr;}
  .rem-about-page .imgrow-i:last-child{display:none;}
}
@media(max-width:600px){
  .rem-about-page .body,
  .rem-about-page .body-lt,
  .rem-about-page .phil-body,
  .rem-about-page .closing-body,
  .rem-about-page .abt-studio-full__copy .body { font-size: 16px; }
  .rem-about-page .hero{height:600px;}
  .rem-about-page .hero-ov{padding:0 24px;}
  .rem-about-page .hero-box h1{font-size:36px;}
  .rem-about-page .hero-box p{font-size:17px;}
  .rem-about-page .cards4{grid-template-columns:1fr;}
  .rem-about-page .abt-studio-full__img{height:280px;}
  .rem-about-page .abt-studio-full__copy{padding:40px 24px;}
  .rem-about-page .abt-members-full__img{height:auto;aspect-ratio:4/5;}
  .rem-about-page .abt-members-full__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
  .rem-about-page .abt-members-full__content{padding:40px 24px;}
  .rem-about-page .abt-members-full .member-card{height:220px !important;}
  .rem-about-page .member-grid{grid-template-columns:1fr 1fr;}
  .rem-about-page .member-card{height:260px;}
  .rem-about-page .ep-grid{grid-template-columns:1fr;}
  .rem-about-page .ep-card{display:block!important;height:220px;}
  .rem-about-page .imgrow{grid-template-columns:1fr;}
  .rem-about-page .imgrow-i{display:block!important;}
  .rem-about-page .imgrow-tall .imgrow-i{height:240px;}
}
