﻿:root {
  --ink: #111111;
  --soft-ink: #33312e;
  --muted: #736b61;
  --paper: #f7f4ee;
  --paper-strong: #fffaf0;
  --white: #ffffff;
  --gold: #b9893d;
  --gold-deep: #83622f;
  --sage: #6f8277;
  --line: rgba(17, 17, 17, 0.12);
  --shadow: 0 26px 80px rgba(17, 17, 17, 0.18);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

[data-project-view] {
  display: none;
}

body.is-project-view {
  background: #f0ebe2;
}

body.is-project-view [data-home-view],
body.is-project-view .site-header,
body.is-project-view .site-footer {
  display: none;
}

body.is-project-view [data-project-view] {
  display: block;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: var(--header-height);
  gap: 24px;
  padding: 16px clamp(18px, 3.4vw, 54px);
  color: var(--white);
  transition:
    transform 240ms ease,
    opacity 200ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.94);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled:not(.is-open) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-110%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 188px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(18px, 2.5vw, 34px);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  color: var(--white);
  background: var(--ink);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center center;
  transform: scale(1.015);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.34) 0%, rgba(17, 17, 17, 0.1) 38%, rgba(17, 17, 17, 0.52) 100%),
    radial-gradient(circle at center, rgba(17, 17, 17, 0.02), rgba(17, 17, 17, 0.32) 74%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  width: min(980px, calc(100% - 36px));
  padding: calc(var(--header-height) + 42px) 0 92px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6.4vw, 6.7rem);
  font-weight: 600;
  text-shadow: 0 10px 44px rgba(0, 0, 0, 0.48);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
  font-weight: 600;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  font-weight: 700;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.46);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
  background: transparent;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.hero-meta {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 5vw, 64px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(680px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 17, 17, 0.46);
  backdrop-filter: blur(16px);
}

.hero-meta div {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-meta div:last-child {
  border-right: 0;
}

.hero-meta span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta strong {
  font-size: 0.96rem;
}

.communication-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 112px);
  color: var(--white);
  background: #171715;
}

.communication-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
}

.communication-copy {
  display: grid;
  gap: 18px;
}

.communication-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.04rem, 1.35vw, 1.25rem);
}

.communication-copy p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

.projects-section {
  background: var(--paper-strong);
}

.project-card {
  position: relative;
  display: block;
  min-height: clamp(340px, 42vw, 560px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: clamp(340px, 42vw, 560px);
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.02), rgba(17, 17, 17, 0.62)),
    linear-gradient(90deg, rgba(17, 17, 17, 0.48), rgba(17, 17, 17, 0.02));
}

.project-card span {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 5vw, 64px);
  bottom: clamp(24px, 5vw, 58px);
  display: grid;
  gap: 7px;
}

.project-card small {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 600;
  line-height: 0.95;
}

.project-card:hover img,
.project-card:focus-visible img {
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.025);
}

.project-detail {
  background: #f0ebe2;
}

.project-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.spec-grid div {
  min-height: 132px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 250, 240, 0.78);
}

.spec-grid dt {
  margin-bottom: 14px;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.spec-grid dd {
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 700;
}

.standards-section {
  color: var(--white);
  background: #171715;
}

.standards-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
}

.standards-layout img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.standards-list {
  display: grid;
  align-content: center;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.standards-list li {
  padding: 18px clamp(18px, 3vw, 30px);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.045);
}

.available-section {
  background: var(--paper-strong);
}

.available-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.plan-preview-card {
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  min-height: 620px;
  background: var(--white);
}

.plan-preview-image {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  padding: clamp(12px, 2vw, 18px);
  overflow: hidden;
  border: 0;
  background: #ede7dc;
  cursor: zoom-in;
}

.plan-preview-image img {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: contain;
  background: var(--white);
  transition: transform 180ms ease;
}

.plan-preview-image:hover img,
.plan-preview-image:focus-visible img {
  transform: scale(1.02);
}

.plan-preview-content {
  padding: clamp(22px, 3vw, 32px);
}

.plan-preview-content .status {
  margin-bottom: 24px;
}

.plan-preview-content h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.plan-preview-content p {
  min-height: 84px;
  color: var(--muted);
}

.plan-preview-content a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: var(--gold-deep);
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.level-plan-card {
  background: #f8f1e7;
}

.section,
.gallery-section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 7vw, 104px);
}

.section-heading {
  width: min(940px, 100%);
  margin-bottom: clamp(34px, 5vw, 70px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-deep);
  border-bottom: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-copy {
  color: var(--soft-ink);
  font-size: clamp(1.03rem, 1.3vw, 1.22rem);
}

.project-copy p {
  margin-bottom: 22px;
}

.plan-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.zoom-controls {
  display: inline-grid;
  grid-template-columns: 42px 58px 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
}

.zoom-controls button {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.zoom-controls button:last-child {
  border-right: 0;
}

.zoom-controls button:hover,
.zoom-controls button:focus-visible {
  color: var(--white);
  background: var(--sage);
}

.unit-dialog-head a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.unit-dialog-head a:hover,
.unit-dialog-head a:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.unit-preview-wrap img {
  width: 100%;
  min-width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--white);
  transform-origin: top left;
  transition: transform 160ms ease;
  user-select: none;
}

.status {
  display: inline-flex;
  margin-bottom: 58px;
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-section {
  color: var(--white);
  background: #151515;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(220px, 26vw, 420px);
  gap: 12px;
}

.gallery-item {
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-item.is-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.about-visual {
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.about-visual > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.team-strip article {
  min-height: 116px;
  padding: 22px;
  background: var(--paper-strong);
}

.team-strip span {
  display: block;
  margin-bottom: 7px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
}

.team-strip small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-content p:not(.eyebrow) {
  color: var(--soft-ink);
  font-size: 1.04rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 7vw, 104px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.58)),
    url("assets/images/building-wide.jpg") center / cover;
}

.contact-content p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 42px);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.contact-card a {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 800;
}

.contact-card .whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-link span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  flex: 0 0 42px;
  background: #078b84;
  border-radius: 50%;
}

.whatsapp-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.contact-card address,
.contact-card span {
  color: var(--muted);
  font-style: normal;
}

.contact-card .whatsapp-link span {
  color: var(--white);
}

.company-public-data {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.company-public-data summary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(17, 17, 17, 0.06);
  border: 1px solid rgba(17, 17, 17, 0.1);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  list-style: none;
}

.company-public-data summary::-webkit-details-marker {
  display: none;
}

.company-public-data summary::after {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
}

.company-public-data[open] summary::after {
  content: "-";
}

.company-public-data summary:hover,
.company-public-data summary:focus-visible {
  background: rgba(180, 146, 75, 0.18);
  border-color: rgba(180, 146, 75, 0.35);
}

.company-public-data dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.company-public-data dl div {
  display: grid;
  gap: 4px;
}

.company-public-data dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-public-data dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 7vw, 104px);
  color: var(--white);
  background: var(--ink);
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

.lightbox {
  width: min(1120px, calc(100% - 30px));
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  width: 100%;
  max-height: 86svh;
  object-fit: contain;
  background: var(--ink);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.unit-dialog {
  width: min(1180px, calc(100% - 30px));
  height: min(860px, calc(100svh - 30px));
  padding: 0;
  border: 0;
  background: transparent;
}

.unit-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.unit-dialog-content {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper-strong);
}

.unit-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}

.unit-dialog-head .eyebrow {
  margin-bottom: 7px;
}

.unit-dialog-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

.unit-preview-wrap {
  min-height: 0;
  padding: clamp(12px, 2vw, 24px);
  overflow: auto;
  background: #e7e1d6;
}

@media (max-width: 1080px) {
  .available-plans {
    grid-template-columns: 1fr;
  }

  .plan-preview-card {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    grid-template-rows: auto;
    min-height: 0;
  }

  .plan-preview-image img {
    max-height: 430px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .menu-toggle {
    position: relative;
    z-index: 25;
    justify-self: end;
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 22px;
    color: var(--ink);
    background: rgba(247, 244, 238, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
    transform: translateY(calc(-100% - var(--header-height)));
    transition: transform 190ms ease;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 0;
  }

  .hero-content {
    min-height: 100svh;
    padding: calc(var(--header-height) + 42px) 0 82px;
    margin-inline: auto;
  }

  .project-overview,
  .standards-layout,
  .communication-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .heading-row {
    align-items: start;
    flex-direction: column;
  }

  .standards-layout img {
    min-height: 360px;
  }
}

@media (max-width: 650px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.74rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 40px);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .gallery-grid,
  .spec-grid,
  .team-strip {
    grid-template-columns: 1fr;
  }

  .plan-preview-card {
    grid-template-columns: 1fr;
  }

  .plan-preview-image {
    min-height: 300px;
  }

  .plan-preview-content p {
    min-height: 0;
  }

  .gallery-item.is-wide {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .unit-dialog-head {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .zoom-controls {
    grid-template-columns: 1fr 1.25fr 1fr;
    width: 100%;
    min-height: 46px;
    border-color: rgba(17, 17, 17, 0.24);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.1);
  }

  .zoom-controls button {
    font-size: 0.92rem;
  }

  .unit-dialog-head a {
    width: 100%;
  }

  .unit-preview-wrap {
    padding: 10px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}
