:root {
  --ink: #1e1f26;
  --muted: #666;
  --white: #fff;
  --black: #161619;
  --navy: #1a3157;
  --max: 1255px;
  --header: 91px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--muted);
  background: var(--white);
  font-family: Lato, sans-serif;
  font-size: 16px;
  line-height: 1.42857;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(calc(100% - 30px), var(--max));
  margin-inline: auto;
}

.logo-img {
  width: 45px;
  height: 42px;
  object-fit: contain;
}

.logo-img.lg {
  width: 64px;
  height: 60px;
}

.inline-r {
  display: inline-block;
  width: 42px;
  height: 39px;
  vertical-align: -8px;
  margin: 0 4px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header);
  padding: 0 28px 0 32px;
  color: #fff;
}

body.is-inner .site-header,
.site-header.is-solid {
  position: sticky;
  top: 0;
  background: #111;
}

.site-header .nav {
  flex: 1;
  justify-content: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a,
.dropdown summary {
  background: none;
  border: 0;
  color: #fff;
  padding: 0;
  cursor: pointer;
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 14px;
  text-transform: uppercase;
}

.nav a:hover,
.dropdown summary:hover {
  opacity: 0.75;
}

.dropdown {
  position: relative;
}

.dropdown summary {
  list-style: none;
}

.dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 160px;
  background: #fff;
  color: #111;
  padding: 10px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  z-index: 5;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: #111;
  text-transform: none;
  font-size: 13px;
}

.cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: #fff;
  border: 0;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 17px 15px 19px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 56px;
  padding: 20px 21px 22px;
  background: var(--black);
  color: #fff;
  font-family: Raleway, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.1px;
  line-height: 14px;
  text-transform: uppercase;
}

.btn-wide {
  min-width: 325px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #fff;
  padding: 19px 32px 17px 31px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 856px;
  height: calc(100vh - 75px);
  color: #fff;
  overflow: visible;
  display: grid;
  place-items: center;
  text-align: center;
  background: #111;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  clip-path: inset(0);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.28);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(628px, calc(100% - 40px));
}

.hero h2 {
  margin: 0 0 17px;
  font-family: Lato, sans-serif;
  font-size: 34.4px;
  font-weight: 300;
  line-height: 1.1;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0;
  padding-left: 14px;
  font-family: Raleway, sans-serif;
  font-size: 55px;
  font-weight: 300;
  letter-spacing: 2.75px;
  line-height: 1;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  width: 564px;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
}

.search-bar input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  min-height: 53px;
  padding: 5px 14px;
  font-size: 14px;
}

.search-bar input::placeholder {
  color: #ccc;
}

.search-bar button {
  width: 48px;
  height: 53px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 1px);
  z-index: 30;
  max-height: min(62vh, 520px);
  overflow: auto;
  text-align: left;
  background: #fff;
  color: #333;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.search-suggest[hidden] {
  display: none;
}

.search-suggest h3 {
  margin: 0;
  padding: 11px 16px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-suggest a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid #eee;
  color: #333;
  font-size: 15px;
  font-weight: 400;
}

.search-suggest a:hover,
.search-suggest a.is-on {
  background: #f4f4f4;
}

.search-suggest .lid {
  flex: none;
  min-width: 64px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #6b6b6b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.search-suggest .see-all {
  font-weight: 400;
  color: #444;
}

.press-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #000;
  color: #fff;
  min-height: 75px;
  padding: 16px 20px;
  font-size: 20px;
  font-weight: 800;
  line-height: 40px;
  text-align: center;
}

.press-bar img {
  height: 40px;
  width: auto;
}

.section {
  padding: 62px 0 40px;
}

.heading-holder {
  text-align: center;
  margin-bottom: 36px;
}

.heading-holder h2,
.heading-holder h1 {
  margin: 0 0 14px;
  font-family: Raleway, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 35px;
  color: var(--black);
}

.heading-holder p,
.lede {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 18px;
  text-align: center;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 18px;
  max-width: 1098px;
  margin: 0 auto;
  padding: 0 18px;
}

.listing-card {
  display: block;
  background: #fff;
  color: var(--ink);
  margin-bottom: 38px;
}

.listing-card .thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f3f3f3;
}

.listing-card .thumb img,
.shop-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-card .thumb::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 17px;
  background: url("https://www.wernewyork.com/Content/images/logo.png") center / contain no-repeat;
}

.listing-card .meta {
  padding: 33px 0 44px;
  text-align: center;
}

.listing-card h3 {
  margin: 0 0 8px;
  font-family: Raleway, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.9px;
  line-height: 22px;
  color: var(--ink);
}

.listing-card p {
  margin: 0 0 7px;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  line-height: 18px;
  color: var(--ink);
}

.listing-card .price {
  margin: 0;
  font-family: Raleway, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 420px;
}

.split-copy {
  padding: 72px 64px 72px 80px;
}

.split-copy h2 {
  margin: 0 0 15px;
  font-family: Raleway, sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 45px;
  color: var(--black);
}

.split-copy p {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: 18px;
  line-height: 30px;
  max-width: 720px;
}

.split-media {
  min-height: 480px;
  height: 100%;
  background: #ddd center / cover no-repeat;
}

.video-band {
  background: var(--navy);
  margin-bottom: 80px;
}

.video-band video {
  display: block;
  width: 100%;
  max-height: 90vh;
  background: #000;
}

.agent-band {
  display: grid;
  grid-template-columns: 525px 1fr;
  max-width: 1071px;
  margin: 0 auto 64px;
  background: var(--black);
  min-height: 526px;
}

.agent-band .split-media {
  min-height: 526px;
}

.agent-copy {
  color: #fff;
  padding: 142px 50px 142px 60px;
}

.kicker {
  display: block;
  margin: 0 0 34px;
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.6px;
  line-height: 18px;
  text-transform: uppercase;
  color: #fff;
}

.agent-copy h2 {
  margin: 0 0 16px;
  font-family: Raleway, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
  color: #fff;
  text-align: left;
}

.agent-copy p {
  margin: 0 0 28px;
  color: #fff;
  font-size: 18px;
}

.join-band {
  position: relative;
  min-height: 535px;
  padding: 46px 0;
}

.join-band .join-photo {
  width: min(878px, 58%);
  min-height: 520px;
  background: #ddd center / cover no-repeat;
}

.join-card {
  position: absolute;
  right: max(8%, calc((100% - 1255px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(689px, 52%);
  background: #fff;
  padding: 98px 60px 96px 95px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.join-card h2 {
  margin: 0 0 18px;
  font-family: Raleway, sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--black);
}

.join-card p {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 18px;
  line-height: 30px;
}

.site-footer {
  background: #000;
  color: #fff;
  padding: 0 0 24px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  max-width: 1255px;
  margin: 0 auto;
  padding: 69px 10px 27px 28px;
}

.footer-grid .brand-col {
  width: 206px;
  flex: none;
}

.footer-grid .company-col {
  width: 166px;
  flex: none;
}

.footer-grid .menu-col {
  width: 122px;
  flex: none;
}

.footer-grid .foot-cta {
  width: 281px;
  flex: none;
  margin-left: 24px;
}

.footer-grid .news-col {
  width: 372px;
  flex: none;
  padding-left: 60px;
}

.site-footer h3 {
  margin: 0 0 18px;
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 18px;
  text-transform: uppercase;
  color: #fff;
}

.site-footer address {
  font-style: normal;
  margin: 16px 0;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.6;
  font-size: 15px;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin: 0 0 17px;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1.7px;
  line-height: 16px;
  text-transform: uppercase;
}

.social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.social a {
  color: #fff;
  font-size: 16px;
}

.foot-cta {
  display: grid;
  gap: 12px;
}

.foot-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
  padding: 18px 10px 17px;
  font-size: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.foot-cta a.filled {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.news-col p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #555;
  margin-top: 12px;
}

.newsletter input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 10px 0;
  outline: 0;
}

.newsletter button {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.legal {
  max-width: 1255px;
  margin: 0 auto;
  padding: 16px 28px 0;
  border-top: 1px solid #333;
  color: #888;
  font-size: 13px;
}

.page-hero {
  padding: 48px 0 8px;
  text-align: center;
}

.page-hero h1 {
  font-family: Raleway, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--black);
  margin: 0 0 14px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.filters button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.filters button.is-on {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.person {
  text-align: center;
  color: var(--ink);
}

.person img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #eee;
}

.person h3 {
  margin: 12px 0 2px;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  color: var(--black);
}

.person p {
  margin: 0;
  color: #777;
  font-size: 13px;
}

.press-list {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.press-item {
  border-bottom: 1px solid #e8e8e8;
  padding: 16px 0;
  color: var(--ink);
}

.press-item span {
  display: block;
  color: #888;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.press-page {
  padding: 48px 0 80px;
}

.press-page h1,
.press-news h2 {
  margin: 0 0 36px;
  text-align: center;
  font-family: Raleway, sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #888;
}

.press-videos {
  max-width: 860px;
}

.press-clip {
  display: block;
  margin: 0 auto 48px;
  color: var(--ink);
}

.press-clip img {
  width: 100%;
  display: block;
  margin-bottom: 16px;
}

.press-clip p {
  margin: 0 0 14px;
  font-size: 16px;
}

.press-clip .watch {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.press-news {
  padding-top: 24px;
}

.press-article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto 28px;
  color: var(--ink);
}

.press-article img {
  width: 56px;
  height: auto;
}

.press-article h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 400;
}

.press-article .source {
  color: #888;
  font-size: 14px;
}

.press-article time {
  display: block;
  margin: 6px 0;
  color: #999;
  font-size: 13px;
}

.press-article .note {
  margin: 0;
  color: #777;
  font-size: 14px;
}

.form {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid #ddd;
  padding: 12px 14px;
}

.search-bar.light {
  background: #f4f4f4;
  border-color: #ddd;
  color: #111;
  margin-bottom: 24px;
}

.search-bar.light input,
.search-bar.light button {
  color: #111;
}

body.is-search .site-header {
  position: sticky;
  top: 0;
  background: #fff;
  color: #111;
  border-bottom: 1px solid #eee;
}

body.is-search .nav a,
body.is-search .dropdown summary {
  color: #111;
}

body.is-search .header-cta {
  background: var(--black);
  color: #fff;
}

.listing-filter {
  background: #fff;
  padding: 14px 0 18px;
  border-bottom: 1px solid #f0f0f0;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: min(calc(100% - 48px), 1100px);
  margin: 0 auto;
}

.filter-row select,
.filter-row .filter-search,
.filter-row .filter-toggle {
  width: 100%;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #555;
  padding: 0 14px;
  font-size: 15px;
}

.filter-drop {
  position: relative;
}

.filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.filter-toggle::after {
  content: "▾";
  font-size: 11px;
  color: #888;
}

.filter-drop.is-open .filter-panel {
  display: block;
}

.filter-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 260px;
  padding: 16px 16px 12px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.filter-panel label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #333;
  font-size: 14px;
}

.filter-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 12px;
  padding-top: 8px;
}

.filter-panel-actions button {
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  padding: 6px 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
}

.filter-search {
  display: flex;
  align-items: center;
}

.filter-search input {
  flex: 1;
  border: 0;
  outline: 0;
  min-width: 0;
  background: transparent;
  height: 40px;
}

.filter-search button {
  border: 0;
  background: transparent;
  color: #888;
  cursor: pointer;
}

.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #888;
  padding: 18px 0 10px;
}

.crumbs a {
  color: #888;
}

.crumbs .current {
  color: #111;
  font-weight: 700;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 12px;
}

.shop-card {
  display: block;
  padding: 12px;
  color: var(--ink);
}

.shop-card .thumb {
  position: relative;
  height: 199px;
  overflow: hidden;
  background: #f3f3f3;
  margin-bottom: 12px;
}

.shop-card .thumb::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 16px;
  height: 15px;
  background: url("https://www.wernewyork.com/Content/images/logo.png") center / contain no-repeat;
}

.ribbon {
  position: absolute;
  left: 0;
  bottom: 18px;
  z-index: 1;
  background: #c0392b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 10px 5px 8px;
}

.ribbon.signed {
  background: #1a3157;
}

.ribbon.offer {
  background: #2c6e49;
}

.shop-card h3 {
  margin: 0 0 6px;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.shop-card .specs,
.shop-card .price {
  margin: 0;
  text-align: center;
  font-family: Raleway, sans-serif;
  color: var(--ink);
}

.shop-card .specs {
  font-size: 14px;
  margin-bottom: 4px;
}

.shop-card .price {
  font-size: 18px;
  font-weight: 800;
}

.search-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 40px;
  font-size: 13px;
  color: #888;
}

.pager-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pager-links a,
.pager-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  color: #888;
  cursor: pointer;
}

.pager-links a.is-on,
.pager-links span.is-on {
  color: #111;
  font-weight: 700;
}

.pager-links a.is-off {
  opacity: 0.35;
  pointer-events: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(16px);
  background: #111;
  color: #fff;
  padding: 12px 16px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 80;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1100px) {
  .nav,
  .header-cta {
    display: none;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #111;
    padding: 16px 24px 24px;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
  }

  .split,
  .agent-band,
  .footer-grid,
  .people-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .people-grid,
  .listing-grid,
  .search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-row {
    grid-template-columns: 1fr 1fr;
  }

  body.is-search .nav.is-open {
    background: #fff;
  }

  body.is-search .menu-toggle {
    border-color: #111;
    color: #111;
  }

  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding: 40px 16px;
  }

  .footer-grid .brand-col,
  .footer-grid .company-col,
  .footer-grid .menu-col,
  .footer-grid .foot-cta,
  .footer-grid .news-col {
    width: auto;
    flex: 1 1 220px;
    margin: 0;
    padding: 0;
  }

  .split-copy,
  .join-card,
  .agent-copy {
    padding: 36px 24px;
  }

  .join-card {
    position: static;
    transform: none;
    width: auto;
  }

  .join-band .join-photo {
    width: 100%;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h2 {
    font-size: 26px;
  }
}

@media (max-width: 980px) {
  .detail-top,
  .detail-bottom,
  .spec-grid,
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-hero img {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .people-grid,
  .listing-grid,
  .search-grid,
  .footer-grid,
  .filter-row,
  .detail-top,
  .detail-bottom,
  .spec-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .btn-wide {
    min-width: 0;
    width: 100%;
  }
}

.detail-page {
  width: min(calc(100% - 48px), 1180px);
  margin: 28px auto 60px;
}

.detail-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.detail-hero {
  position: relative;
  background: #111;
}

.detail-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  cursor: zoom-in;
  display: block;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 22px;
}

.hero-nav.prev {
  left: 8px;
}

.hero-nav.next {
  right: 8px;
}

.building-name {
  margin: 0 0 4px;
  color: #555;
  font-size: 15px;
}

.detail-panel h1 {
  margin: 0 0 6px;
  font-family: Raleway, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
}

.area-line {
  margin: 0 0 18px;
  color: #666;
  font-size: 14px;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #ccc;
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-card {
  border: 1px solid #e6e6e6;
}

.spec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--black);
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1.4fr 0.8fr;
  gap: 10px 12px;
  padding: 16px 14px 8px;
  color: var(--ink);
  font-size: 14px;
}

.spec-grid span:nth-child(odd) {
  color: #666;
}

.listing-id {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 13px;
  color: #888;
}

.photos-title {
  margin: 28px 0 14px;
  font-family: Raleway, sans-serif;
  font-size: 28px;
  color: var(--black);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.photo-grid button {
  height: 92px;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #f3f3f3;
  cursor: pointer;
}

.photo-grid button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-bottom {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  margin-top: 48px;
}

.detail-bottom h3 {
  margin: 0 0 16px;
  font-family: Raleway, sans-serif;
  font-size: 24px;
  color: var(--black);
}

.detail-bottom p {
  color: var(--ink);
  line-height: 1.7;
}

.agent-card {
  background: #f7f7f7;
  padding: 24px;
  text-align: center;
}

.agent-card h2 {
  margin: 0 0 16px;
  font-family: Raleway, sans-serif;
  font-size: 22px;
  color: var(--black);
}

.agent-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 20px auto 10px;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 90;
  place-items: center;
}

.lightbox.is-on {
  display: grid;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
}

.lightbox button {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

.agent-kicker {
  margin: 8px 0 6px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
}

.agent-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  font-family: Raleway, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  text-align: center;
}

.agent-heading .inline-r {
  width: 36px;
  height: 34px;
  margin: 0;
  vertical-align: middle;
}

.agent-search {
  display: flex;
  width: min(100%, 560px);
  margin: 0 auto 36px;
  border: 1px solid #ddd;
  border-radius: 2px;
  overflow: hidden;
}

.agent-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 16px;
  min-width: 0;
}

.agent-search button {
  width: 54px;
  border: 0;
  background: var(--black);
  color: #fff;
  cursor: pointer;
}

.agent-dir {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 16px;
  padding-bottom: 56px;
}

.agent-tile {
  display: block;
  color: var(--ink);
  text-align: center;
}

.agent-tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: #eee;
  margin-bottom: 12px;
}

.agent-tile h3 {
  margin: 0 0 4px;
  font-family: Raleway, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
}

.agent-tile .role {
  margin: 0 0 6px;
  font-size: 13px;
  color: #888;
}

.agent-tile .phone {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.agent-page {
  width: min(calc(100% - 48px), 1100px);
  margin: 36px auto 64px;
}

.agent-profile {
  display: grid;
  grid-template-columns: 252px 1fr;
  gap: 48px;
  align-items: start;
}

.agent-photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top center;
  background: #eee;
}

.agent-press {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.agent-press h3 {
  margin: 0 0 10px;
  font-family: Raleway, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #888;
}

.agent-press p {
  margin: 0;
  font-size: 14px;
  color: #999;
  line-height: 1.5;
}

.agent-info h1 {
  margin: 0 0 8px;
  font-family: Raleway, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

.agent-info .role {
  margin: 0 0 16px;
  color: #888;
}

.agent-info .contact {
  margin: 0 0 6px;
  color: var(--ink);
}

.agent-info .contact a {
  color: var(--ink);
}

.agent-info .work-btn {
  display: inline-block;
  margin: 18px 0 28px;
  min-width: 240px;
  padding: 12px 28px;
  background: var(--black);
  color: #fff;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.agent-bio p {
  margin: 0 0 16px;
  color: var(--ink);
  line-height: 1.7;
}

.agent-bio .reviews-label {
  margin: 24px 0 12px;
  font-weight: 700;
}

.agent-listings-block {
  margin-top: 48px;
}

.agent-listings-block h3 {
  margin: 0 0 16px;
  font-family: Raleway, sans-serif;
  font-size: 22px;
  color: var(--black);
}

.agent-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.agent-tabs button {
  border: 0;
  background: transparent;
  padding: 0 0 10px;
  color: #888;
  cursor: pointer;
}

.agent-tabs button.is-on {
  color: var(--black);
  font-weight: 700;
  border-bottom: 2px solid var(--black);
}

.agent-listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 12px;
}

.agent-listing-grid .empty {
  grid-column: 1 / -1;
  color: #888;
}

@media (max-width: 1100px) {
  .agent-dir {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 980px) {
  .agent-profile {
    grid-template-columns: 200px 1fr;
  }

  .agent-dir,
  .agent-listing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .agent-profile,
  .agent-dir,
  .agent-listing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .agent-heading {
    font-size: 22px;
  }

  .exec-row {
    grid-template-columns: 1fr;
  }

  .exec-hero {
    height: 280px;
  }

  .exec-hero h1 {
    font-size: 28px;
  }
}

.exec-hero {
  position: relative;
  display: grid;
  align-items: center;
  height: 365px;
  background: #222 center / cover no-repeat;
  color: #fff;
}

.exec-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 22, 0.42);
}

.exec-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: max(24px, calc((100% - var(--max)) / 2));
}

.exec-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.exec-hero h1 {
  margin: 0 0 14px;
  font-family: Raleway, sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
}

.exec-hero p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  max-width: 640px;
}

.exec-main {
  padding: 36px 0 72px;
}

.exec-row {
  display: grid;
  grid-template-columns: 161px 1fr;
  gap: 48px;
  align-items: start;
  padding: 28px 0 36px;
}

.exec-photo img {
  width: 161px;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.exec-name {
  display: block;
  font-family: Raleway, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
}

.exec-role {
  display: block;
  margin: 4px 0 16px;
  font-size: 16px;
  color: var(--ink);
}

.exec-copy p {
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.7;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 420px;
  padding: 24px 0 0;
}

.about-hero-copy {
  padding: 48px 48px 48px max(40px, calc((100% - var(--max)) / 2 + 20px));
}

.about-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888;
}

.about-hero-copy h1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  font-family: Raleway, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

.about-hero-copy p {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.about-hero-photo img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
}

.about-band {
  background: var(--black);
  color: #fff;
  padding: 48px 0;
}

.about-cols {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px 40px;
  align-items: start;
}

.about-side {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.about-side.dark {
  color: #555;
}

.about-band h2 {
  margin: 0 0 14px;
  font-family: Raleway, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.about-band p {
  margin: 0 0 22px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.65;
}

.btn-outline {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.about-client {
  padding: 56px 0 24px;
}

.about-block {
  margin-bottom: 36px;
}

.about-block h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  font-family: Raleway, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
}

.about-block p {
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.7;
}

.about-more {
  display: none;
}

.about-block.is-open .about-more {
  display: block;
}

.text-opener {
  border: 0;
  background: transparent;
  padding: 0;
  color: #888;
  cursor: pointer;
  font-size: 14px;
}

.join-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.join-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.join-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 48px;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  text-align: center;
}

.join-pitch {
  background: #111;
  color: #fff;
  padding: 72px 0 80px;
  text-align: center;
}

.join-pitch h2 {
  margin: 0 0 18px;
  font-family: Raleway, sans-serif;
  font-size: 36px;
  font-weight: 700;
}

.join-pitch p {
  margin: 0 auto 12px;
  max-width: 720px;
  line-height: 1.6;
}

.join-caps {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.join-apply {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  max-width: 720px;
  margin: 36px auto 0;
  text-align: left;
  background: #fff;
  color: #111;
  padding: 28px 32px 24px;
}

.join-apply label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.join-apply .span-2 {
  grid-column: 1 / -1;
}

.join-apply input,
.join-apply select {
  border: 0;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  outline: 0;
  background: transparent;
}

.join-apply button {
  grid-column: 2;
  justify-self: end;
  min-width: 120px;
}

.join-calc {
  padding: 64px 0;
  text-align: center;
}

.join-calc h2 {
  margin: 0 0 28px;
  font-family: Raleway, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
}

.calc-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.calc-top input,
.calc-price input {
  width: 100%;
  height: 48px;
  border: 1px solid #ddd;
  padding: 0 14px;
}

.calc-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.calc-price,
.calc-result {
  border: 1px solid #eee;
  padding: 18px;
  text-align: left;
}

.calc-price strong,
.calc-result strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-result b {
  font-size: 28px;
  color: var(--black);
}

.calc-result.is-r {
  background: #111;
  color: #fff;
}

.calc-result.is-r b {
  color: #fff;
}

.join-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
}

.join-kicker.dark {
  color: #666;
}

.join-benefits {
  padding: 24px 0 72px;
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 16px;
}

.benefit-grid h3 {
  margin: 0 0 10px;
  font-family: Raleway, sans-serif;
  font-size: 20px;
  color: var(--black);
}

.join-premier {
  padding: 24px 0 64px;
}

.premier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.join-premier h2 {
  margin: 0 0 16px;
  font-family: Raleway, sans-serif;
  font-size: 32px;
  color: var(--black);
}

.join-cta-img {
  display: inline-block;
  margin-top: 20px;
}

.join-premier blockquote {
  margin: 0 0 28px;
}

.join-premier blockquote p {
  line-height: 1.7;
}

.join-premier blockquote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.join-premier blockquote img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.join-premier blockquote strong,
.priority-people strong {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.join-premier blockquote span,
.priority-people span {
  color: #888;
  font-size: 13px;
}

.join-priority {
  padding: 24px 0 80px;
  text-align: center;
}

.join-priority h2 {
  margin: 0 0 16px;
  font-family: Raleway, sans-serif;
  font-size: 36px;
  color: var(--black);
}

.join-priority p {
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.priority-people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.priority-people img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .about-hero,
  .about-cols {
    grid-template-columns: 1fr;
  }

  .about-hero-copy {
    padding: 32px 24px;
  }

  .join-apply,
  .calc-top,
  .calc-row,
  .benefit-grid,
  .premier-grid,
  .priority-people {
    grid-template-columns: 1fr;
  }

  .join-apply button {
    grid-column: 1;
    width: 100%;
  }
}

.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  margin: 0 0 28px;
  font-family: Raleway, sans-serif;
  font-size: 36px;
  color: var(--black);
}

.legal-copy {
  max-width: 860px;
  color: var(--ink);
  line-height: 1.7;
}

.legal-copy p,
.legal-copy li {
  margin: 0 0 14px;
}

.reports-page {
  padding: 48px 0 80px;
}

.reports-intro {
  text-align: center;
  margin-bottom: 40px;
}

.reports-intro h1 {
  margin: 0 0 10px;
  font-family: Raleway, sans-serif;
  font-size: 36px;
  color: var(--black);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.report-cover {
  display: block;
  min-height: 220px;
  padding: 40px 24px;
  background: #111 url("https://www.wernewyork.com/Components/Home/Images/home-bg.png") center / cover;
  color: #fff;
  margin-bottom: 12px;
}

.report-cover img {
  width: 42px;
  margin-bottom: 16px;
}

.report-cover h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.report-card .btn {
  display: inline-block;
}

@media (max-width: 900px) {
  .report-grid {
    grid-template-columns: 1fr;
  }
}
