/*
Theme Name: Aurora Theme
Description: Clemson Housing custom homepage
Version: 1.0
*/
:root {
  --bg: #f5f1ea;
  --surface: #ffffff;
  --surface-soft: #fbf8f3;
  --ink: #161311;
  --muted: #6f665d;
  --line: rgba(22, 19, 17, 0.11);
  --brand: #231a15;
  --brand-2: #3a2a21;
  --accent: #b98949;
  --accent-soft: #ead5b2;
  --shadow: 0 22px 70px rgba(21, 16, 13, 0.14);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --wrap: min(1240px, calc(100vw - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f3ed 0%, #f2ede6 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
.ch-wrap { width: var(--wrap); margin: 0 auto; }
.ch-topbar {
  background: #130f0d;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  letter-spacing: .02em;
}
.ch-topbar__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0;
}
.ch-topbar__inner a + a::before { content: '•'; margin: 0 10px 0 2px; opacity: .45; }
.ch-header {
  position: absolute; top: 46px; left: 0; right: 0; z-index: 40;
}
.ch-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 80px; padding: 0 20px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.12); backdrop-filter: blur(18px);
}
.ch-brand { display: inline-flex; align-items: center; }
.ch-brand img { width: 142px; height: auto; filter: brightness(0) invert(1); }
.ch-nav { display: flex; gap: 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.76); }
.ch-nav a:hover { color: #fff; }
.ch-rent-btn, .ch-btn {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  padding: 14px 22px; font-weight: 700; transition: .24s ease; letter-spacing: .04em;
}
.ch-rent-btn { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.16); }
.ch-btn--primary { background: #fff; color: var(--brand); }
.ch-btn--secondary { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.ch-btn--dark { background: var(--brand); color: #fff; }
.ch-rent-btn:hover, .ch-btn--dark:hover, .ch-btn--primary:hover { transform: translateY(-1px); }
.ch-hero {
  position: relative; min-height: 980px; color: #fff; overflow: clip;
}
.ch-hero__media, .ch-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(185,137,73,.22), transparent 36%),
    linear-gradient(120deg, rgba(14,11,9,.88) 8%, rgba(14,11,9,.63) 44%, rgba(14,11,9,.28) 100%);
}
.ch-hero__content {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr);
  gap: 34px; align-items: end; min-height: 980px; padding: 190px 0 72px;
}
.ch-hero__copy { max-width: 760px; }
.ch-eyebrow, .ch-kicker {
  margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft);
}
.ch-hero h1 {
  margin: 0; max-width: 8ch; font-size: clamp(58px, 8vw, 102px); line-height: .94; letter-spacing: -.055em;
}
.ch-hero__text {
  margin: 24px 0 0; max-width: 680px; font-size: 18px; line-height: 1.75; color: rgba(255,255,255,.82);
}
.ch-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ch-hero-aside { display: flex; justify-content: end; }
.ch-hero-stat-grid { display: grid; gap: 18px; width: min(100%, 430px); }
.ch-hero-stat {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px);
  border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow);
}
.ch-hero-stat img { width: 42px; height: 42px; object-fit: contain; margin-bottom: 18px; filter: brightness(0) invert(1); }
.ch-hero-stat h2 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.03em; }
.ch-hero-stat p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.6; }
.ch-search-section { margin-top: -68px; position: relative; z-index: 5; }
.ch-search-shell {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
  border: 1px solid rgba(22,19,17,.08); border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 30px;
}
.ch-search-shell__intro { margin-bottom: 18px; }
.ch-search-shell__intro h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; }
.ch-search-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.ch-search-card {
  min-height: 92px; border-radius: 22px; padding: 0 18px; display: flex; align-items: center;
  background: linear-gradient(180deg,#faf4ea,#efe3cf); border: 1px solid rgba(34,26,21,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.ch-search-card span { font-size: 15px; font-weight: 700; color: var(--brand); }
.ch-search-actions { margin-top: 18px; }
.ch-section { padding: 112px 0; }
.ch-section--light { background: #fcfaf7; }
.ch-section--accent { background: linear-gradient(135deg, #1d1511, #4a3428); color: #fff; }
.ch-section--dark { background: linear-gradient(135deg, #181210, #2c221c); color: #fff; }
.ch-story-grid, .ch-two-col, .ch-category__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.ch-story-copy h2, .ch-two-col h2, .ch-category__content h2, .ch-center-block h2, .ch-help-box h2 { margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: .98; letter-spacing: -.05em; }
.ch-story-copy h3, .ch-two-col h3 { margin: 18px 0 0; font-size: 24px; line-height: 1.4; color: var(--muted); }
.ch-story-copy p, .ch-two-col p, .ch-category__content p, .ch-center-block p, .ch-help-box p { font-size: 18px; line-height: 1.78; }
.ch-story-media img, .ch-category__media img {
  min-height: 560px; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow);
}
.ch-feature-grid, .ch-service-grid {
  margin-top: 42px; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px;
}
.ch-feature-grid article, .ch-service-grid article {
  min-height: 170px; padding: 24px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(31,23,18,.05); font-weight: 700; line-height: 1.5;
}
.ch-feature-grid article img { width: 38px; height: 38px; object-fit: contain; margin-bottom: 18px; }
.ch-feature-grid article span { display: block; }
.ch-center-block { text-align: center; max-width: 760px; margin: 0 auto; }
.ch-category__content, .ch-story-copy { max-width: 640px; }
.ch-note-box, .ch-help-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.ch-note-box { margin-top: 28px; padding: 26px; }
.ch-note-box strong { display: block; margin-bottom: 12px; font-size: 20px; }
.ch-list { margin: 18px 0 0; padding-left: 18px; }
.ch-list li { margin: 10px 0; font-size: 18px; color: var(--muted); }
.ch-help-box { padding: 38px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; }
.ch-property-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 42px; }
.ch-property-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
}
.ch-property-card img { width: 100%; height: 380px; object-fit: cover; }
.ch-featured-cta { display: flex; justify-content: center; margin-top: 24px; }
@media (max-width: 1100px) {
  .ch-nav { display: none; }
  .ch-hero__content, .ch-story-grid, .ch-two-col, .ch-category__grid, .ch-help-box, .ch-property-grid, .ch-search-grid, .ch-feature-grid, .ch-service-grid { grid-template-columns: 1fr; }
  .ch-story-media img, .ch-category__media img { min-height: 360px; }
}
@media (max-width: 768px) {
  .ch-topbar__inner { flex-wrap: wrap; }
  .ch-topbar__inner a + a::before { display: none; }
  .ch-header { top: 56px; }
  .ch-header__inner { min-height: auto; padding: 14px 16px; }
  .ch-brand img { width: 122px; }
  .ch-rent-btn { width: 100%; }
  .ch-hero { min-height: auto; }
  .ch-hero__content { min-height: auto; padding: 156px 0 42px; gap: 18px; }
  .ch-hero h1 { font-size: 44px; }
  .ch-hero__text { font-size: 15px; line-height: 1.68; }
  .ch-btn { width: 100%; }
  .ch-search-section { margin-top: 0; padding-top: 26px; }
  .ch-search-shell { padding: 20px; }
  .ch-search-card { min-height: 66px; }
  .ch-section { padding: 74px 0; }
  .ch-story-copy h2, .ch-two-col h2, .ch-category__content h2, .ch-center-block h2, .ch-help-box h2 { font-size: 34px; }
  .ch-story-copy h3, .ch-two-col h3 { font-size: 19px; }
  .ch-story-copy p, .ch-two-col p, .ch-category__content p, .ch-center-block p, .ch-help-box p, .ch-list li { font-size: 16px; }
  .ch-help-box { padding: 24px; }
  .ch-property-card img { height: 240px; }
}
