:root {
  color-scheme: dark;
  --accent: #f39858;
  --accent-text: #a43612;
  --background: #111719;
  --line: #ffffff32;
  --rail: #111719;
}
body { background: var(--background); color: #fbf8f4; }
.site { min-height: 100svh; }
.lot-top, .lot-rail { background: var(--rail); }
.lot-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: .35rem clamp(1rem, 5vw, 5rem);
  min-height: 6.5rem; border-bottom: 1px solid var(--line);
  background: linear-gradient(102deg, #fff 0, #f5f8fc 12rem, #bac7d7 16rem, #364453 22rem, var(--rail) 30rem);
}
.lot-brand { display: block; width: 9rem; height: 6rem; position: relative; overflow: hidden; }
.lot-brand img { height: 7.7rem; width: 7.7rem; max-width: none; object-fit: contain; position: absolute; left: 0; top: -.85rem; }
.lot-contact, .lot-secondary { color: #fff; border-color: #ffffff70; background: #15191ac9; }
.lot-contact { min-height: 2.7rem; padding-inline: 1.35rem; }
.lot-contact:hover, .lot-secondary:hover { border-color: var(--accent); }
.lot-stage { position: relative; isolation: isolate; min-width: 0; outline: none; }
.lot-background, .lot-shade, .lot-background > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.lot-background, .lot-shade { pointer-events: none; }
.lot-background { z-index: -2; background: #27343a; }
.lot-background :is(img,video) { object-fit: cover; }
.lot-stage[data-chapter="kontakt"] .lot-photo { object-position: 70% center; }
.lot-films video { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; }
.lot-films video.is-visible { visibility: visible; }
.lot-shade { z-index: -1; background: linear-gradient(0deg,#12171be6, #12171b23 46%, #12171b06); }
.lot-shade::before, .lot-shade::after { content: ""; position: absolute; inset: 0; transition: opacity .6s; }
.lot-shade::before { background: linear-gradient(90deg, #10161af5 0%, #10161ada 24%, #10161a55 49%, transparent 77%); }
.lot-shade::after { background: linear-gradient(270deg, #10161af5 0%, #10161ada 24%, #10161a4a 51%, transparent 77%); opacity: 0; }
.lot-stage[data-side="right"] .lot-shade::before { opacity: 0; }
.lot-stage[data-side="right"] .lot-shade::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .lot-shade::before, .lot-shade::after { transition: none; }
}
.lot-panels { min-height: 0; }
.lot-panel {
  min-width: 0; display: grid; align-content: end; justify-items: start;
  padding: clamp(1.2rem, 4.5vh, 4.7rem) clamp(1rem, 5vw, 5rem);
}
.lot-panel.lot-right { justify-items: end; }
.lot-copy { width: min(100%, 36rem); }
.lot-kicker { color: #ffc496; font: 700 .88rem/1.3 var(--display); letter-spacing: .09em; text-transform: uppercase; margin: 0 0 .9rem; }
.lot-copy h1, .lot-copy h2 { color: #fffaf3; font-size: clamp(3rem, 6.5vw, 7rem); letter-spacing: -.075em; line-height: .93; text-wrap: unset; }
.lot-copy h2 { font-size: clamp(2.7rem, 5.2vw, 5.55rem); }
.lot-copy :is(h1,h2) span { color: var(--accent); }
.lot-copy > p:not(.lot-kicker) { max-width: 31rem; margin-top: 1rem; font-size: clamp(1rem, 1.35vw, 1.15rem); color: #f1eae3; }
.lot-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.35rem; }
.lot-actions .button { min-height: 2.85rem; }
.lot-rail { position: relative; z-index: 1; padding: .55rem clamp(1rem, 5vw, 5rem) .65rem; border-top: 1px solid var(--line); }
.lot-instruction { color: #e6d6cd; font-size: .88rem; margin: 0 0 .45rem; }
.lot-nav {
  --track-y: .68rem;
  --track-color: #7e817e;
  --cap-height: 2.9rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: var(--cap-height);
}
.lot-nav a {
  --segment: var(--track-color);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  padding: .36rem .12rem 0;
  color: #eee5dc;
  text-align: center;
  text-decoration: none;
  font: 650 .93rem/1.15 var(--display);
}
.lot-nav a[data-passed] { --segment: var(--accent); }
.lot-nav a:not(:last-child)::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: var(--track-y);
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--segment);
}
.lot-nav a:is(:hover,[aria-current]) { color: #ffb17c; }
.lot-stop {
  position: relative;
  z-index: 1;
  width: .75rem;
  height: .75rem;
  flex: none;
  border: 2px solid #a4a7a2;
  border-radius: 50%;
  background: var(--rail);
}
.lot-nav a[data-passed] .lot-stop { border-color: var(--accent); }
.lot-nav a[aria-current] .lot-stop {
  background: var(--accent);
  border-color: #ffd1ac;
  box-shadow: 0 0 0 4px #f398583b;
}
.lot-nav a:hover .lot-stop { border-color: #ffd1ac; }
.lot-stop-label { position: relative; z-index: 1; }
.lot-projects { width: min(100%, 35rem); }
.project-list { margin-top: .8rem; overflow: hidden; border: 1px solid var(--line); background: #162024df; }
.project-list details + details { border-top: 1px solid var(--line); }
.project-list summary { cursor: pointer; padding: .5rem .75rem; font-weight: 650; }
.project-list details[open] summary { color: #ffc496; }
.project-list img { width: 100%; height: clamp(4.4rem,14vh,9rem); object-fit: cover; object-position: center 42%; }
.project-list p { padding: .55rem .75rem; line-height: 1.36; font-size: .94rem; }
.lot-address { display: grid; justify-items: start; gap: .25rem; margin-top: .8rem; }
.lot-address a { color: #ffdbbd; font-weight: 650; overflow-wrap: anywhere; }
.lot-address address { color: #f1eae3; }
#inquiry-dialog, #inquiry-preview { color-scheme: light; }
#inquiry-dialog .inquiry { border: 0; padding: 0; background: transparent; }
#inquiry-dialog .inquiry h3 { padding-right: 2.8rem; }
#inquiry-status { color: #25463c; margin-block: 0; }
#inquiry-status[data-error] { color: #902e25; }

.is-deck { overflow: hidden; overscroll-behavior: none; }
.is-deck .site { height: 100dvh; display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: clip; }
.is-deck .lot-stage { min-height: 0; overflow: hidden; touch-action: pan-x; }
.is-deck .lot-panels { height: 100%; display: grid; }
.is-deck .lot-panel { grid-area: 1 / 1; min-height: 0; opacity: 1; }
.is-deck .lot-panel[inert] { opacity: 0; pointer-events: none; }
.is-deck .lot-panel:not([inert]) { z-index: 1; }
.is-deck .lot-panel[inert] .lot-copy { visibility: hidden; }

@media (max-width: 730px) {
  .lot-top { min-height: 4.6rem; }
  .lot-brand { height: 4rem; }
  .lot-background { height: 100%; }
  .lot-background :is(img,video), .lot-stage[data-chapter="kontakt"] .lot-photo { object-fit: contain; object-position: center 18%; }
  .lot-shade { background: linear-gradient(0deg,#111719 6%,#111719ed 31%,#11171978 62%,transparent 87%); }
  .lot-shade::before, .lot-shade::after { display: none; }
  .lot-kicker { font-size: .78rem; margin-bottom: .52rem; }
  .lot-copy h1 { font-size: clamp(2.7rem, 10.5vw, 4rem); }
  .lot-copy h2 { font-size: clamp(2.35rem, 9.5vw, 3.6rem); }
  .lot-copy > p:not(.lot-kicker) { margin-top: .7rem; line-height: 1.4; }
  .lot-actions { margin-top: .8rem; }
  .lot-nav {
    --cap-height: 2.45rem;
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .lot-nav a {
    gap: .39rem;
    font-size: clamp(.7rem, 2.9vw, .9rem);
  }
  .lot-nav a:nth-child(4)::before {
    width: .94rem;
    height: calc(var(--cap-height) + 2px);
    border: 2px solid var(--segment);
    border-left: 0;
    border-radius: 0 .8rem .8rem 0;
    background: none;
  }
  .lot-nav a:nth-child(5) { grid-area: 2 / 4; }
  .lot-nav a:nth-child(6) { grid-area: 2 / 3; }
  .lot-nav a:nth-child(7) { grid-area: 2 / 2; }
  .lot-nav a:is(:nth-child(5), :nth-child(6))::before {
    left: auto;
    right: 50%;
  }
  .lot-instruction { font-size: .8rem; }
  .lot-panel { justify-items: start; }
}
@media (max-height: 615px) {
  .lot-top { min-height: 3.65rem; }
  .lot-brand { height: 3.2rem; }
  .lot-panel { padding-block: .65rem; }
  .lot-copy h1, .lot-copy h2 { font-size: clamp(1.65rem, 5.25vh, 3rem); }
  .lot-copy > p:not(.lot-kicker) { margin-top: .4rem; }
  .lot-kicker { margin-bottom: .35rem; }
  .lot-actions { margin-top: .5rem; }
  .lot-actions .button { min-height: 2.25rem; padding-block: .24rem; }
  .project-list img { height: clamp(2.8rem,10vh,6rem); }
}
@media (max-height: 420px) {
  .is-deck .lot-panel:not([inert]) .lot-copy { max-height: 100%; overflow: auto; overscroll-behavior: contain; }
}

/* Warm interface accents complement the original blue logo. */
.button-primary { background: var(--accent); color: #20120e; border-color: var(--accent); }
.button-primary:hover { background: #ffb17c; border-color: #ffb17c; }
@media (max-width: 730px) {
  .lot-top { background: linear-gradient(102deg,#fff 0,#f5f8fc 5.8rem,#c3cfde 8.8rem,#3a4858 12.8rem,var(--rail) 17rem); }
  .lot-brand { width: 6rem; height: 4.5rem; }
}
@media (max-height: 615px) {
  .lot-brand { height: 3.2rem; }
}

@media (max-width: 730px) { .lot-brand img { width: 5.75rem; height: 5.75rem; top: -.65rem; } }
@media (max-height: 615px) { .lot-brand img { width: 4.2rem; height: 4.2rem; top: -.5rem; } }
