:root {
  /* Lifestyle Magazine palette: Gallery White, Warm Page, Morning Gold. */
  --gallery-white: #fffdf7;
  --warm-page: #fbf3e6;
  --campus-ink: #18120d;
  --soft-espresso: #4e4035;
  --usc-red: #9d1111;
  --morning-gold: #d8ad5b;
  --garden-green: #58745a;
  --air-blue: #dbe8ec;
  --paper-line: rgba(78, 64, 53, .13);
  --soft-line: rgba(78, 64, 53, .09);
  --white-line: rgba(255, 253, 247, .28);
  --shadow-soft: 0 22px 70px rgba(67, 48, 31, .12);
  --shadow-float: 0 18px 42px rgba(67, 48, 31, .16);
  --display: "Bodoni 72", Didot, "Baskerville Display PT", Baskerville, "Hoefler Text", Georgia, "Times New Roman", serif;
  --body: "Avenir Next", Optima, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.seo-shell {
  margin: 0;
  color: var(--campus-ink);
  background:
    linear-gradient(180deg, rgba(219, 232, 236, .32), transparent 460px),
    radial-gradient(circle at 12% 12%, rgba(216, 173, 91, .15), transparent 34%),
    linear-gradient(180deg, var(--gallery-white), var(--warm-page));
  font-family: var(--body);
  line-height: 1.6;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.seo-shell a {
  color: inherit;
}

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

.seo-shell :focus-visible {
  outline: 3px solid var(--morning-gold);
  outline-offset: 4px;
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--gallery-white);
  background: rgba(24, 18, 13, .84);
  border-bottom: 1px solid rgba(255, 253, 247, .16);
  backdrop-filter: blur(18px);
}

.seo-nav {
  width: min(1180px, calc(100% - 44px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seo-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.seo-logo img {
  width: 154px;
  height: auto;
}

.seo-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 13px;
  font-weight: 800;
}

.seo-links a {
  color: rgba(255, 253, 247, .82);
  text-decoration: none;
}

.seo-links a:hover {
  color: var(--morning-gold);
}

.seo-primary-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--gallery-white) !important;
  background: rgba(157, 17, 17, .88);
  border: 1px solid rgba(255, 253, 247, .22);
  box-shadow: 0 12px 28px rgba(88, 20, 16, .22);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  text-decoration: none;
}

.seo-hero {
  position: relative;
  overflow: hidden;
  color: var(--gallery-white);
  background:
    linear-gradient(90deg, rgba(24, 18, 13, .68), rgba(24, 18, 13, .16) 68%),
    linear-gradient(180deg, rgba(24, 18, 13, .12), rgba(24, 18, 13, .42)),
    var(--hero-image, url("assets/home-hero-street.jpeg")) center / cover;
}

.seo-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 253, 247, .28));
}

.seo-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 52px;
  padding: 108px 0 94px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: rgba(255, 253, 247, .74);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.breadcrumb a {
  color: rgba(255, 253, 247, .9);
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--usc-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.seo-hero .eyebrow {
  color: var(--morning-gold);
}

.seo-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 8.2vw, 108px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: 0;
  text-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

.seo-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255, 253, 247, .9);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-fact-card {
  padding: 24px;
  color: var(--campus-ink);
  background: rgba(255, 253, 247, .88);
  border: 1px solid rgba(255, 253, 247, .58);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(14px);
}

.hero-fact-card strong {
  display: block;
  color: var(--usc-red);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.hero-fact-card p {
  margin: 12px 0 0;
  color: var(--soft-espresso);
}

.decision-strip {
  position: relative;
  z-index: 4;
  margin-top: -42px;
  padding: 0 0 34px;
  color: var(--campus-ink);
  background: linear-gradient(180deg, transparent, var(--gallery-white) 46%, transparent);
}

.decision-strip-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 253, 247, .94);
  border: 1px solid rgba(216, 173, 91, .36);
  box-shadow: var(--shadow-soft);
}

.decision-item {
  min-height: 108px;
  padding: 20px 18px;
  border-left: 1px solid rgba(216, 173, 91, .24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .52), rgba(251, 243, 230, .44));
}

.decision-item:first-child {
  border-left: 0;
}

.decision-item:nth-child(2),
.decision-item:nth-child(5) {
  background: rgba(219, 232, 236, .34);
}

.decision-item:nth-child(3),
.decision-item:nth-child(6) {
  background: rgba(88, 116, 90, .08);
}

.decision-item span {
  display: block;
  color: var(--usc-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.decision-item strong {
  display: block;
  margin-top: 9px;
  color: var(--soft-espresso);
  font-size: 15px;
  line-height: 1.25;
}

.seo-main {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.guide-section {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid var(--soft-line);
}

.guide-section:first-child {
  border-top: 0;
  padding-top: 72px;
}

.guide-section:nth-child(2n + 3)::before {
  content: "";
  position: absolute;
  inset: 28px -28px;
  z-index: -1;
  background: rgba(255, 253, 247, .54);
  border: 1px solid rgba(216, 173, 91, .12);
}

.guide-section h2 {
  max-width: 820px;
  margin: 0 0 26px;
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 400;
  line-height: 1.02;
}

.guide-section h3 {
  margin: 0 0 12px;
  color: var(--campus-ink);
  font-size: 18px;
  line-height: 1.28;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(40px, 6vw, 76px);
  align-items: center;
}

.guide-copy p,
.guide-copy li {
  color: var(--soft-espresso);
  font-size: 17px;
}

.guide-copy p {
  max-width: 720px;
  margin: 0 0 20px;
}

.guide-copy ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.guide-copy li {
  position: relative;
  padding-left: 28px;
}

.guide-copy li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 14px;
  height: 2px;
  background: var(--morning-gold);
}

.guide-copy li + li {
  margin-top: 12px;
}

.guide-image {
  overflow: hidden;
  margin: 0;
  background: var(--air-blue);
  border: 1px solid rgba(216, 173, 91, .24);
  box-shadow: var(--shadow-soft);
}

.guide-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.guide-image figcaption {
  padding: 14px 16px;
  color: var(--soft-espresso);
  background: rgba(255, 253, 247, .86);
  font-size: 13px;
}

.fact-table,
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: rgba(255, 253, 247, .82);
  border: 1px solid rgba(216, 173, 91, .22);
  box-shadow: var(--shadow-soft);
}

.fact-table th,
.fact-table td,
.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(78, 64, 53, .1);
  text-align: left;
  vertical-align: top;
}

.fact-table tr:last-child th,
.fact-table tr:last-child td,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.fact-table th,
.comparison-table th {
  width: 30%;
  color: var(--usc-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fact-table td,
.comparison-table td {
  color: var(--soft-espresso);
}

.comparison-table thead th {
  color: var(--campus-ink);
  background: rgba(219, 232, 236, .64);
}

.comparison-table tbody tr:nth-child(even) td {
  background: rgba(251, 243, 230, .58);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.check-item {
  padding: 26px;
  color: var(--soft-espresso);
  background: rgba(255, 253, 247, .76);
  border: 1px solid rgba(216, 173, 91, .2);
  box-shadow: 0 14px 36px rgba(67, 48, 31, .08);
}

.check-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--gallery-white);
  background: var(--garden-green);
  border-radius: 999px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: rgba(255, 253, 247, .74);
  border: 1px solid rgba(78, 64, 53, .12);
  box-shadow: 0 10px 28px rgba(67, 48, 31, .06);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--campus-ink);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--soft-espresso);
}

.related-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-guides a {
  min-height: 144px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--campus-ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, .86), rgba(251, 243, 230, .7));
  border: 1px solid rgba(216, 173, 91, .22);
  box-shadow: 0 12px 34px rgba(67, 48, 31, .07);
  text-decoration: none;
}

.related-guides a:hover {
  border-color: rgba(157, 17, 17, .48);
  transform: translateY(-2px);
}

.related-guides span {
  color: var(--usc-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.related-guides small {
  margin-top: 18px;
  color: var(--soft-espresso);
}

.seo-cta {
  margin: 96px 0;
  padding: 46px;
  color: var(--gallery-white);
  background:
    linear-gradient(90deg, rgba(24, 18, 13, .92), rgba(24, 18, 13, .58)),
    url("assets/exterior.jpeg") center / cover;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.seo-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.seo-cta p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 253, 247, .84);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--gallery-white);
  background: var(--usc-red);
  border: 1px solid rgba(255, 253, 247, .2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  background: rgba(255, 253, 247, .08);
  border-color: var(--morning-gold);
}

.note {
  margin-top: 18px;
  color: var(--soft-espresso);
  font-size: 14px;
}

.seo-footer {
  background: var(--campus-ink);
  color: var(--gallery-white);
}

.seo-footer-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 36px;
}

.seo-footer img {
  width: 166px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-columns strong {
  display: block;
  margin-bottom: 10px;
  color: var(--morning-gold);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-columns a,
.footer-columns span {
  display: block;
  color: rgba(255, 253, 247, .78);
  font-size: 14px;
  text-decoration: none;
}

.footer-columns a + a {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .seo-nav,
  .seo-hero-inner,
  .seo-main,
  .decision-strip-inner,
  .seo-footer-inner {
    width: min(100% - 28px, 680px);
  }

  .seo-nav,
  .seo-links,
  .seo-hero-inner,
  .guide-grid,
  .seo-cta,
  .seo-footer-inner,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .seo-nav {
    min-height: 58px;
    padding: 10px 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .seo-logo img {
    width: 106px;
  }

  .seo-links {
    display: flex;
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 0;
    font-size: 12px;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .seo-links::-webkit-scrollbar {
    display: none;
  }

  .seo-links a {
    flex: 0 0 auto;
  }

  .seo-primary-link {
    order: -1;
    width: auto;
    min-height: 34px;
    padding: 0 14px;
    font-size: 10px;
  }

  .seo-hero-inner {
    min-height: auto;
    padding: 72px 0 82px;
  }

  .hero-fact-card {
    max-width: 420px;
  }

  .decision-strip {
    margin-top: -36px;
  }

  .decision-strip-inner,
  .checklist-grid,
  .related-guides {
    grid-template-columns: 1fr;
  }

  .decision-item {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid rgba(216, 173, 91, .24);
  }

  .decision-item:first-child {
    border-top: 0;
  }

  .guide-section,
  .guide-section:first-child {
    padding: 62px 0;
  }

  .guide-section:nth-child(2n + 3)::before {
    inset: 18px -14px;
  }

  .fact-table,
  .fact-table tbody,
  .fact-table tr,
  .fact-table th,
  .fact-table td,
  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .fact-table th,
  .comparison-table th {
    padding-bottom: 6px;
  }

  .fact-table td,
  .comparison-table td {
    padding-top: 0;
  }

  .seo-cta {
    padding: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
