:root {
  --navy: #06132a;
  --ink: #171717;
  --muted: #5f5f5f;
  --paper: #f7f5f1;
  --ivory: #ffffff;
  --utility: #efede8;
  --sand: #ebe5da;
  --gold: #8d7e51;
  --gold-dark: #786a42;
  --line: rgba(6, 19, 42, 0.13);
  --warm-line: rgba(141, 126, 81, 0.34);
  --shadow: 0 24px 70px rgba(25, 22, 16, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
}

body::selection {
  background: var(--gold);
  color: var(--ivory);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ivory);
  box-shadow: 0 1px 0 rgba(6, 19, 42, 0.08);
}

.utility-bar {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  min-height: 25px;
  padding: 0 32px;
  background: var(--utility);
  color: #111;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
}

.utility-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.utility-login::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.utility-rewards::before {
  content: "";
  width: 22px;
  height: 14px;
  background: linear-gradient(90deg, var(--gold) 0 45%, transparent 45% 55%, var(--gold) 55% 100%);
  clip-path: polygon(0 0, 45% 50%, 0 100%, 0 0, 100% 0, 55% 50%, 100% 100%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  min-height: 64px;
  padding: 0 clamp(24px, 4vw, 72px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 220px;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand-name {
  display: grid;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name small {
  color: rgba(6, 19, 42, 0.62);
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.46em;
  text-align: center;
}

nav {
  justify-content: space-between;
  gap: clamp(18px, 2.2vw, 32px);
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

nav::-webkit-scrollbar {
  display: none;
}

nav a {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover {
  color: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(510px, calc(100vh - 89px));
  padding: 72px clamp(20px, 5vw, 72px) 92px;
  background:
    linear-gradient(180deg, rgba(26, 16, 8, 0.02) 0%, rgba(26, 16, 8, 0.1) 44%, rgba(0, 0, 0, 0.74) 100%),
    linear-gradient(90deg, rgba(52, 29, 12, 0.62), rgba(255, 255, 255, 0) 42%, rgba(43, 24, 9, 0.62)),
    url("assets/elevated-living-lobby.png") center / cover;
  color: var(--ivory);
  overflow: hidden;
}

.breadcrumbs {
  position: absolute;
  top: 0;
  left: clamp(24px, 5vw, 74px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  height: 34px;
  color: rgba(6, 19, 42, 0.72);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  text-decoration: none;
}

.hero-message {
  position: relative;
  z-index: 1;
  width: min(720px, 92vw);
  margin-top: 118px;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.36);
}

.hero-message p {
  margin: 0;
  color: var(--ivory);
  font-weight: 700;
  letter-spacing: 0.32em;
}

.hero-message > p:first-child {
  font-size: clamp(1rem, 2vw, 1.38rem);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  color: var(--ivory);
  font-size: clamp(4rem, 9vw, 7.4rem);
  line-height: 0.84;
  text-transform: none;
}

h1 span {
  color: var(--ivory);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.08rem, 2.1vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-credit {
  margin-top: 18px !important;
  font-size: clamp(0.88rem, 1.65vw, 1.22rem);
}

.cookie-panel {
  position: fixed;
  bottom: 26px;
  left: 7px;
  z-index: 45;
  width: min(322px, calc(100vw - 28px));
  padding: 21px 21px 22px;
  background: var(--ivory);
  color: #444;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.cookie-panel.is-hidden {
  display: none;
}

.cookie-panel p {
  margin: 0 0 13px;
  font-size: 1rem;
  line-height: 1.28;
}

.cookie-panel a,
.cookie-panel button {
  display: block;
  width: 100%;
  min-height: 27px;
  margin-top: 8px;
  font: inherit;
  font-weight: 800;
}

.cookie-panel a {
  padding: 2px;
  border: 1px solid var(--gold);
  color: #26313d;
}

.cookie-panel button {
  border: 0;
  background: var(--gold);
  color: var(--ivory);
  cursor: pointer;
}

.cookie-panel button:hover {
  background: var(--gold-dark);
}

.intro-section {
  padding: clamp(64px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(58px, 7vw, 90px);
  background: var(--ivory);
  color: var(--navy);
  text-align: center;
}

.intro-section h2 {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(2.6rem, 4.1vw, 4.25rem);
  line-height: 0.95;
}

.intro-section > p:last-child {
  max-width: 880px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  line-height: 1.68;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section,
.ask-section {
  padding: clamp(74px, 9vw, 126px) clamp(20px, 5vw, 72px);
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 50px);
}

.section-heading h2,
.ask-frame h2 {
  max-width: 900px;
  color: var(--navy);
  font-size: clamp(2.55rem, 5.2vw, 5.4rem);
  line-height: 0.94;
}

.how-section,
.formats-section,
.respect-section {
  background: var(--paper);
}

.partners-section,
.buildings-section {
  background: #fbfaf7;
}

.step-grid,
.partner-grid,
.format-grid,
.benefit-grid,
.respect-grid,
.ask-grid {
  display: grid;
  gap: 18px;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.format-grid,
.benefit-grid,
.respect-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-grid article,
.partner-grid article,
.benefit-grid article,
.respect-grid article,
.format-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.step-grid article,
.partner-grid article,
.benefit-grid article,
.respect-grid article {
  padding: clamp(22px, 3vw, 34px);
}

.step-grid article {
  min-height: 300px;
}

.step-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

h3 {
  color: var(--navy);
  font-size: clamp(1.7rem, 2.1vw, 2.35rem);
  line-height: 1;
}

.step-grid p,
.partner-grid p,
.format-grid p,
.benefit-grid p,
.respect-grid p,
.ask-grid p,
.ask-next {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.partner-grid h3 {
  color: var(--gold);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.25;
}

.format-grid article {
  padding: 16px 16px 24px;
}

.format-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  margin-bottom: 22px;
  background: linear-gradient(145deg, #efe9df, #d6ccbc);
  overflow: hidden;
}

.format-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid var(--warm-line);
}

.flyer-art div {
  position: absolute;
  width: 42%;
  height: 64%;
  background: #fffaf1;
  box-shadow: 0 18px 40px rgba(40, 31, 18, 0.2);
}

.flyer-art div::before,
.flyer-art div::after {
  content: "";
  display: block;
  width: 68%;
  height: 8px;
  margin: 40px 16px 0;
  background: #9ca8a2;
  box-shadow: 0 26px 0 #ced6d1, 0 52px 0 #ced6d1;
}

.flyer-art div:first-child {
  left: 24%;
  top: 24%;
  z-index: 2;
  transform: rotate(-7deg);
}

.flyer-art div:first-child::before {
  background: #173229;
}

.flyer-art div:last-child {
  right: 20%;
  top: 16%;
  transform: rotate(9deg);
}

.magazine-art {
  background: #d8d3c9;
}

.magazine-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.magazine-art span {
  position: absolute;
  top: 24px;
  left: 26px;
  color: var(--ivory);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pamphlet-art {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 34px;
  background: #e4ded2;
}

.pamphlet-art span {
  height: 130px;
  background: #fffaf1;
  border: 1px solid rgba(6, 19, 42, 0.1);
}

.pamphlet-art span:nth-child(3) {
  background: #173229;
}

.marquee-art {
  padding: 34px;
  background: linear-gradient(180deg, #2d2c29, #121211);
}

.marquee-art::after {
  content: "Resident Club";
  position: absolute;
  top: 26px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.marquee-art span {
  display: block;
  width: 70%;
  height: 12px;
  margin-top: 16px;
  background: rgba(255, 250, 241, 0.82);
}

.marquee-art span:first-child {
  margin-top: 52px;
  background: var(--gold);
}

.marquee-art span:nth-child(3) {
  width: 52%;
}

.ask-section {
  background: var(--ivory);
}

.ask-frame {
  padding: clamp(32px, 5vw, 66px);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(141, 126, 81, 0.36);
}

.ask-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(34px, 5vw, 54px);
}

.ask-grid p {
  margin: 0;
  padding-top: 28px;
  border-top: 2px solid var(--warm-line);
  color: var(--navy);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  line-height: 1.45;
}

.ask-next {
  margin: 34px 0 0;
  color: var(--gold);
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 21px;
  border: 1px solid transparent;
  background: var(--gold);
  color: var(--ivory);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--gold-dark);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.66);
}

footer p {
  margin: 0;
}

@media (max-width: 1180px) {
  .main-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 500px;
  }

  .format-grid,
  .benefit-grid,
  .respect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .step-grid,
  .partner-grid,
  .ask-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .utility-bar {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding: 0 18px;
  }

  .main-nav {
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    letter-spacing: 0.24em;
  }

  .hero {
    min-height: 450px;
    padding-top: 88px;
    padding-bottom: 64px;
  }

  .breadcrumbs {
    left: 18px;
    max-width: calc(100vw - 36px);
    overflow: hidden;
    white-space: nowrap;
  }

  .hero-message {
    margin-top: 58px;
  }

  h1 {
    flex-wrap: wrap;
    gap: 8px;
    font-size: clamp(3.5rem, 18vw, 5.2rem);
  }

  h1 span {
    width: 100%;
  }

  .format-grid,
  .benefit-grid,
  .respect-grid {
    grid-template-columns: 1fr;
  }

  .cookie-panel {
    position: static;
    width: auto;
    margin: -18px 14px 22px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
