/*
Theme Name: RoomMatcher Miami
Theme URI: https://roommatcher.com
Author: The Opal Group
Author URI: https://roommatcher.com
Description: Live-event roommate matching for Miami. Built for RoomMatcher — a female-focused mixer series that pairs people looking for a roommate, a new city network, and a good night out.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: roommatcher
*/

/* ---------------------------------------------------------
   DESIGN TOKENS
   White base, brand-derived accents (maroon/coral pulled
   straight from the logo file, gold kept as a small accent).
--------------------------------------------------------- */
:root{
  --white:       #FFFFFF;
  --blush:       #FBEFEC;
  --paper:       #F6EDE3;
  --paper-line:  #EADFD4;
  --coral:       #FD6264;
  --coral-deep:  #E14548;
  --maroon:      #AF4042;
  --maroon-deep: #8C3234;
  --gold:        #C9A227;
  --green:       #1FAA59;
  --green-deep:  #178C48;
  --ink:         #241417;
  --ink-soft:    #6B5254;
  --hairline:    #E9DAD6;

  --font-display: "Fraunces", Georgia, serif;
  --font-label:   "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius-stub: 4px;
}

/* ---------------------------------------------------------
   RESET / BASE
--------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
  color: var(--ink);
}
p{ margin: 0 0 1em; max-width: 62ch; }
.container{ max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

:focus-visible{
  outline: 3px solid var(--maroon);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior:auto !important; }
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-label);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-coral{ background: var(--coral); color: var(--white); }
.btn-coral:hover{ background: var(--coral-deep); }
.btn-outline-ink{ border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover{ background: var(--ink); color: var(--white); }
.btn-outline-maroon{ border-color: var(--maroon); color: var(--maroon); }
.btn-outline-maroon:hover{ background: var(--maroon); color: var(--white); }
.btn-green{ background: var(--green); color: var(--white); }
.btn-green:hover{ background: var(--green-deep); }
.btn-block{ width:100%; justify-content:center; }
.btn-sm{ padding: 8px 16px; font-size: 0.78rem; }

/* Stacked "+ Post profile" / "+ Post room" actions, top right of header,
   shown only to logged-in members (see header.php). */
.account-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 6px;
}
.account-actions .btn .short{ display:none; }
@media (max-width: 480px){
  .account-actions .btn .long{ display:none; }
  .account-actions .btn .short{ display:inline; }
}

/* ---------------------------------------------------------
   SITE HEADER
--------------------------------------------------------- */
.site-header{
  background: var(--white);
  color: var(--ink);
  position: sticky;
  top:0;
  z-index: 40;
  border-bottom: 1px solid var(--hairline);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.site-logo{
  display:flex;
  align-items:center;
}
.site-logo img{ height: 34px; width: auto; display:block; }
.site-logo-wrap{
  display:flex;
  align-items:center;
}
.site-logo-wrap img,
.site-logo-wrap .custom-logo{
  height: 34px;
  width: auto;
  max-width: none;
  display:block;
}
.site-logo-text{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--maroon);
  display:flex;
  align-items:baseline;
  gap: 6px;
}
.site-logo-text .dot{ color: var(--coral); font-style: normal; }
.primary-nav ul{ display:flex; }
.primary-nav li{ display:flex; margin-right: 28px; }
.primary-nav li:last-child{ margin-right: 0; }
.primary-nav a{
  font-family: var(--font-label);
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.78;
  white-space: nowrap;
}
.primary-nav a:hover{ opacity: 1; color: var(--coral); }
.header-cta{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none;
  background:none; border:1.5px solid var(--ink); color: var(--ink);
  border-radius: 8px; padding: 8px 10px;
}

.header-cta .btn .short{ display:none; }
@media (max-width: 860px){
  .primary-nav{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .header-cta .btn .long{ display:none; }
  .header-cta .btn .short{ display:inline; }
}

.mobile-nav{
  background: var(--white);
  border-top: 1px solid var(--hairline);
}
.mobile-nav ul{ padding: 18px 0; display:flex; flex-direction:column; gap: 14px; }
.mobile-nav a{ font-family: var(--font-label); color: var(--ink); font-size: 1rem; }
.mobile-nav a:hover{ color: var(--coral); }

.skip-link{
  position:absolute; left:-9999px; top:auto;
  background: var(--coral); color: var(--white);
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus{ left: 16px; top: 16px; }

/* ---------------------------------------------------------
   STRIPE DIVIDER (art-deco awning motif)
--------------------------------------------------------- */
.stripe-divider{
  height: 10px;
  background: repeating-linear-gradient(
    115deg,
    var(--coral) 0 26px,
    var(--gold) 26px 34px,
    var(--maroon) 34px 60px,
    var(--white) 60px 68px
  );
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */
.hero{
  background: var(--blush);
  color: var(--ink);
  overflow: hidden;
  position: relative;
}
.hero::before{
  content:"";
  position:absolute;
  top: -18%; right: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(253,98,100,0.22), rgba(253,98,100,0) 70%);
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(rgba(175,64,66,0.16) 3px, transparent 3.5px),
    radial-gradient(rgba(201,162,39,0.2) 2.5px, transparent 3px),
    radial-gradient(rgba(253,98,100,0.16) 3px, transparent 3.5px);
  background-size: 130px 130px, 90px 90px, 160px 160px;
  background-position: 0 0, 40px 70px, 90px 20px;
  pointer-events:none;
}
.hero .container{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items:center;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
  position: relative;
  z-index: 1;
}
.hero-eyebrow{
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--maroon);
  margin-bottom: 18px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.hero-eyebrow .pulse{
  width:8px; height:8px; border-radius:50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(253,98,100,0.22);
}
.hero h1{
  font-size: clamp(2.7rem, 5.4vw, 4.2rem);
  color: var(--ink);
}
.hero h1 em{
  font-style: italic;
  color: var(--coral-deep);
  position: relative;
  display: inline-block;
}
.hero h1 em::after{
  content:"";
  position:absolute;
  left: -2%;
  right: -2%;
  bottom: -0.12em;
  height: 0.16em;
  background-image: url("assets/img/squiggle.svg");
  background-repeat: repeat-x;
  background-size: 40px 100%;
  background-position: left bottom;
}
.hero .lede{
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top: 28px; }
.hero-meta{
  margin-top: 40px;
  display:flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-meta div{ min-width: 110px; }
.hero-meta .num{
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--maroon);
  display:block;
}
.hero-meta .label{
  font-family: var(--font-label);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Name tag illustration */
.nametag-wrap{ position:relative; display:flex; justify-content:center; }
.nametag{
  background: var(--white);
  color: var(--ink);
  width: min(340px, 100%);
  padding: 30px 28px 34px;
  border-radius: 10px;
  transform: rotate(-4deg);
  box-shadow: 14px 18px 0 var(--coral-deep);
  position: relative;
}
.nametag::before{
  content:"";
  position:absolute;
  top:-16px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 16px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}
.nametag .hello{
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.nametag .name{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.1rem;
  margin: 6px 0 14px;
  color: var(--maroon);
  border-bottom: 2px dashed var(--paper-line);
  padding-bottom: 12px;
}
.nametag .fact{ font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
.nametag .fact b{ color: var(--maroon-deep); }
.nametag-second{
  position:absolute;
  bottom: -30px; right: -18px;
  width: 150px;
  transform: rotate(9deg);
  z-index:-1;
  opacity: 0.9;
}
.nametag-stamp{
  position: absolute;
  top: -22px;
  right: -26px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px dashed var(--maroon);
  background: rgba(255,255,255,0.9);
  color: var(--maroon);
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  transform: rotate(14deg);
  box-shadow: 0 6px 14px rgba(36,20,23,0.12);
}
@media (max-width: 860px){
  .hero .container{ grid-template-columns: 1fr; }
  .nametag{ transform: rotate(-2deg); margin: 0 auto; }
  .nametag-second{ display:none; }
  .nametag-stamp{ width: 64px; height: 64px; font-size: 0.56rem; top: -16px; right: -14px; }
}

/* ---------------------------------------------------------
   SECTION SCAFFOLDING
   Every section stays light; .section-dim / .section-accent
   are just subtle tints for rhythm, not dark bands.
--------------------------------------------------------- */
.section{ padding: clamp(56px, 9vw, 104px) 0; }
.section-sand{ background: var(--white); }
.section-tint{
  background: var(--blush);
  color: var(--ink);
  background-image:
    radial-gradient(rgba(175,64,66,0.10) 3px, transparent 3.5px),
    radial-gradient(rgba(201,162,39,0.14) 2.5px, transparent 3px);
  background-size: 140px 140px, 100px 100px;
  background-position: 0 0, 50px 60px;
}
.section-dim{ background: var(--paper); }
.section-head{
  max-width: 640px;
  margin-bottom: 48px;
}
.section-kicker{
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--maroon);
  margin-bottom: 12px;
}
.section-head h2{ font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--ink); }
.section-head p{ color: var(--ink-soft); font-size: 1.05rem; }

/* ---------------------------------------------------------
   HOW IT WORKS (genuine sequence -> numbered)
--------------------------------------------------------- */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step{
  border-top: 3px solid var(--coral);
  padding-top: 24px;
}
.step .step-num{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(175,64,66,0.22);
}
.step h3{ font-size: 1.2rem; color: var(--ink); }
.step p{ color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 780px){ .steps{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   NEW MEMBERS — recently registered roommates, linked to
   their profile page (see roommatcher_profile_url()).
--------------------------------------------------------- */
.members-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 22px;
}
.member-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap: 12px;
  padding: 24px 14px 20px;
  background: var(--white);
  border: 1.5px solid var(--hairline);
  border-radius: 16px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, opacity .4s ease;
}
.member-card.is-swapping{
  opacity: 0;
  transform: scale(0.95);
}
.member-card:hover{
  transform: translateY(-4px);
  border-color: var(--coral);
  box-shadow: 0 12px 26px rgba(175,64,66,0.14);
}
.member-avatar{
  width: 76px; height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--coral);
  flex-shrink:0;
}
.member-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.member-name{ font-family: var(--font-label); font-weight:600; color: var(--ink); font-size:0.95rem; }
.member-tag{
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--maroon);
  background: var(--blush);
  padding: 3px 11px;
  border-radius: 100px;
}
.member-match{
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 100px;
}
.member-match-high{ color: #146538; background: rgba(31,170,89,0.14); }
.member-match-mid{ color: #8C6A0E; background: rgba(201,162,39,0.16); }
.member-match-low{ color: var(--ink-soft); background: var(--paper); }
.members-empty{ color: var(--ink-soft); }

/* ---------------------------------------------------------
   MATCHING QUESTIONNAIRE (page-post-profile.php)
--------------------------------------------------------- */
.match-form-wrap{ max-width: 760px; }
.match-form-success{
  background: rgba(31,170,89,0.12);
  color: #146538;
  border: 1px solid rgba(31,170,89,0.3);
  padding: 14px 18px;
  border-radius: 10px;
  font-family: var(--font-label);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.match-question{
  border: none;
  border-top: 1px solid var(--hairline);
  padding: 28px 0;
  margin: 0;
}
.match-question:first-of-type{ border-top: none; padding-top: 0; }
.match-question legend{
  display:flex;
  align-items:baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  padding: 0;
  margin-bottom: 16px;
  width: 100%;
}
.match-question-num{
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
  border-radius: 50%;
  width: 26px; height: 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.match-options{ display:flex; flex-wrap:wrap; gap: 10px; }
.match-pill{
  position: relative;
  cursor: pointer;
}
.match-pill input{
  position:absolute;
  opacity:0;
  width:1px; height:1px;
}
.match-pill span{
  display:inline-block;
  font-family: var(--font-label);
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--hairline);
  color: var(--ink-soft);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.match-pill input:checked + span{
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
}
.match-pill input:focus-visible + span{
  outline: 3px solid var(--maroon);
  outline-offset: 2px;
}
.match-form .btn{ margin-top: 12px; }

/* ---------------------------------------------------------
   MEMBER PROFILE (author.php)
--------------------------------------------------------- */
.profile-wrap{ max-width: 760px; }
.profile-head{
  display:flex;
  align-items:center;
  gap: 20px;
  margin-bottom: 24px;
}
.profile-avatar{
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow:hidden;
  border: 3px solid var(--coral);
  flex-shrink:0;
  display:block;
}
.profile-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.profile-head h1{ font-size: 1.8rem; margin-bottom: 4px; }
.profile-meta{ font-family: var(--font-label); font-size: 0.85rem; color: var(--ink-soft); margin:0; }

.match-score{
  display:inline-flex;
  align-items:baseline;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.match-score-num{ font-family: var(--font-display); font-size: 1.6rem; }
.match-score-label{ font-family: var(--font-label); font-size: 0.85rem; }
.match-score-high{ background: rgba(31,170,89,0.14); color: #146538; }
.match-score-mid{ background: rgba(201,162,39,0.16); color: #8C6A0E; }
.match-score-low{ background: var(--paper); color: var(--ink-soft); }
.match-score-prompt{
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.match-score-prompt a{ color: var(--maroon); text-decoration: underline; }

/* Like button + mutual-match note */
.btn-like{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--coral);
  color: var(--coral-deep);
  background: var(--white);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
  margin-bottom: 12px;
}
.btn-like:hover:not(:disabled){ background: var(--blush); transform: translateY(-1px); }
.btn-like.is-liked{
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  cursor: default;
}
.btn-like:disabled{ opacity: 1; }
.btn-like-icon{ font-size: 1.1rem; line-height: 1; }
.profile-mutual-note{
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: #146538;
  margin: 0 0 28px;
}
.profile-mutual-note[hidden]{ display:none; }

/* Confetti burst */
.rm-confetti{
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9998;
}
.rm-confetti-piece{
  position: absolute;
  top: -12px;
  animation-name: rm-confetti-fall;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes rm-confetti-fall{
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(112vh) rotate(540deg); opacity: 0.85; }
}

/* "Match!" pop-up */
.rm-match-pop{
  position: fixed;
  top: 44%;
  left: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--maroon);
  background: var(--white);
  padding: 16px 40px;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(36,20,23,0.28);
  z-index: 9999;
  pointer-events: none;
  animation: rm-match-pop 1.7s cubic-bezier(.22,.9,.3,1.2) forwards;
}
@keyframes rm-match-pop{
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.4) rotate(-6deg); }
  18%  { opacity: 1; transform: translate(-50%,-50%) scale(1.1) rotate(2deg); }
  30%  { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0deg); }
  78%  { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(0.92) rotate(0deg); }
}

.profile-answers{
  display:flex;
  flex-direction:column;
  gap: 0;
}
.profile-answer{
  display:flex;
  justify-content:space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}
.profile-answer:first-child{ border-top: none; }
.profile-answer-q{ color: var(--ink-soft); font-size: 0.92rem; max-width: 34ch; }
.profile-answer-a{ font-family: var(--font-label); font-weight: 600; color: var(--ink); text-align:right; }
@media (max-width: 560px){
  .profile-answer{ flex-direction:column; gap: 6px; }
  .profile-answer-a{ text-align:left; }
}

.profile-section-title{
  font-size: 1.5rem;
  margin: 48px 0 20px;
}

/* ---------------------------------------------------------
   ROOMMATE DIRECTORY (template-roommates.php)
   Photo tiles with a gradient-faded name/description caption,
   similar to a real-estate "agent grid" pattern.
--------------------------------------------------------- */
.roommate-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.roommate-tile{
  position: relative;
  display:block;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(36,20,23,0.06);
}
.roommate-tile-img{
  position:absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transition: transform .35s ease;
}
.roommate-tile:hover .roommate-tile-img{ transform: scale(1.05); }
.roommate-tile::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(36,20,23,0) 38%, rgba(28,14,16,0.88) 100%);
  pointer-events:none;
}
.roommate-tile-info{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 18px 18px 16px;
  z-index: 2;
  color: var(--white);
  display:flex;
  flex-direction:column;
  gap: 4px;
}
.roommate-tile-name{
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.15;
}
.roommate-tile-desc{
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.roommate-tile-badge{
  position:absolute;
  top: 14px; right: 14px;
  z-index: 3;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--white);
}
.roommate-tile-badge-high{ color: #146538; }
.roommate-tile-badge-mid{ color: #8C6A0E; }
.roommate-tile-badge-low{ color: var(--ink-soft); }

.roommate-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 20px;
  margin-top: 48px;
}
.roommate-pagination-status{
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   EVENTS — ticket stub cards
--------------------------------------------------------- */
.events-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px;
}
.ticket{
  background: var(--white);
  border: 1.5px solid var(--maroon);
  border-radius: var(--radius-stub);
  position: relative;
  display:flex;
  overflow: visible;
  box-shadow: 0 10px 26px rgba(36,20,23,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ticket:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(175,64,66,0.16);
}
.ticket-main{
  flex: 1;
  padding: 24px 22px;
  border-right: 2px dashed var(--paper-line);
}
.ticket-stub{
  width: 84px;
  padding: 24px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap: 4px;
}
.ticket-stub .day{
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--maroon);
  font-style: italic;
}
.ticket-stub .mon{
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.ticket::before, .ticket::after{
  content:"";
  position:absolute;
  width: 20px; height: 20px;
  background: var(--white);
  border: 1.5px solid var(--maroon);
  border-radius: 50%;
  right: 76px;
}
.ticket::before{ top: -11px; }
.ticket::after{ bottom: -11px; }
.ticket .tag{
  display:inline-block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  background: var(--coral);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.ticket h3{ font-size: 1.25rem; margin-bottom: 6px; color: var(--ink); }
.ticket .venue{ font-family: var(--font-label); font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 14px; }
.ticket .btn{ padding: 10px 20px; font-size: 0.85rem; }

/* ---------------------------------------------------------
   TWO-COLUMN AUDIENCE SPLIT (landlords / realtors)
--------------------------------------------------------- */
.audience-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--hairline);
  border-radius: 12px;
  overflow:hidden;
  box-shadow: 0 14px 32px rgba(36,20,23,0.08);
}
.audience-card{
  background: var(--white);
  padding: 40px 36px;
}
.audience-card:nth-child(2){ background: var(--blush); }
.audience-card .icon-line{
  width: 40px; height: 4px; background: var(--coral); margin-bottom: 20px;
}
.audience-card h3{ font-size: 1.4rem; margin-bottom: 12px; }
.audience-card p{ color: var(--ink-soft); }
.audience-card .btn{ margin-top: 12px; }
@media (max-width: 780px){ .audience-grid{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   TESTIMONIAL / NAME-TAG QUOTE STRIP
--------------------------------------------------------- */
.quotes{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.quote-card{
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 26px 24px;
  box-shadow: 0 8px 20px rgba(36,20,23,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.quote-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(36,20,23,0.1);
}
.quote-card .qname{
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--maroon);
  margin-bottom: 10px;
  display:flex;
  align-items:center;
  gap:8px;
}
.quote-card .qname::before{
  content:"";
  width: 22px; height: 14px;
  background: var(--gold);
  border-radius: 2px;
}
.quote-card p{ color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 900px){ .quotes{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   CTA / NEWSLETTER
   The one saturated, full-bleed moment on the page.
--------------------------------------------------------- */
.cta-band{
  background: var(--coral);
  color: var(--white);
  text-align:left;
}
.cta-band .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2{ color: var(--white); font-size: clamp(1.7rem, 3vw, 2.2rem); max-width: 20ch; }
.cta-form{ display:flex; gap:10px; flex-wrap:wrap; }
.cta-form input[type="email"]{
  padding: 14px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--white);
  min-width: 240px;
  font-family: var(--font-body);
  background: var(--white);
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.site-footer{
  background: var(--white);
  color: var(--ink-soft);
  padding: 56px 0 28px;
  border-top: 1px solid var(--hairline);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
}
.footer-grid .site-logo{ margin-bottom: 12px; }
.footer-grid p{ font-size: 0.92rem; }
.footer-col h4{
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-col li{ margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover{ color: var(--coral); }
.footer-bottom{
  padding-top: 24px;
  display:flex;
  justify-content:space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   GENERIC PAGE / SINGLE CONTENT (blog, pages)
--------------------------------------------------------- */
.page-content{
  padding: clamp(56px, 8vw, 96px) 0;
}
.page-content .container{ max-width: 760px; }
.page-content h1{ font-size: clamp(2rem, 4vw, 2.8rem); }
.entry-meta{
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.page-content article + article{ margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--hairline); }
