:root {
  --ink: #171614;
  --muted: #68635a;
  --paper: #f7f2e8;
  --panel: #fffaf0;
  --coral: #ef6a4f;
  --teal: #0d5d62;
  --gold: #c79a34;
  --plum: #47334f;
  --line: rgba(23, 22, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  padding: 7px 8px 7px 12px;
  border: 1px solid rgba(255, 250, 240, 0.42);
  background: rgba(23, 22, 20, 0.7);
  color: #fffaf0;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  width: 54px;
  height: 44px;
  object-fit: contain;
  border-radius: 3px;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  padding: 12px 14px;
  border-radius: 4px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 250, 240, 0.12);
  color: #fffaf0;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: #fffaf0;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 132px max(24px, calc((100vw - 1120px) / 2)) 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 36%, rgba(40, 74, 128, 0.5), transparent 30%),
    linear-gradient(135deg, #101112, #162836 58%, #11100e);
  color: #fffaf0;
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 17, 18, 0.98) 0 38%, rgba(16, 17, 18, 0.66) 55%, rgba(16, 17, 18, 0.18)),
    linear-gradient(0deg, rgba(16, 17, 18, 0.9), rgba(16, 17, 18, 0) 36%);
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58vw, 820px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0.94;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(760px, 100%);
}

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

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

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.2rem; /* Shrunk down to a clean, fixed size */
  line-height: 1.1;   /* Slightly increased so lines don't overlap at a smaller size */
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
}

.hero-text {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
}

.button.primary {
  background: var(--coral);
  color: #fffaf0;
}

.button.secondary {
  border-color: rgba(255, 250, 240, 0.34);
  color: #fffaf0;
}

.button.dark {
  background: var(--ink);
}

.button.dark-outline {
  border-color: rgba(255, 250, 240, 0.52);
  background: transparent;
}

.button.outline-ink {
  border-color: rgba(23, 22, 20, 0.24);
  color: var(--ink);
}

.signal-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 52px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 1px;
  width: min(390px, calc(100% - 48px));
  background: rgba(255, 250, 240, 0.24);
}

.signal-panel > div {
  min-height: 128px;
  padding: 18px;
  background: rgba(23, 22, 20, 0.72);
  backdrop-filter: blur(18px);
}

.panel-logo {
  grid-column: 1 / -1;
  width: 100%;
  height: 98px;
  padding: 14px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.metric {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.metric-label {
  display: block;
  margin-top: 10px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.86rem;
  line-height: 1.35;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.ticker span {
  min-height: 84px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  color: var(--teal);
  font-weight: 800;
  text-align: center;
}

.ticker span:last-child {
  border-right: 0;
}

.work-section,
.split-section,
.media-section,
.listings-section,
.contact-band {
  padding: 88px max(24px, calc((100vw - 1120px) / 2));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  position: relative;
  min-height: 390px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fffaf0;
}

.work-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(0, 0, 0, 0.56)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 24px);
  content: "";
}

.work-card > * {
  position: relative;
  z-index: 1;
}

.work-card h3 {
  margin-top: 214px;
  font-size: 1.7rem;
}

.work-card p {
  max-width: 28ch;
  color: rgba(255, 250, 240, 0.8);
  line-height: 1.5;
}

.card-kicker {
  display: inline-block;
  padding: 7px 9px;
  background: rgba(255, 250, 240, 0.15);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.color-a {
  background:
    linear-gradient(180deg, rgba(15, 103, 108, 0) 0 28%, rgba(15, 103, 108, 0.88)),
    linear-gradient(135deg, #0f676c, #193840 45%, #ef6a4f);
}

.color-b {
  background:
    linear-gradient(180deg, rgba(64, 41, 74, 0) 0 28%, rgba(64, 41, 74, 0.88)),
    linear-gradient(135deg, #40294a, #7a3159 52%, #d6a02a);
}

.color-c {
  background:
    linear-gradient(180deg, rgba(32, 29, 24, 0) 0 28%, rgba(32, 29, 24, 0.88)),
    linear-gradient(135deg, #201d18, #116d6e 48%, #9ec7c2);
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 56px;
  background: #fffaf0;
}

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.service-list article {
  padding: 28px;
  background: #fffaf0;
}

.service-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.media-section {
  background: #171614;
  color: #fffaf0;
}

.media-section .section-heading {
  align-items: start;
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 16px;
}

.video-card,
.upload-note,
.listing-card {
  border-radius: 8px;
  overflow: hidden;
}

.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  min-height: 360px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  background: rgba(255, 250, 240, 0.08);
}

.video-card video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  background: #060605;
}

.video-poster {
  position: relative;
  min-height: 320px;
  background-position: center;
  background-size: cover;
}

.video-poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.32));
  content: "";
}

.play-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 44px;
  border-radius: 4px;
  background: #fffaf0;
  color: var(--ink);
  font-weight: 800;
}

.video-card .video-copy {
  align-self: end;
  padding: 28px;
}

.video-card p,
.upload-note p {
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.6;
}

.video-copy a {
  display: inline-flex;
  margin-top: 10px;
  color: #f3cb48;
  font-weight: 800;
}

.upload-note {
  padding: 28px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  background:
    linear-gradient(135deg, rgba(239, 106, 79, 0.18), transparent 42%),
    rgba(255, 250, 240, 0.08);
}

.listings-section {
  background: var(--paper);
}

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

.listing-card {
  border: 1px solid var(--line);
  background: #fffaf0;
}

.listing-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #11100e;
}

.listing-photo {
  min-height: 220px;
  background: linear-gradient(180deg, rgba(23, 22, 20, 0), rgba(23, 22, 20, 0.54)), linear-gradient(135deg, #0f676c, #193840 48%, #d6a02a);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.listing-photo-b {
  min-height: 220px;
  background: linear-gradient(180deg, rgba(23, 22, 20, 0), rgba(23, 22, 20, 0.54)), linear-gradient(135deg, #40294a, #7a3159 48%, #ef6a4f);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.listing-copy {
  padding: 24px;
}

.listing-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.listing-price {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.listing-details {
  margin: 6px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.listing-copy a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 800;
}

.office-card {
  display: grid;
  align-content: space-between;
}

.office-card img {
  width: 100%;
  height: 220px;
  padding: 28px;
  object-fit: contain;
  background: #050505;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--teal);
  color: #fffaf0;
}

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

.contact-band .eyebrow {
  color: #f3cb48;
}

.contact-band h2 {
  max-width: 760px;
}

body.alt-theme {
  --paper: #edf3ef;
  --panel: #f9fff9;
  --coral: #c9475d;
  --teal: #275f4c;
  --gold: #c2842e;
  --plum: #24394f;
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr 44px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(16, 17, 18, 0.22), rgba(16, 17, 18, 0.88) 48%, rgba(16, 17, 18, 0.96)),
      linear-gradient(90deg, rgba(16, 17, 18, 0.64), rgba(16, 17, 18, 0.16));
  }

  .hero-media {
    inset: 0 0 auto;
    width: 100%;
    height: 52%;
  }

  .hero-media img {
    object-position: center top;
  }

  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: end;
    margin-top: 34px;
  }

  .ticker,
  .work-grid,
  .split-section,
  .video-grid,
  .video-card,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .ticker span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .contact-band {
    align-items: start;
    flex-direction: column;
  }

.listing-card:nth-of-type(2) .listing-copy a {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.25rem; 
  display: inline-block;
  margin-top: 12px;
  color: #ef6a4f; /* Gives your special call-to-action an eye-catching color */
}
  
@media (max-width: 520px) {
  .hero {
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(3.35rem, 20vw, 5.6rem);
  }

  .brand-logo {
    width: 48px;
    height: 38px;
  }

  .signal-panel {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 330px;
  }

  .work-card h3 {
    margin-top: 160px;
  }
  
} /* This closing bracket ends the mobile media query perfectly */

/* Increase the font size of the property card buttons everywhere */
.listing-card .button, 
.listing-card a {
    font-size: 2.0rem; /* Made it noticeably larger and clean */
    font-weight: 600;  
    display: inline-block;
}
