:root {
  --navy: #11183D;
  --navy-soft: #1B275C;
  --cream: #F7F1E8;
  --linen: #FBF7F0;
  --white: #FFFFFF;
  --ink: #141821;
  --muted: #657085;
  --border: rgba(17, 24, 61, 0.12);
  --shadow: 0 22px 60px rgba(7, 12, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--linen);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--linen);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.office-market-page {
  min-height: 100dvh;
}

.office-hero-shell {
  color: var(--cream);
  background:
    radial-gradient(circle at 18% 0%, rgba(247, 241, 232, 0.13), transparent 24rem),
    linear-gradient(180deg, #141D49, var(--navy));
}

.office-hero-inner,
.office-content {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.office-hero-inner {
  padding: clamp(12px, 1.8vw, 18px) 0 clamp(16px, 2.4vw, 24px);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(12px, 1.8vw, 18px);
}

.brand {
  display: inline-flex;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 180ms ease, text-decoration-color 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.82;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.office-hero {
  text-align: center;
}

.text-link {
  color: rgba(247, 241, 232, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 4px;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  color: var(--cream);
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  line-height: 1.02;
}

.office-content {
  padding: clamp(18px, 3vw, 30px) 0 clamp(44px, 7vw, 72px);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.location-card {
  display: grid;
  grid-template-rows: auto minmax(2.6rem, 1fr) auto;
  align-items: start;
  gap: 16px;
  min-width: 0;
  min-height: 202px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(7, 12, 36, 0.1);
  overflow: hidden;
}

.location-card-ready {
  border-color: rgba(17, 24, 61, 0.2);
  background: rgba(255, 255, 255, 0.92);
}

.location-card-soon {
  background: rgba(247, 241, 232, 0.72);
}

.location-card h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 2.7vw, 2.3rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.location-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.availability-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(28, 126, 78, 0.18);
  border-radius: 999px;
  color: #1B6E47;
  background: rgba(36, 166, 104, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.availability-pill-muted {
  border-color: rgba(17, 24, 61, 0.14);
  color: rgba(17, 24, 61, 0.62);
  background: rgba(17, 24, 61, 0.06);
}

.availability-pill-soon {
  border-color: rgba(184, 148, 79, 0.26);
  color: #836732;
  background: rgba(184, 148, 79, 0.12);
}

.button-secondary {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--cream);
  background: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button-outline {
  color: var(--navy);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--navy-soft);
  color: var(--cream);
  box-shadow: 0 14px 28px rgba(17, 24, 61, 0.18);
  transform: translateY(-2px);
}

.button-secondary:focus-visible,
.text-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(247, 241, 232, 0.34);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .office-hero-inner,
  .office-content {
    width: min(100% - 32px, 1040px);
  }

  .top-bar {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 16px;
  }

  .location-card {
    min-height: 190px;
    padding: 20px;
    text-align: center;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .availability-pill {
    justify-self: center;
  }

  .button-secondary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button-secondary:hover,
  .button-secondary:focus-visible {
    transform: none;
  }
}
