:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d7dce2;
  --paper: #f6f4ef;
  --white: #ffffff;
  --brand: #004aad;
  --brand-ink: #0b2b56;
  --copper: #9b6a38;
  --sage: #60766f;
  --shadow: 0 16px 42px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 176px;
  height: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.language-button {
  min-width: 42px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-button.is-active {
  color: var(--white);
  background: var(--brand-ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  height: clamp(620px, calc(100vh - 120px), 820px);
  overflow: hidden;
  background: #111827;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 15, 27, 0.84), rgba(7, 15, 27, 0.46) 48%, rgba(7, 15, 27, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: clamp(96px, 14vh, 180px) 0 80px;
  margin-left: clamp(18px, 7vw, 92px);
  color: var(--white);
}

.hero-availability {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #e8edf7;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d6b17e;
}

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.filter-bar,
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button,
.filter-button,
.plan-tab,
.text-button {
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
}

.button-primary {
  color: var(--white);
  background: var(--brand);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.button-outline {
  color: var(--brand-ink);
  border-color: var(--brand-ink);
  background: transparent;
}

.readiness-band {
  padding: 18px clamp(18px, 4vw, 56px) 0;
  background: linear-gradient(180deg, #f6f4ef, #f1ede3);
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
}

.readiness-grid article {
  padding: 14px 16px;
  border: 1px solid #d9d1bf;
  border-radius: 8px;
  background: #fff9ec;
}

.readiness-grid strong,
.readiness-grid span {
  display: block;
}

.readiness-grid strong {
  font-size: 14px;
}

.readiness-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.gallery-band,
.spaces-band,
.plans-band,
.location-band,
.contact-band {
  padding: clamp(62px, 8vw, 110px) clamp(18px, 4vw, 56px);
}

.overview-band {
  padding: clamp(44px, 6vw, 84px) clamp(18px, 4vw, 56px) 0;
  background: var(--paper);
}

.spaces-band,
.location-band {
  background: var(--white);
}

.gallery-band,
.plans-band {
  background: var(--paper);
}

.overview-copy {
  max-width: 900px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.overview-frame {
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.overview-frame img {
  width: 100%;
  height: auto;
}

.content-grid,
.location-band,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  max-width: 1240px;
  margin: 0 auto;
}

.intro-copy,
.location-copy,
.contact-copy {
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  max-width: 1240px;
  margin: 0 auto 30px;
}

.conversion-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 30px auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.plans-band .conversion-cta {
  background: #fbfbf8;
}

.conversion-cta h3 {
  margin: 0;
}

.conversion-cta p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
}

.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.gallery-notice {
  display: inline-flex;
  margin: 12px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #f4d6a0;
  color: #6b3c11;
  background: #fff1d8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-bar,
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1240px;
  margin: 0 auto 24px;
}

.filter-button,
.plan-tab {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.filter-button.is-active,
.plan-tab.is-active {
  color: var(--white);
  border-color: var(--brand-ink);
  background: var(--brand-ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  cursor: zoom-in;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.space-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.muted-space {
  opacity: 0.86;
}

.space-photo {
  position: relative;
}

.space-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.space-card[data-space="offices-suite"] img {
  object-position: center 38%;
}

.space-card[data-space="warehouse-2"] img {
  object-position: center 42%;
}

.space-card[data-space="warehouse-1"] img {
  object-position: center 32%;
}

.space-photo-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--white);
  background: rgba(7, 15, 27, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.space-photo-status {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid #f4d6a0;
  border-radius: 999px;
  color: #6b3c11;
  background: #fff1d8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.space-photo-status.is-rented {
  border-color: #f6b2b2;
  color: #7f1d1d;
  background: #ffe3e3;
}

.space-ribbon {
  position: absolute;
  top: 18px;
  right: -42px;
  z-index: 2;
  width: 180px;
  padding: 10px 0;
  transform: rotate(35deg);
  color: var(--white);
  background: #a12323;
  box-shadow: 0 10px 24px rgba(127, 29, 29, 0.28);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.space-card.is-reserved .space-photo-status {
  opacity: 0;
}

.space-body {
  padding: 20px;
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--brand-ink);
  background: #eaf1f9;
  font-size: 12px;
  font-weight: 800;
}

.badge-dark {
  color: var(--white);
  background: var(--sage);
}

.space-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.space-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.space-card dl.compact-meta {
  grid-template-columns: 1fr;
}

.space-card dt,
.dialog-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.space-card dd,
.dialog-meta dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.space-gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
}

.space-gallery-preview button {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--ink);
  cursor: pointer;
}

.space-gallery-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.space-gallery-preview button:hover img {
  transform: scale(1.04);
}

.imovirtual-cta {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid var(--brand-ink);
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-ink);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.14);
}

.imovirtual-cta:hover {
  background: #22344d;
}

.imovirtual-cta span {
  font-size: 15px;
  font-weight: 900;
}

.imovirtual-cta small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.space-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 18px;
}

.space-actions .text-button,
.space-actions .listing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 0;
  color: var(--brand-ink);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.space-actions .text-button:hover,
.space-actions .listing-link:hover {
  border-color: var(--brand-ink);
  background: #f8fafc;
}

.listing-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  margin-top: 14px;
  color: var(--brand);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.muted-space .listing-link,
.muted-space .text-button {
  color: var(--muted);
  border-color: var(--line);
}

.muted-space .text-button:hover {
  color: var(--ink);
  background: #eef2f6;
}

.section-intro {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.plan-groups {
  display: grid;
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.plan-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.plan-copy-block h3 {
  margin-top: 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
}

.plan-bullets {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.plan-bullets li + li {
  margin-top: 10px;
}

.plan-figure-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.plan-figure-grid.is-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.plan-media {
  position: relative;
}

.plan-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--white);
}

.plan-figure figcaption {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.plan-figure figcaption span {
  color: var(--muted);
  font-size: 14px;
}

.plan-figure figcaption a {
  display: inline-flex;
  width: fit-content;
  color: var(--brand);
  font-weight: 800;
}

.location-band {
  align-items: center;
}

.location-copy {
  max-width: 540px;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.contact-band {
  background: var(--brand-ink);
  color: var(--white);
  align-items: start;
}

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

.contact-copy {
  color: rgba(255, 255, 255, 0.76);
}

.contact-copy h2 {
  color: var(--white);
}

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

.contact-actions .button {
  min-width: 150px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 0 12px;
}

.contact-form textarea {
  resize: vertical;
  padding: 12px;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-form input:invalid.is-touched,
.contact-form select:invalid.is-touched,
.contact-form textarea:invalid.is-touched {
  border-color: #d6b17e;
  box-shadow: 0 0 0 3px rgba(214, 177, 126, 0.18);
}

.contact-form [aria-invalid="true"] {
  border-color: #d6b17e;
  box-shadow: 0 0 0 3px rgba(214, 177, 126, 0.18);
}

.full-field {
  grid-column: 1 / -1;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #d6b17e;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

.site-footer img {
  width: 168px;
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  font-size: 13px;
  font-weight: 700;
}

.footer-partner strong {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.partner-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

dialog {
  width: min(980px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(7, 15, 27, 0.72);
}

.media-dialog {
  overflow: hidden;
  background: var(--white);
}

.media-frame {
  position: relative;
  display: grid;
  background: #111827;
}

.media-dialog img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #111827;
}

.media-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24%;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.media-nav-prev {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 15, 27, 0.46), rgba(7, 15, 27, 0));
}

.media-nav-next {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 15, 27, 0.46), rgba(7, 15, 27, 0));
}

.media-nav span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(7, 15, 27, 0.62);
  box-shadow: 0 12px 30px rgba(7, 15, 27, 0.26);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-2px);
}

.media-nav:hover span,
.media-nav:focus-visible span {
  background: rgba(7, 15, 27, 0.82);
  border-color: rgba(255, 255, 255, 0.76);
}

.media-dialog h3 {
  padding: 18px 22px;
  background: var(--white);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.space-dialog {
  background: var(--white);
}

.space-dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 26px;
  padding: 26px;
}

.space-dialog-grid > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 8px;
  object-fit: cover;
}

.space-dialog p {
  color: var(--muted);
}

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

.dialog-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0;
}

@media (max-width: 980px) {
  .readiness-grid {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .location-band,
  .contact-band,
  .plan-card,
  .space-dialog-grid {
    grid-template-columns: 1fr;
  }

  .conversion-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .conversion-actions {
    justify-content: flex-start;
  }

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

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

  .plan-figure-grid.is-split {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand img {
    width: 146px;
  }

  .header-tools {
    gap: 10px;
  }

  .language-switch {
    padding: 3px;
  }

  .language-button {
    min-width: 38px;
    min-height: 32px;
    padding: 0 10px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .hero {
    height: 76vh;
    min-height: 680px;
    max-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 15, 27, 0.55), rgba(7, 15, 27, 0.9));
  }

  .hero-content {
    width: min(calc(100% - 36px), 352px);
    margin: 0 18px;
    padding-top: 88px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.03;
  }

  .button {
    width: 100%;
  }

  .gallery-grid,
  .spaces-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-wide,
  .gallery-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .space-card dl {
    grid-template-columns: 1fr;
  }

  .hero-lead {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .gallery-notice,
  .overview-copy,
  .space-note,
  .plan-bullets li:nth-child(n + 3) {
    display: none;
  }

  .space-ribbon {
    top: 14px;
    right: -48px;
    width: 170px;
    font-size: 11px;
  }

  .footer-partners {
    width: 100%;
    justify-content: flex-start;
  }

  .map-frame img {
    height: 320px;
  }

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