:root {
  --ink: #172027;
  --charcoal: #121a20;
  --muted: #65737f;
  --paper: #f6f3ed;
  --white: #ffffff;
  --line: #dfd9ce;
  --terracotta: #a84d38;
  --terracotta-dark: #743025;
  --sky: #2e86b7;
  --bronze: #9f8054;
  --bronze-soft: #d8c199;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 22px 60px rgba(23, 32, 39, 0.14);
  --shadow-soft: 0 14px 38px rgba(23, 32, 39, 0.09);
  --section-space: clamp(3.5rem, 6vw, 6rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(168, 77, 56, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(46, 134, 183, 0.14), transparent 28rem),
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 52%, #fbfaf7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(23, 32, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 39, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

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

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

button {
  font: inherit;
}

.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;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  padding-inline: 16px;
  pointer-events: none;
}

.nav {
  width: min(1240px, 100%);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0 10px 0 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(23, 32, 39, 0.1);
  backdrop-filter: blur(20px);
  pointer-events: auto;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding-left: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--terracotta), var(--bronze-soft));
  transform: translateY(-50%);
}

.brand strong {
  color: var(--terracotta-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-menu a {
  position: relative;
  padding: 10px 11px;
  color: rgba(23, 32, 39, 0.68);
  font-size: 0.9rem;
  font-weight: 760;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terracotta), var(--bronze-soft));
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-picker {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
}

.language-trigger svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  min-width: 168px;
  display: none;
  gap: 4px;
  border: 1px solid rgba(223, 217, 206, 0.95);
  border-radius: 14px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.language-picker.is-open .language-menu {
  display: grid;
}

.language-menu button {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  padding: 9px 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 820;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.is-active {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(168, 77, 56, 0.11), rgba(159, 128, 84, 0.12));
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

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

.showcase {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  padding: clamp(3.65rem, 5vw, 4.25rem) clamp(0.9rem, 2vw, 1.35rem) clamp(0.85rem, 1.6vw, 1.1rem);
  background:
    linear-gradient(135deg, rgba(168, 77, 56, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.52));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 1.8rem);
}

.hero-copy {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  padding: clamp(1.15rem, 2vw, 1.65rem);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(23, 32, 39, 0.1);
  backdrop-filter: blur(18px);
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 15.5ch;
  color: var(--ink);
  font-size: clamp(2.25rem, 3.25vw, 3.25rem);
  font-weight: 950;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 920;
}

h3 {
  font-size: 1.03rem;
}

.hero-subtitle {
  max-width: 660px;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
}

.price-block {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.85rem;
}

.price-block span {
  color: var(--bronze);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-block strong {
  color: var(--ink);
  font-size: clamp(1.62rem, 2.35vw, 2.05rem);
  line-height: 1;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0.85rem;
}

.quick-stats > span {
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 0.56rem 0.62rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66));
  box-shadow: 0 10px 30px rgba(23, 32, 39, 0.06);
}

.quick-stats > span:nth-child(4),
.quick-stats > span:nth-child(5) {
  grid-column: auto;
}

.quick-stats strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.quick-stats small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 780;
  line-height: 1.12;
}

.quick-stats > span:nth-child(3) small {
  font-size: 0.52rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  cursor: pointer;
  font-weight: 860;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #b9573f, var(--terracotta-dark));
  box-shadow: 0 16px 36px rgba(116, 48, 37, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
}

.hero-media {
  position: relative;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  overflow: hidden;
  width: 100%;
  max-height: 330px;
  aspect-ratio: 16 / 9.4;
  background: linear-gradient(135deg, rgba(18, 26, 32, 0.9), rgba(116, 48, 37, 0.78));
  box-shadow: 0 30px 88px rgba(23, 32, 39, 0.2);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -8% -8% auto auto;
  width: 54%;
  height: 54%;
  border-radius: 50%;
  background: rgba(46, 134, 183, 0.16);
  pointer-events: none;
}

.hero-media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-section,
.section,
.closing,
.site-footer {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.photo-section {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  padding: clamp(0.75rem, 1.45vw, 1rem);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 34px rgba(23, 32, 39, 0.08);
  backdrop-filter: blur(16px);
  scroll-margin-top: 6rem;
}

.photo-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.photo-heading .kicker {
  margin-bottom: 0.25rem;
}

.photo-heading h2 {
  font-size: clamp(1.35rem, 2vw, 1.78rem);
}

.photo-actions {
  display: flex;
  gap: 0.45rem;
}

.gallery-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 32, 39, 0.08);
}

.gallery-arrow span {
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-1px);
}

.photo-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(92px, 108px));
  grid-auto-columns: minmax(205px, 19.5%);
  gap: 0.65rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.25rem;
  padding: 0.15rem 0.15rem 0.65rem;
  scrollbar-width: thin;
}

.photo-card {
  height: 100%;
  border: 5px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  overflow: hidden;
  background: #d8dee1;
  box-shadow: 0 18px 42px rgba(23, 32, 39, 0.13);
  scroll-snap-align: start;
  cursor: pointer;
}

.photo-card.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

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

.photo-card:hover img,
.photo-card:focus-visible img {
  transform: scale(1.035);
}

.expand-photos {
  min-height: 44px;
  border: 1px solid rgba(168, 77, 56, 0.28);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--terracotta-dark);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-weight: 880;
}

.section {
  padding: var(--section-space) 0 0;
  scroll-margin-top: 6rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading.compact {
  margin-bottom: 1.25rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.highlight-grid article {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68));
  box-shadow: var(--shadow-soft);
}

.highlight-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  fill: none;
  stroke: var(--terracotta);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.highlight-grid p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.location-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.location-ribbon span {
  border: 1px solid rgba(159, 128, 84, 0.28);
  border-radius: 999px;
  padding: 0.52rem 0.75rem;
  color: #5d4b34;
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 820;
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.overview-copy,
.detail-panel,
.location-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.overview-copy {
  padding: clamp(1.35rem, 3vw, 2.2rem);
}

.overview-copy > p {
  color: var(--muted);
  font-size: 1.04rem;
}

.project-callout {
  margin-top: 1.35rem;
  border-left: 4px solid var(--terracotta);
  border-radius: 0 16px 16px 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(168, 77, 56, 0.1), rgba(159, 128, 84, 0.09));
}

.project-callout p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.detail-panel {
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
}

.technical-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1rem 0 0;
}

.technical-list div {
  border-top: 1px solid rgba(223, 217, 206, 0.85);
  padding: 0.78rem 0.85rem 0.78rem 0;
}

.technical-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 880;
  text-transform: uppercase;
}

.technical-list dd {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.35;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: var(--section-space) 0 0;
  scroll-margin-top: 6rem;
}

.location-card,
.contact-card {
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.location-card {
  background:
    linear-gradient(135deg, rgba(46, 134, 183, 0.13), transparent 46%),
    rgba(255, 255, 255, 0.72);
}

.location-card p,
.contact-card p {
  color: var(--muted);
}

.contact-card {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(46, 134, 183, 0.28), transparent 42%),
    linear-gradient(145deg, var(--terracotta-dark), #351815);
}

.contact-card .kicker,
.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card .button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 12, 16, 0.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  width: min(1080px, 100%);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 16px;
  background: #10151a;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.lightbox-close {
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  font-size: 1.8rem;
}

.lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.5rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

#lightbox-caption,
.lightbox-counter {
  margin: 0.65rem 0 0;
  color: var(--white);
  text-align: center;
}

.lightbox-counter {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .hero,
  .overview,
  .closing {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 0;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
    max-width: 820px;
    max-height: 340px;
    justify-self: center;
  }

  .quick-stats,
  .highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-stats > span,
  .quick-stats > span:nth-child(4),
  .quick-stats > span:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 8px;
    padding-inline: 9px;
  }

  .nav {
    min-height: 58px;
    padding-left: 14px;
  }

  .brand-street {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 66px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 0.8rem;
  }

  .language-menu {
    right: -50px;
  }

  .showcase {
    width: min(100% - 24px, 760px);
    padding-top: 4.6rem;
    border-radius: 24px;
  }

  .hero {
    width: 100%;
    padding-top: 0;
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(2.35rem, 10.6vw, 3.7rem);
  }

  .hero-media {
    max-height: 310px;
  }

  .section,
  .closing,
  .site-footer {
    width: min(100% - 24px, 1240px);
  }

  .photo-section {
    width: 100%;
  }

  .photo-heading {
    align-items: start;
  }

  .photo-actions {
    display: none;
  }

  .photo-scroller {
    grid-template-rows: none;
    grid-auto-columns: minmax(245px, 78%);
  }

  .photo-card.is-featured {
    grid-column: span 1;
    grid-row: span 1;
  }

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

@media (max-width: 560px) {
  .brand {
    gap: 5px;
  }

  .showcase {
    padding-top: 4.1rem;
  }

  h1 {
    max-width: 14.5ch;
    font-size: clamp(2.05rem, 9vw, 2.75rem);
  }

  .hero-subtitle {
    margin-top: 0.7rem;
    font-size: 0.96rem;
  }

  .language-trigger {
    min-height: 38px;
    padding: 8px 10px;
  }

  .language-trigger svg {
    width: 16px;
    height: 16px;
  }

  .hero-copy,
  .photo-section,
  .overview-copy,
  .detail-panel,
  .location-card,
  .contact-card {
    border-radius: 20px;
  }

  .hero-media {
    border-width: 5px;
    border-radius: 20px;
    max-height: 275px;
  }

  .highlight-grid,
  .technical-list {
    grid-template-columns: 1fr;
  }

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

  .quick-stats > span,
  .quick-stats > span:nth-child(4),
  .quick-stats > span:nth-child(5) {
    grid-column: span 1;
  }

  .quick-stats > span:nth-child(5) {
    grid-column: span 2;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .photo-scroller {
    grid-template-rows: none;
    grid-auto-columns: minmax(230px, 84%);
  }

  .photo-card {
    height: 240px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
}
