/* Base reset corresponding to the approved Site. */
*,::before,::after { box-sizing:border-box; margin:0; padding:0; border:0 solid; }
html { font-size:16px; line-height:1.5; -webkit-text-size-adjust:100%; tab-size:4; font-family:Arial,Helvetica,sans-serif; }
h1,h2,h3,h4,h5,h6 { font-size:inherit; font-weight:inherit; }
a { color:inherit; text-decoration:inherit; }
b,strong { font-weight:bolder; } small { font-size:80%; }
table { text-indent:0; border-color:inherit; border-collapse:collapse; }
button,input,optgroup,select,textarea { font:inherit; letter-spacing:inherit; color:inherit; background:transparent; border-radius:0; opacity:1; }
button,input:where([type=button],[type=reset],[type=submit]) { appearance:button; }
ol,ul,menu { list-style:none; } img,svg,video,canvas,audio,iframe,embed,object { display:block; vertical-align:middle; }
img,video { max-width:100%; height:auto; } summary { display:list-item; }
[hidden]:not([hidden=until-found]) { display:none!important; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

:root {
  --ink: #20211f;
  --ink-soft: #2a2b29;
  --paper: #f3f1ec;
  --white: #ffffff;
  --gold: #d6aa55;
  --line-dark: rgba(255, 255, 255, 0.18);
  --line-light: rgba(32, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.section-pad {
  padding-left: clamp(1.25rem, 3vw, 3.5rem);
  padding-right: clamp(1.25rem, 3vw, 3.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.site-header {
  position: relative;
  z-index: 100;
  display: grid;
  min-height: 7.75rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
  padding: 0 2.5rem;
}

.menu-button {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  justify-self: start;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
}

.menu-button:focus-visible,
.hero-arrow:focus-visible,
.hero-dots button:focus-visible,
.cookie-notice button:focus-visible,
.contact-form button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.brand-mark {
  position: relative;
  z-index: 51;
  display: flex;
  width: 8.8rem;
  height: 6rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: block;
  width: 8.4rem;
  max-height: 5.3rem;
  object-fit: contain;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  gap: 0.7rem;
  font-size: 0.93rem;
}

.header-contact a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: color 180ms ease;
}

.header-contact a:hover {
  color: var(--gold);
}

.menu-panel {
  position: fixed;
  z-index: 99;
  inset: 7.75rem 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  align-items: end;
  visibility: hidden;
  background: var(--ink);
  opacity: 0;
  padding: 3rem clamp(1.5rem, 6vw, 6rem) 4rem;
  pointer-events: none;
  transform: translateY(-1rem);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    visibility 220ms;
}

.menu-panel.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-panel nav {
  display: flex;
  flex-direction: column;
}

.menu-panel nav a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  border-top: 1px solid var(--line-dark);
  padding: 0.65rem 0;
  font-size: clamp(2rem, 6vw, 5.25rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  transition: color 180ms ease, padding-left 180ms ease;
}

.menu-panel nav a:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.menu-panel nav a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

.menu-panel nav a[aria-current="page"] {
  color: var(--gold);
}

.menu-meta {
  border-left: 1px solid var(--line-dark);
  padding-left: 2rem;
  color: rgba(255, 255, 255, 0.62);
}

.menu-meta a {
  color: white;
}

.hero {
  position: relative;
  background: var(--ink);
  padding: 1.75rem clamp(1.25rem, 3vw, 3.5rem) 3.1rem;
}

.hero-grid {
  display: grid;
  min-height: min(43vw, 38rem);
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.hero-panel {
  position: relative;
  display: block;
  min-height: 33rem;
  overflow: hidden;
  background: #343532;
  cursor: pointer;
}

.hero-panel:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1);
}

.hero-panel:hover img {
  transform: scale(1.025);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 48%, rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.hero-title,
.hero-offer {
  position: absolute;
  left: 1.35rem;
  background: rgba(25, 26, 24, 0.96);
  color: white;
}

.hero-title {
  bottom: 1.35rem;
  display: flex;
  min-width: 14.5rem;
  flex-direction: column;
  padding: 1.05rem 1.25rem;
}

.hero-title strong {
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-title span,
.hero-offer span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-offer {
  top: 1.35rem;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem;
}

.hero-offer strong {
  font-size: 0.95rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 48%;
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  border: 0;
  background: var(--ink);
  color: white;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.hero-arrow:hover {
  background: var(--gold);
  color: var(--ink);
}

.hero-arrow-left {
  left: clamp(1.75rem, 5vw, 5rem);
}

.hero-arrow-right {
  right: clamp(1.75rem, 5vw, 5rem);
}

.hero-dots {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  display: flex;
  gap: 0.7rem;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 1.55rem;
  height: 0.2rem;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: white;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  padding-top: 2.4rem;
  padding-bottom: 4.5rem;
}

.quick-card {
  display: grid;
  min-height: 13rem;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.35rem;
  border: 1px solid var(--line-dark);
  padding: 1.8rem;
  transition: background 180ms ease, border-color 180ms ease;
}

.quick-card + .quick-card {
  border-left: 0;
}

.quick-card:hover {
  border-color: rgba(214, 170, 85, 0.7);
  background: var(--ink-soft);
}

.quick-card h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  font-weight: 400;
}

.quick-card p {
  max-width: 17rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.93rem;
}

.featured,
.page-section,
.offer-sections,
.reference-grid,
.contact-layout,
.detail-content {
  background: var(--paper);
  color: var(--ink);
}

.featured {
  padding-top: 6rem;
  padding-bottom: 6.5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.section-heading h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1;
}

.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.28rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-bottom: 1px solid var(--line-light);
  background: #fff;
}

.project-image {
  position: relative;
  aspect-ratio: 1.32;
  overflow: hidden;
  background: #d8d6d0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-image > span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--ink);
  color: white;
  padding: 0.45rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-copy {
  display: flex;
  flex: 1;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
}

.project-category {
  color: #806730;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0.45rem 0 0.7rem;
  font-size: 1.35rem;
  font-weight: 500;
}

.project-copy p {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: #66665f;
  font-size: 0.88rem;
}

.statement {
  display: flex;
  min-height: 29rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(32, 33, 31, 0.96), rgba(32, 33, 31, 0.78)),
    radial-gradient(circle at 82% 40%, #76623d, transparent 30%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.statement p {
  max-width: 62rem;
  margin: 1.2rem 0 2rem;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.outline-button {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.42);
  padding: 0.9rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.outline-button:hover {
  background: white;
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 4rem;
  border-top: 1px solid var(--line-dark);
  background: #191a18;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-brand,
.site-footer nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-brand {
  color: rgba(255, 255, 255, 0.65);
}

.footer-brand strong {
  margin-bottom: 0.45rem;
  color: white;
}

.site-footer nav {
  font-size: 1.1rem;
}

.site-footer nav a:hover,
.footer-legal a:hover {
  color: var(--gold);
}

.footer-legal {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.cookie-notice {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-top: 1px solid var(--line-dark);
  background: rgba(30, 31, 29, 0.98);
  padding: 1.1rem 1.5rem;
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.16);
}

.cookie-notice p {
  max-width: 45rem;
  margin: 0 1rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.cookie-notice button {
  min-width: 6rem;
  border: 1px solid rgba(214, 170, 85, 0.65);
  background: transparent;
  color: white;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
}

.cookie-notice .cookie-secondary {
  border-color: transparent;
  color: rgba(255, 255, 255, 0.66);
}

.page-intro {
  display: flex;
  min-height: 23rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-bottom: 1px solid var(--line-dark);
  background:
    linear-gradient(100deg, #20211f 35%, rgba(32, 33, 31, 0.78)),
    radial-gradient(circle at 85% 50%, #7b673e, transparent 32%);
}

.page-intro.offer-page-intro {
  min-height: 20rem;
}

.page-intro h1 {
  margin: 0.8rem 0 0;
  font-size: clamp(3.3rem, 8vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.page-intro p {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
}

.page-section {
  min-height: 30rem;
  padding-top: 5.5rem;
  padding-bottom: 6.5rem;
}

.offer-index-page {
  padding-top: 2.5rem;
}

.offer-sections {
  padding-top: 1rem;
  padding-bottom: 6rem;
}

.offer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line-light);
  padding-top: 2rem;
}

.offer-nav a {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  padding: 0.9rem 1.15rem;
  color: #66665f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-nav a:last-child {
  border-right: 1px solid var(--line-light);
}

.offer-nav a:hover,
.offer-nav a.is-active {
  background: var(--ink);
  color: white;
}

.category-results {
  margin-top: 3.5rem;
}

.offer-group {
  padding: 4.5rem 0 1.5rem;
}

.offer-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 1rem;
}

.offer-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.offer-heading > a:hover {
  color: #8b6c32;
}

.offer-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.offer-heading span {
  color: #77766f;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.reference-card {
  position: relative;
  display: block;
  min-height: 32rem;
  overflow: hidden;
}

.reference-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.reference-card:first-child {
  grid-row: span 2;
  min-height: 65rem;
}

.reference-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.reference-card:hover img {
  transform: scale(1.025);
}

.reference-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.64));
  color: white;
  padding: 1.5rem;
}

.reference-overlay > span {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.reference-overlay h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.75rem);
  font-weight: 400;
}

.reference-overlay p {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding-top: 5.5rem;
  padding-bottom: 6.5rem;
}

.contact-details h2,
.contact-form h2 {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-details li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line-light);
  padding: 1.3rem 0;
}

.contact-details li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.contact-details li > svg {
  color: #9a793c;
}

.contact-details li span {
  display: flex;
  flex-direction: column;
}

.contact-details li strong {
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-details li a:hover {
  color: #8b6c32;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  background: white;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-form h2,
.contact-form .form-wide,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #aaa89f;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  padding: 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.form-note {
  margin: 0;
  color: #6e6d66;
  font-size: 0.86rem;
}

.detail-hero {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
}

.detail-hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.detail-title {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding-bottom: 3.5rem;
}

.detail-title h1 {
  max-width: 70rem;
  margin: 0.7rem 0;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.detail-title p {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.detail-content {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: clamp(3rem, 9vw, 9rem);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.detail-content.is-facts-only {
  grid-template-columns: 1fr;
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
}

.detail-content.is-facts-only .project-facts {
  margin-top: 0;
}

.detail-copy .back-link {
  margin-bottom: 4rem;
}

.detail-copy h2 {
  max-width: 42rem;
  margin: 0.8rem 0 1.5rem;
  font-size: clamp(2.15rem, 4.2vw, 4.25rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.detail-copy p {
  max-width: 43rem;
  color: #5e5d57;
  font-size: 1.03rem;
  line-height: 1.75;
}

.project-facts {
  margin: 4rem 0 0;
}

.project-facts div {
  border-top: 1px solid var(--line-light);
  padding: 1.1rem 0;
}

.project-facts div:last-child {
  border-bottom: 1px solid var(--line-light);
}

.project-facts dt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #76756d;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0.3rem 0 0;
  font-size: 1.15rem;
}

.project-inquiry {
  display: block;
  margin-top: 1.5rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.project-inquiry:hover {
  background: transparent;
  color: var(--ink);
}

.detail-gallery-section {
  background: var(--paper);
  color: var(--ink);
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.gallery-heading {
  margin-bottom: 1.5rem;
}

.gallery-heading h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.detail-gallery {
  position: relative;
  width: 100%;
  height: clamp(22rem, 53vw, 46rem);
  overflow: hidden;
  background: #d8d6d0;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.gallery-slide:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

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

.gallery-slide:hover img {
  transform: scale(1.02);
}

.gallery-slide > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(25, 26, 24, 0.94);
  color: white;
  padding: 0.7rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-dots,
.project-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.gallery-dots {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.gallery-dots button,
.project-carousel-dots button {
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.gallery-dots button {
  color: #fff;
}

.gallery-dots button.is-active,
.project-carousel-dots button.is-active {
  background: currentColor;
}

.project-carousel {
  max-width: 54rem;
  margin: 0 auto;
}

.project-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.project-carousel-arrows {
  position: absolute;
  top: 40%;
  left: 0;
  z-index: 2;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0 0.8rem;
  pointer-events: none;
}

.project-carousel-arrows button {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(25, 26, 24, 0.88);
  color: white;
  cursor: pointer;
  pointer-events: auto;
}

.project-carousel-arrows button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.project-carousel-dots button {
  color: var(--ink);
}

.project-carousel-count {
  min-width: 2.5rem;
  color: #66665f;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.project-carousel-slide .project-card {
  width: 100%;
}

.project-carousel-slide {
  position: relative;
}

.gallery-dialog {
  z-index: 201 !important;
  display: block !important;
  width: calc(100vw - 3rem) !important;
  max-width: 90rem !important;
  max-height: calc(100vh - 3rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0 !important;
  background: #111210 !important;
  padding: 0 !important;
}

[data-slot="dialog-overlay"] {
  z-index: 200 !important;
}

.gallery-dialog > img {
  width: 100%;
  height: min(80vh, 54rem);
  object-fit: contain;
}

.gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  background: rgba(20, 21, 19, 0.88);
  color: white;
  border: 0;
  cursor: pointer;
  opacity: 1;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 0;
  background: rgba(20, 21, 19, 0.9);
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-arrow:hover {
  background: var(--gold);
  color: var(--ink);
}

.gallery-arrow-left {
  left: 1rem;
}

.gallery-arrow-right {
  right: 1rem;
}

.gallery-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  background: rgba(20, 21, 19, 0.9);
  color: white;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  transform: translateX(-50%);
}

.related-projects {
  background: var(--paper);
  color: var(--ink);
  padding-top: 1rem;
  padding-bottom: 6rem;
}

.legal-copy {
  min-height: 22rem;
  background: var(--paper);
  color: var(--ink);
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.legal-copy p {
  max-width: 52rem;
  margin: 0;
  color: #5e5d57;
  font-size: 1.08rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 6.5rem;
    padding: 0 1.25rem;
  }

  .brand-mark {
    height: 5.2rem;
    transform: scale(0.88);
  }

  .header-contact {
    flex-direction: row;
    gap: 0.4rem;
    align-items: center;
  }

  .header-contact a {
    display: flex;
    width: auto;
    height: auto;
    align-items: center;
    gap: 0.45rem;
  }

  .menu-panel {
    inset: 6.5rem 0 0;
    grid-template-columns: 1fr;
    align-items: start;
    overflow-y: auto;
    padding-top: 2rem;
  }

  .menu-meta {
    margin-top: 2rem;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
    padding: 1.5rem 0 0;
  }

  .hero-grid {
    min-height: 42rem;
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 42rem;
  }

  .hero-panel:nth-child(2) {
    display: none;
  }

  .quick-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .quick-card + .quick-card {
    border-top: 0;
    border-left: 1px solid var(--line-dark);
  }

  .quick-card {
    min-height: 10rem;
  }

  .site-footer,
  .contact-layout,
  .detail-content {
    grid-template-columns: 1fr;
  }

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

  .reference-card,
  .reference-card:first-child {
    grid-row: auto;
    min-height: 32rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .header-contact > a:first-child span {
    display: none;
  }

  .hero {
    padding: 0.75rem 0.75rem 2.8rem;
  }

  .hero-grid,
  .hero-panel {
    min-height: 35rem;
  }

  .hero-title {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    min-width: 0;
  }

  .hero-offer {
    top: 1rem;
    left: 1rem;
  }

  .hero-arrow {
    top: 48%;
    width: 3.25rem;
    height: 3.25rem;
  }

  .hero-arrow-left {
    left: 0.75rem;
  }

  .hero-arrow-right {
    right: 0.75rem;
  }

  .quick-grid {
    padding-top: 1rem;
    padding-bottom: 3.5rem;
  }

  .featured {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

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

  .statement {
    min-height: 25rem;
  }

  .site-footer {
    gap: 2.5rem;
  }

  .cookie-notice {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-notice p {
    grid-column: 1 / -1;
    margin: 0;
  }

  .page-intro {
    min-height: 20rem;
  }

  .page-intro.offer-page-intro {
    min-height: 17rem;
  }

  .offer-index-page {
    padding-top: 1.5rem;
  }

  .page-intro h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

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

  .contact-form h2,
  .contact-form label,
  .contact-form button,
  .form-note {
    grid-column: 1;
  }

  .detail-hero {
    min-height: 35rem;
  }

  .detail-content {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .detail-gallery {
    height: 22rem;
  }

  .detail-gallery-section {
    padding-bottom: 2rem;
  }

  .offer-nav {
    flex-direction: column;
  }

  .offer-nav a,
  .offer-nav a:last-child {
    border-right: 1px solid var(--line-light);
    border-bottom: 0;
  }

  .offer-nav a:last-child {
    border-bottom: 1px solid var(--line-light);
  }

  .gallery-dialog {
    width: calc(100vw - 1rem) !important;
    max-height: calc(100vh - 1rem);
  }

  .gallery-arrow {
    width: 3rem;
    height: 3rem;
  }
}

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

/* Complete-site additions */
.site-menu {
  justify-self: start;
}

.site-menu > summary {
  list-style: none;
}

.site-menu > summary::-webkit-details-marker {
  display: none;
}

.menu-close-icon {
  display: none;
}

.site-menu[open] .menu-open-icon {
  display: none;
}

.site-menu[open] .menu-close-icon {
  display: block;
}

.site-menu[open] .menu-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-menu[open] .menu-button {
  position: relative;
  z-index: 101;
}

.menu-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.home-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  background: #191a18;
}

.home-numbers > div {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-dark);
  padding: 1.8rem;
}

.home-numbers > div:first-child {
  border-left: 1px solid var(--line-dark);
}

.home-numbers strong {
  color: var(--gold);
  font-family: inherit;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.home-numbers span {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.offer-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.offer-category-grid > a {
  position: relative;
  display: flex;
  min-height: 22rem;
  grid-column: span 2;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 1.6rem;
  transition: background 180ms ease, color 180ms ease;
}

.offer-category-grid > a:nth-child(-n + 2) {
  grid-column: span 3;
}

.offer-category-grid > a:hover {
  background: var(--ink);
  color: white;
}

.offer-category-grid > a > span {
  color: #9a793c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.offer-category-grid h2 {
  max-width: 20rem;
  margin: auto 0 0.7rem;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.offer-category-grid p {
  max-width: 22rem;
  margin: 0;
  color: #6a6962;
  font-size: 0.94rem;
}

.offer-category-grid > a:hover p {
  color: rgba(255, 255, 255, 0.62);
}

.offer-category-grid strong {
  margin-top: 1.35rem;
  color: #806730;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-category-grid svg {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
}

.all-units,
.category-units {
  padding-top: 6rem;
}

.category-projects {
  padding-top: 5rem;
}

.offer-table-wrap {
  border-top: 1px solid var(--line-light);
}

.offer-filters {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) auto 1fr;
  align-items: end;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.offer-filters > label:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #6e6d66;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-filters select {
  min-height: 3rem;
  border: 1px solid #aaa89f;
  border-radius: 0;
  background: white;
  color: var(--ink);
  padding: 0 0.8rem;
  font-size: 0.95rem;
}

.availability-filter {
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
}

.availability-filter input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--ink);
}

.result-count {
  justify-self: end;
  padding-bottom: 0.9rem;
  color: #77766f;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-table-scroll {
  overflow-x: auto;
}

.offer-table {
  width: 100%;
  min-width: 54rem;
  border-collapse: collapse;
  background: white;
}

.offer-table th,
.offer-table td {
  border-bottom: 1px solid var(--line-light);
  padding: 1.15rem 1rem;
  text-align: left;
}

.offer-table th {
  color: #77766f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-table td {
  color: #52514c;
  font-size: 0.9rem;
}

.offer-table td:first-child {
  color: var(--ink);
}

.offer-table td strong,
.offer-table td small {
  display: block;
}

.offer-table td small {
  margin-top: 0.2rem;
  color: #8b8981;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.unit-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.73rem;
  font-weight: 700;
}

.unit-status::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #8b8981;
  content: "";
}

.status-dostupno::before {
  background: #347a49;
}

.status-rezervirano::before {
  background: #bd812c;
}

.unit-link {
  border-bottom: 1px solid currentColor;
  color: #806730;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-empty {
  background: white;
  padding: 3rem;
  text-align: center;
}

.offer-empty h3 {
  font-size: 1.25rem;
  font-weight: 400;
}

.offer-empty button {
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.detail-anchor-nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--ink);
}

.detail-anchor-nav a {
  flex: 0 0 auto;
  border-right: 1px solid var(--line-light);
  padding: 1.25rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.detail-anchor-nav a:first-child {
  border-left: 1px solid var(--line-light);
}

.detail-anchor-nav a:hover {
  background: var(--ink);
  color: white;
}

#o-projektu,
#ponuda,
#galerija,
#lokacija,
#kontakt,
.reference-group {
  scroll-margin-top: 1rem;
}

.project-offer {
  background: var(--paper);
  color: var(--ink);
  padding-top: 3rem;
  padding-bottom: 6rem;
}

.selected-unit-note {
  margin: -1rem 0 1.5rem;
  border-left: 3px solid var(--gold);
  background: white;
  padding: 1rem 1.2rem;
  color: #5e5d57;
}

.project-location {
  display: grid;
  min-height: 31rem;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  background: var(--paper);
  color: var(--ink);
  padding-bottom: 2.5rem;
}

.project-location > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid var(--line-light);
  padding: clamp(2rem, 5vw, 5rem);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-location .map-link {
  margin-top: 0;
}

.location-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    #282926;
  background-size: 3rem 3rem;
  color: var(--gold);
}

.location-marker span {
  color: white;
  font-size: 1.3rem;
}

.project-contact {
  display: flex;
  min-height: 28rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.project-contact .eyebrow {
  color: #5f491e;
}

.project-contact h2 {
  max-width: 56rem;
  margin: 0.9rem 0 2rem;
  font-size: clamp(2.6rem, 6vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.project-contact > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.project-contact > div > a:not(.solid-button) {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
}

.solid-button {
  display: inline-flex;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  padding: 0.95rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.references-page {
  background: var(--paper);
  color: var(--ink);
  padding-top: 1rem;
  padding-bottom: 6rem;
}

.reference-brand-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-light);
  padding-top: 2rem;
}

.reference-brand-nav a {
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  padding: 1rem 1.2rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.reference-brand-nav a:last-child {
  border-right: 1px solid var(--line-light);
}

.reference-brand-nav a:hover {
  background: var(--ink);
  color: white;
}

.reference-group {
  padding-top: 5rem;
}

.reference-group .offer-heading > h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

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

.reference-group .reference-card,
.reference-group .reference-card:first-child {
  grid-row: auto;
  min-height: 38rem;
}

.reference-overlay h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.75rem);
  font-weight: 400;
}

.reference-overlay .reference-brand {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-overlay > svg {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
}

.reference-detail-copy {
  padding-bottom: 4rem;
}

.form-heading {
  grid-column: 1 / -1;
}

.form-heading h2 {
  margin-top: 0.6rem;
  margin-bottom: 0.5rem;
}

.form-heading p {
  margin: 0 0 1.5rem;
  color: #77766f;
  font-size: 0.85rem;
}

.privacy-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.65rem !important;
  color: #66655f;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
  text-transform: none !important;
}

.contact-form .privacy-check input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0.15rem 0 0;
  padding: 0;
  accent-color: var(--ink);
}

.contact-map-link {
  color: #806730;
}

.legal-copy {
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) 1fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.legal-copy > aside {
  align-self: start;
  border-top: 2px solid var(--gold);
  padding-top: 1rem;
  color: #66655f;
}

.legal-copy > div {
  max-width: 52rem;
}

.legal-copy section + section {
  margin-top: 2.5rem;
}

.legal-copy h2 {
  margin: 0 0 0.8rem;
  font-size: 1.55rem;
  font-weight: 500;
}

.legal-copy p,
.legal-copy li {
  color: #5e5d57;
  font-size: 1rem;
  line-height: 1.75;
}

.not-found {
  display: flex;
  min-height: 70vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
}

.not-found h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.05em;
}

.not-found p {
  max-width: 35rem;
  color: #66655f;
}

@media (max-width: 900px) {
  .home-numbers {
    grid-template-columns: 1fr 1fr;
  }

  .home-numbers > div:nth-child(2) {
    border-right: 1px solid var(--line-dark);
  }

  .offer-category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-category-grid > a,
  .offer-category-grid > a:nth-child(-n + 2) {
    grid-column: span 1;
  }

  .offer-category-grid > a:last-child {
    grid-column: 1 / -1;
  }

  .project-location,
  .legal-copy {
    grid-template-columns: 1fr;
  }

  .location-marker {
    min-height: 22rem;
  }

  .reference-group .reference-card,
  .reference-group .reference-card:first-child {
    min-height: 30rem;
  }

}

@media (max-width: 620px) {
  .home-numbers {
    grid-template-columns: 1fr;
  }

  .home-numbers > div {
    min-height: 9rem;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
  }

  .offer-category-grid {
    grid-template-columns: 1fr;
  }

  .offer-category-grid > a,
  .offer-category-grid > a:nth-child(-n + 2),
  .offer-category-grid > a:last-child {
    min-height: 18rem;
    grid-column: 1;
  }

  .offer-filters {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .result-count {
    justify-self: start;
    padding: 0;
  }

  .project-location {
    padding-right: 0;
    padding-left: 0;
  }

  .project-location > div:first-child {
    margin: 0 1.25rem;
  }

  .project-contact h2 {
    font-size: clamp(2.6rem, 13vw, 4.7rem);
  }

  .project-contact > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .reference-brand-nav {
    flex-direction: column;
  }

  .reference-brand-nav a,
  .reference-brand-nav a:last-child {
    border-right: 1px solid var(--line-light);
  }

  .reference-group .reference-grid {
    grid-template-columns: 1fr;
  }
}

.project-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 6rem;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.project-directory a {
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 1.25rem;
  transition: background 180ms ease, color 180ms ease;
}

.project-directory a:hover {
  background: var(--ink);
  color: white;
}

.project-directory span {
  color: #9a793c;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.project-directory strong {
  margin-top: auto;
  font-size: 1.15rem;
  font-weight: 500;
}

.project-directory small {
  margin-top: 0.35rem;
  color: #73726b;
  font-size: 0.76rem;
}

.project-directory a:hover small {
  color: rgba(255, 255, 255, 0.62);
}

.project-list-heading {
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .project-directory {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .project-directory {
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
  }

  .project-offer {
    padding-top: 2.5rem;
  }
}

.property-map-section { padding-top: clamp(3rem, 6vw, 6rem); padding-bottom: clamp(3rem, 6vw, 5rem); background: var(--paper); color: var(--ink); }
.property-map-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.75rem; }
.property-map-heading .eyebrow { color: #85601e; }
.property-map-heading h2 { margin: 0 0 .6rem; font-size: clamp(2rem, 3.7vw, 3.75rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.1; }
.property-map-heading p { margin: 0; color: #565751; }
.map-overview-button, .property-map-error button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 44px; border: 1px solid var(--line-light); background: white; color: var(--ink); cursor: pointer; padding: .7rem 1rem; font-size: .875rem; font-weight: 600; }
.property-map-section button:focus-visible, .property-map-list a:focus-visible, .property-map-list summary:focus-visible { outline: 3px solid #9b7026; outline-offset: 3px; }
.property-map-explorer { border: 1px solid #cccac2; background: #fff; }
.property-map-toolbar { padding: 1rem; }
.property-map-filters { display: flex; flex-wrap: wrap; gap: .5rem; width: auto; border-radius: 0; }
.property-map-filters .property-map-filter { min-height: 42px; height: auto; border: 1px solid #d8d7d0; border-radius: 0; padding: .6rem .85rem; background: #fff; color: #40413a; font-size: .875rem; font-weight: 500; cursor: pointer; white-space: normal; }
.property-map-filters .property-map-filter:hover { background: #f3f1ec; }
.property-map-filters .property-map-filter[data-state="on"] { background: var(--ink); color: white; border-color: var(--ink); }
.property-map-filters .property-map-filter::before { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-right: .5rem; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #777; vertical-align: -.05rem; }
.property-map-filters .property-map-filter-sale::before { background: #31864a; }
.property-map-filters .property-map-filter-all::before { background: #31864a; }
.property-map-filters .property-map-filter-all::after { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-left: .35rem; border: 2px solid white; border-radius: 50%; background: #c7433d; box-shadow: 0 0 0 1px #777; vertical-align: -.05rem; }
.property-map-count { margin: .85rem 0 0; font-size: .875rem; color: #606159; }
.property-map-count strong { color: var(--ink); font-weight: 700; }
.property-map-count > span { padding: 0 .5rem; color: #b3b4a9; }
.property-map-canvas-wrap { position: relative; height: 520px; min-height: 320px; isolation: isolate; background: #e6e9e1; border-top: 1px solid #d1d3c9; border-bottom: 1px solid #d1d3c9; }
.property-map-canvas { height: 100%; width: 100%; z-index: 0; font-family: Arial, Helvetica, sans-serif; background: #e6e9e1; }
.map-overview-button { position: absolute; z-index: 10; top: 12px; right: 12px; box-shadow: 0 2px 8px #0002; }
.map-overview-button:hover { background: var(--paper); }
.map-overview-button:disabled { opacity: .5; cursor: default; }
.property-map-loading, .property-map-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 2rem; text-align: center; color: #55594d; pointer-events: none; }
.property-map-empty { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(90%, 400px); background: white; box-shadow: 0 3px 12px #0002; }
.property-map-error { position: absolute; bottom: 34px; left: 12px; right: 12px; z-index: 10; max-width: 500px; padding: .8rem 1rem; background: white; border-left: 3px solid #9a6724; box-shadow: 0 2px 8px #0002; font-size: .875rem; }
.property-map-error p { margin: 0 0 .5rem; }
.property-map-error button { padding: .4rem .6rem; }
.property-map-canvas .property-map-pin { position: relative; background: transparent; border: 0; box-shadow: none; }
.property-map-canvas .property-map-pin::before { content: ""; position: absolute; left: 3px; top: 1px; width: 28px; height: 28px; border: 2px solid white; border-radius: 50% 50% 50% 0; background: #aa772b; box-shadow: 0 2px 7px #0005; transform: rotate(-45deg); }
.property-map-canvas .property-map-pin-sale::before { background: #31864a; }
.property-map-canvas .property-map-pin-references::before { background: #c7433d; }
.property-map-pin > span { position: absolute; z-index: 1; left: 13px; top: 11px; width: 8px; height: 8px; background: white; border-radius: 50%; }
.property-map-pin:hover::before, .property-map-pin:focus::before { background: var(--ink); }
.property-map-cluster { display: grid; place-items: center; border-radius: 50%; border: 3px solid #d6aa55; background: var(--ink); color: white; box-shadow: 0 2px 8px #0004; font-size: 1rem; font-weight: 700; }
.property-map-cluster > span { display: grid; width: 100%; height: 100%; place-items: center; }
.property-map-canvas .leaflet-control-zoom { border: 1px solid #d5d5cc; border-radius: 0; box-shadow: 0 2px 8px #0002; }
.property-map-explorer .property-map-canvas .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; border-radius: 0; color: var(--ink); }
.property-map-canvas .leaflet-control-attribution { font-size: .75rem; color: #393d38; background: #fffffff2; }
.property-map-canvas .leaflet-control-attribution a { color: #31516a; text-decoration: underline; }
.property-popup-shell .leaflet-popup-content-wrapper { border-radius: 0; padding: 0; overflow: hidden; }
.property-popup-shell .leaflet-popup-content { margin: 0; line-height: 1.45; }
.property-popup-shell .leaflet-popup-close-button { z-index: 2; background: #fff !important; width: 32px !important; height: 32px !important; font-size: 23px !important; color: #20211f !important; }
.property-map-popup > img { width: 100%; height: 130px; object-fit: cover; }
.property-map-popup-body { padding: 1rem; }
.property-map-popup h3 { margin: .3rem 0 .7rem; font-size: 1.125rem; line-height: 1.25; font-weight: 600; }
.property-map-popup p { margin: .4rem 0; font-size: .875rem; }
.property-map-popup .property-map-popup-location { margin: 0; color: #776031; }
.property-map-popup small { display: block; color: #6b6252; font-size: .75rem; line-height: 1.4; }
.property-map-canvas .property-map-popup a { display: block; padding: .7rem .8rem; margin-top: .9rem; background: var(--ink); color: white; font-size: .875rem; text-align: center; font-weight: 600; }
.property-map-popup a:hover { background: #45463e; }
.property-map-bottom { padding: .9rem 1rem; display: flex; justify-content: flex-end; font-size: .875rem; }
.property-map-list summary { cursor: pointer; font-weight: 600; text-align: right; min-height: 32px; }
.property-map-list ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.property-map-list li + li { border-top: 1px solid #ddd; }
.property-map-list a { display: block; padding: .7rem 0; font-weight: 600; }
.property-map-list a:hover { text-decoration: underline; }
.property-map-list span { display: block; color: #606159; font-weight: 400; margin-top: .15rem; }
.property-map-provider-note { color: #66665f; font-size: .75rem; margin: .7rem 0 0; }
@media (max-width: 700px) {
  .property-map-heading { align-items: start; flex-direction: column; gap: 1.25rem; }
  .property-map-canvas-wrap { height: 410px; }
  .property-map-toolbar { padding: .75rem; }
  .property-map-filters { gap: .4rem; }
  .property-map-filters .property-map-filter { font-size: .875rem; padding: .5rem .65rem; }
  .property-map-list summary { text-align: left; }
  .map-overview-button { right: 10px; top: 10px; padding: .6rem .7rem; }
}

/* WordPress data controls use the same geometry as their Site counterparts. */
.reference-brand-nav button { border-top:1px solid var(--line-light);border-left:1px solid var(--line-light);padding:1rem 1.2rem;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer; }
.reference-brand-nav button:last-child { border-right:1px solid var(--line-light); }
.reference-brand-nav button:hover,.reference-brand-nav button.is-active { background:var(--ink);color:white; }
.hero-panel:only-child { grid-column:1/-1; }
dialog.gallery-dialog { margin:auto;position:fixed;inset:0; }
dialog.gallery-dialog::backdrop { background:rgb(0 0 0 / .5); }
body:has(dialog[open]) { overflow:hidden; }
@media(max-width:620px) { .reference-brand-nav button { width:100%;border-right:1px solid var(--line-light);border-bottom:1px solid var(--line-light); } }

.quick-card > svg,.project-copy > svg {stroke-width:1.5;}
.location-marker > svg {stroke-width:1.2;}
