 /* ─── TOKENS ─────────────────────────────────────────────────────────── */
 :root {
     --c-bg: #FAFAF9;
     --c-surface: #FFFFFF;
     --c-border: #E8E6E1;
     --c-border-light: #F0EEE9;
     --c-text-primary: #18181B;
     --c-text-secondary: #6B7280;
     --c-text-muted: #9CA3AF;
     --c-accent: #1A6B4A;
     --c-accent-light: #E8F5EF;
     --c-accent-hover: #155E3E;
     --c-amber: #D97706;
     --c-amber-light: #FEF3C7;

     --r-sm: 6px;
     --r-md: 10px;
     --r-lg: 16px;
     --r-xl: 24px;
     --r-full: 100px;

     --sh-xs: 0 1px 2px rgba(0, 0, 0, .05);
     --sh-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);
     --sh-md: 0 4px 12px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .04);
     --sh-lg: 0 12px 32px rgba(0, 0, 0, .10), 0 4px 8px rgba(0, 0, 0, .04);

     --font-display: 'Sora', 'Inter', sans-serif;
     --font-body: 'Inter', sans-serif;
     --nav-h: 56px;
 }

 [data-theme="dark"] {
     --c-bg: #111110;
     --c-surface: #1C1C1A;
     --c-border: #2A2A28;
     --c-border-light: #232321;
     --c-text-primary: #F4F3F0;
     --c-text-secondary: #A09F99;
     --c-text-muted: #6B6A64;
     --c-accent: #22C278;
     --c-accent-light: #0D2B1F;
     --c-accent-hover: #1EAA69;
     --c-amber: #F59E0B;
     --c-amber-light: #1F1500;
     --sh-xs: 0 1px 2px rgba(0, 0, 0, .2);
     --sh-sm: 0 1px 3px rgba(0, 0, 0, .3);
     --sh-md: 0 4px 12px rgba(0, 0, 0, .4);
     --sh-lg: 0 12px 32px rgba(0, 0, 0, .5);
 }

 /* ─── RESET ───────────────────────────────────────────────────────────── */
 *,
 *::before,
 *::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
 }

 html {
     scroll-behavior: smooth;
     -webkit-text-size-adjust: 100%;
 }

 body {
     font-family: var(--font-body);
     background: var(--c-bg);
     color: var(--c-text-primary);
     line-height: 1.6;
     -webkit-font-smoothing: antialiased;
     transition: background .2s, color .2s;
     overflow-x: hidden;
 }

 img {
     display: block;
     max-width: 100%;
 }

 a {
     color: inherit;
     text-decoration: none;
 }

 ul {
     list-style: none;
 }

 button {
     cursor: pointer;
     font-family: inherit;
     border: none;
     background: none;
 }

 /* ─── NAV ─────────────────────────────────────────────────────────────── */
 .nav {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 200;
     height: var(--nav-h);
     background: rgba(17, 17, 16, .95);
     backdrop-filter: blur(16px);
     -webkit-backdrop-filter: blur(16px);
     border-bottom: 1px solid var(--c-border);
     transition: background .2s;
 }

 [data-theme="light"] .nav {
     background: rgba(250, 250, 249, .92);
 }

 .nav-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 100%;
     max-width: 1120px;
     margin: 0 auto;
     padding: 0 20px;
 }

 .nav-logo {
     display: flex;
     align-items: center;
     gap: 9px;
     font-family: var(--font-display);
     font-size: 17px;
     font-weight: 700;
     color: var(--c-text-primary);
     letter-spacing: -.02em;
 }

 .nav-logo-mark {
     width: 30px;
     height: 30px;
     background: var(--c-accent);
     border-radius: 7px;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
 }

 .nav-logo-mark svg {
     width: 16px;
     height: 16px;
 }

 .nav-links {
     display: flex;
     align-items: center;
     gap: 2px;
 }

 .nav-link {
     font-size: 13px;
     font-weight: 500;
     color: var(--c-text-secondary);
     padding: 5px 10px;
     border-radius: var(--r-sm);
     transition: color .12s, background .12s;
 }

 .nav-link:hover {
     color: var(--c-text-primary);
     background: var(--c-border-light);
 }

 .nav-link.active {
     color: var(--c-accent);
     background: var(--c-accent-light);
 }

 .nav-actions {
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .nav-theme-btn {
     width: 32px;
     height: 32px;
     border-radius: var(--r-sm);
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--c-text-secondary);
     border: 1px solid var(--c-border);
     transition: all .12s;
 }

 .nav-theme-btn:hover {
     color: var(--c-text-primary);
     border-color: var(--c-text-muted);
 }

 .nav-menu-btn {
     display: none;
     width: 32px;
     height: 32px;
     border-radius: var(--r-sm);
     align-items: center;
     justify-content: center;
     color: var(--c-text-primary);
     border: 1px solid var(--c-border);
 }

 .btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 7px;
     font-size: 13px;
     font-weight: 600;
     border-radius: var(--r-md);
     padding: 8px 16px;
     transition: all .15s ease;
     white-space: nowrap;
     line-height: 1;
 }

 .btn-primary {
     background: var(--c-accent);
     color: #fff;
     box-shadow: 0 1px 2px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .12);
 }

 .btn-primary:hover {
     background: var(--c-accent-hover);
     transform: translateY(-1px);
     box-shadow: var(--sh-md);
 }

 .btn-secondary {
     background: var(--c-surface);
     color: var(--c-text-primary);
     border: 1px solid var(--c-border);
     box-shadow: var(--sh-xs);
 }

 .btn-secondary:hover {
     border-color: var(--c-text-muted);
 }

 /* mobile drawer */
 .nav-mobile {
     display: none;
     position: fixed;
     top: var(--nav-h);
     left: 0;
     right: 0;
     background: var(--c-surface);
     border-bottom: 1px solid var(--c-border);
     padding: 16px 20px 20px;
     z-index: 199;
     box-shadow: var(--sh-lg);
 }

 .nav-mobile.open {
     display: block;
 }

 .nav-mobile-links {
     display: flex;
     flex-direction: column;
     gap: 4px;
     margin-bottom: 16px;
 }

 .nav-mobile-link {
     font-size: 15px;
     font-weight: 500;
     color: var(--c-text-secondary);
     padding: 10px 12px;
     border-radius: var(--r-sm);
 }

 .nav-mobile-link:hover {
     background: var(--c-bg);
     color: var(--c-text-primary);
 }

 .nav-mobile-actions {
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .nav-mobile-actions .btn {
     width: 100%;
     font-size: 15px;
     padding: 12px 20px;
     border-radius: var(--r-lg);
 }

 /* ─── PAGE LAYOUT ─────────────────────────────────────────────────────── */
 .page-wrap {
     max-width: 1120px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* ─── PAGE HERO ───────────────────────────────────────────────────────── */
 .page-hero {
     padding: calc(var(--nav-h) + 40px) 0 32px;
 }

 .eyebrow {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     font-size: 11px;
     font-weight: 600;
     letter-spacing: .08em;
     text-transform: uppercase;
     color: var(--c-accent);
     margin-bottom: 10px;
 }

 .eyebrow-dot {
     width: 6px;
     height: 6px;
     border-radius: 50%;
     background: var(--c-accent);
     flex-shrink: 0;
 }

 .page-hero h1 {
     font-family: var(--font-display);
     font-size: clamp(28px, 4vw, 44px);
     font-weight: 700;
     letter-spacing: -.03em;
     line-height: 1.1;
     color: var(--c-text-primary);
     margin-bottom: 10px;
 }

 .page-hero h1 em {
     font-style: normal;
     color: var(--c-accent);
 }

 .page-hero p {
     font-size: 15px;
     color: var(--c-text-secondary);
     max-width: 560px;
     line-height: 1.65;
 }

 /* ─── SEARCH + FILTERS ────────────────────────────────────────────────── */
 .search-bar-wrap {
     display: flex;
     align-items: center;
     gap: 10px;
     margin: 28px 0 24px;
     flex-wrap: wrap;
 }

 .search-input-wrap {
     position: relative;
     flex: 1;
     min-width: 220px;
 }

 .search-icon {
     position: absolute;
     left: 12px;
     top: 50%;
     transform: translateY(-50%);
     color: var(--c-text-muted);
     pointer-events: none;
 }

 .search-input {
     width: 100%;
     background: var(--c-surface);
     border: 1px solid var(--c-border);
     border-radius: var(--r-lg);
     padding: 11px 14px 11px 38px;
     font-size: 14px;
     font-family: var(--font-body);
     color: var(--c-text-primary);
     outline: none;
     transition: border-color .15s, box-shadow .15s;
 }

 .search-input::placeholder {
     color: var(--c-text-muted);
 }

 .search-input:focus {
     border-color: var(--c-accent);
     box-shadow: 0 0 0 3px rgba(34, 194, 120, .12);
 }

 /* suggestions dropdown */
 #suggestions {
     position: absolute;
     top: calc(100% + 6px);
     left: 0;
     right: 0;
     background: var(--c-surface);
     border: 1px solid var(--c-border);
     border-radius: var(--r-lg);
     box-shadow: var(--sh-lg);
     z-index: 300;
     overflow: hidden;
     max-height: 300px;
     overflow-y: auto;
 }

 .suggestion-item {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 11px 14px;
     border-bottom: 1px solid var(--c-border-light);
     cursor: pointer;
     transition: background .1s;
 }

 .suggestion-item:last-child {
     border-bottom: none;
 }

 .suggestion-item:hover {
     background: var(--c-bg);
 }

 .suggestion-title {
     font-size: 13px;
     font-weight: 600;
     color: var(--c-text-primary);
 }

 .suggestion-price {
     font-size: 12px;
     color: var(--c-accent);
     font-weight: 700;
     margin-left: auto;
     flex-shrink: 0;
 }

 /* filter chips */
 .filter-chips {
     display: flex;
     gap: 7px;
     flex-wrap: wrap;
     margin-bottom: 28px;
 }

 .filter-chip {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     padding: 7px 14px;
     background: var(--c-surface);
     border: 1px solid var(--c-border);
     border-radius: var(--r-full);
     font-size: 12px;
     font-weight: 500;
     color: var(--c-text-secondary);
     cursor: pointer;
     transition: all .12s;
     white-space: nowrap;
 }

 .filter-chip:hover {
     border-color: var(--c-accent);
     color: var(--c-accent);
     background: var(--c-accent-light);
 }

 .filter-chip.active {
     border-color: var(--c-accent);
     color: var(--c-accent);
     background: var(--c-accent-light);
 }

 /* search query label */
 .search-label {
     font-size: 13px;
     color: var(--c-text-muted);
     margin-bottom: 20px;
 }

 .search-label strong {
     color: var(--c-text-secondary);
 }

 /* ─── LISTINGS GRID ───────────────────────────────────────────────────── */
 .listings-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 14px;
     margin-bottom: 60px;
 }

 /* ─── LISTING CARD ────────────────────────────────────────────────────── */
 .listing-card {
     background: var(--c-surface);
     border: 1px solid var(--c-border);
     border-radius: var(--r-xl);
     overflow: hidden;
     display: flex;
     flex-direction: column;
     transition: box-shadow .2s, border-color .2s, transform .2s;
 }

 .listing-card:hover {
     box-shadow: var(--sh-lg);
     border-color: rgba(34, 194, 120, .3);
     transform: translateY(-4px);
 }

 .listing-img {
     width: 100%;
     height: 200px;
     object-fit: cover;
     background: var(--c-bg);
 }

 .listing-img-placeholder {
     width: 100%;
     height: 200px;
     background: var(--c-bg);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 40px;
     color: var(--c-border);
 }

 .listing-body {
     padding: 18px 20px 20px;
     display: flex;
     flex-direction: column;
     flex: 1;
     gap: 8px;
 }

 .listing-category {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     background: var(--c-accent-light);
     color: var(--c-accent);
     padding: 3px 10px;
     border-radius: var(--r-full);
     font-size: 11px;
     font-weight: 600;
     letter-spacing: .03em;
     width: fit-content;
 }

 .listing-title {
     font-family: var(--font-display);
     font-size: 15px;
     font-weight: 700;
     color: var(--c-text-primary);
     letter-spacing: -.01em;
     line-height: 1.35;
 }

 .listing-price {
     font-size: 18px;
     font-weight: 700;
     color: var(--c-accent);
     letter-spacing: -.02em;
 }

 .listing-desc {
     font-size: 13px;
     color: var(--c-text-secondary);
     line-height: 1.6;
     flex: 1;
 }

 .listing-meta {
     display: flex;
     align-items: center;
     justify-content: space-between;
     font-size: 12px;
     color: var(--c-text-muted);
     padding-top: 4px;
     border-top: 1px solid var(--c-border-light);
 }

 .listing-campus {
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .listing-btn {
     display: block;
     width: 100%;
     text-align: center;
     background: var(--c-accent);
     color: #fff;
     font-size: 13px;
     font-weight: 700;
     padding: 10px 16px;
     border-radius: var(--r-md);
     margin-top: 4px;
     transition: background .15s, transform .15s;
     box-shadow: 0 1px 2px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .1);
 }

 .listing-btn:hover {
     background: var(--c-accent-hover);
     transform: translateY(-1px);
 }

 /* ─── EMPTY STATE ─────────────────────────────────────────────────────── */
 .empty-state {
     text-align: center;
     padding: 80px 20px;
     margin-bottom: 40px;
 }

 .empty-icon {
     font-size: 48px;
     margin-bottom: 16px;
 }

 .empty-state h3 {
     font-family: var(--font-display);
     font-size: 22px;
     font-weight: 700;
     color: var(--c-text-primary);
     margin-bottom: 8px;
 }

 .empty-state p {
     font-size: 14px;
     color: var(--c-text-secondary);
     margin-bottom: 24px;
 }

 /* ─── FOOTER ──────────────────────────────────────────────────────────── */
 .footer {
     background: var(--c-surface);
     border-top: 1px solid var(--c-border);
     padding: 44px 0 28px;
 }

 .footer-inner {
     max-width: 1120px;
     margin: 0 auto;
     padding: 0 20px;
 }

 .footer-top {
     display: grid;
     grid-template-columns: 2fr 1fr 1fr 1fr;
     gap: 40px;
     margin-bottom: 36px;
 }

 .footer-brand-desc {
     font-size: 13px;
     color: var(--c-text-muted);
     line-height: 1.7;
     margin-top: 10px;
     max-width: 240px;
 }

 .footer-col-title {
     font-size: 11px;
     font-weight: 700;
     letter-spacing: .07em;
     text-transform: uppercase;
     color: var(--c-text-muted);
     margin-bottom: 12px;
 }

 .footer-links {
     display: flex;
     flex-direction: column;
     gap: 7px;
 }

 .footer-link {
     font-size: 13px;
     color: var(--c-text-secondary);
     transition: color .1s;
 }

 .footer-link:hover {
     color: var(--c-text-primary);
 }

 .footer-bottom {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding-top: 20px;
     border-top: 1px solid var(--c-border-light);
 }

 .footer-copy {
     font-size: 12px;
     color: var(--c-text-muted);
 }

 .footer-legal {
     display: flex;
     gap: 16px;
 }

 .footer-legal a {
     font-size: 12px;
     color: var(--c-text-muted);
 }

 .footer-legal a:hover {
     color: var(--c-text-secondary);
 }

 /* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
 @media (max-width: 900px) {
     .listings-grid {
         grid-template-columns: repeat(2, 1fr);
     }

     .footer-top {
         grid-template-columns: 1fr 1fr;
         gap: 28px;
     }

     .footer-brand {
         grid-column: 1 / -1;
     }

     .footer-brand-desc {
         max-width: 100%;
     }
 }

 @media (max-width: 640px) {

     html,
     body {
         overflow-x: hidden;
         width: 100%;
     }

     :root {
         --nav-h: 52px;
     }

     .nav-links,
     .nav-desktop-cta {
         display: none;
     }

     .nav-menu-btn {
         display: flex;
     }

     .page-wrap {
         padding: 0 16px;
     }

     .listings-grid {
         grid-template-columns: 1fr;
         gap: 12px;
     }

     /* make card full-width and feel native on mobile */
     .listing-card {
         border-radius: var(--r-lg);
     }

     .listing-img,
     .listing-img-placeholder {
         height: 220px;
     }

     .search-bar-wrap {
         flex-direction: column;
         align-items: stretch;
     }

     .search-input-wrap {
         min-width: unset;
         width: 100%;
     }

     .filter-chips {
         gap: 6px;
     }

     .filter-chip {
         font-size: 11px;
         padding: 6px 12px;
     }

     .footer-top {
         grid-template-columns: 1fr;
         gap: 24px;
     }

     .footer-bottom {
         flex-direction: column;
         gap: 10px;
         text-align: center;
     }

     .footer-legal {
         flex-wrap: wrap;
         justify-content: center;
         gap: 10px;
     }

     .page-hero {
         padding: calc(var(--nav-h) + 28px) 0 24px;
     }

     .page-hero h1 {
         font-size: 26px;
     }
 }

 /* ─── UTILITY ─────────────────────────────────────────────────────────── */
 .sr-only {
     position: absolute;
     width: 1px;
     height: 1px;
     padding: 0;
     margin: -1px;
     overflow: hidden;
     clip: rect(0, 0, 0, 0);
     white-space: nowrap;
     border: 0;
 }

 @media (prefers-reduced-motion: reduce) {

     *,
     *::before,
     *::after {
         animation-duration: .01ms !important;
         transition-duration: .01ms !important;
     }
 }