/* Pillér Stúdió — site styles. Palette and type taken from the studio's own layout (piller_web.pdf):
   lavender-grey ground #dcd8e0, charcoal bars #4e4e56, Open Sans Semibold caps. */
:root {
  --bg: #dcd8e0;
  --bg-2: #d2ced7;
  --paper: #ebe8ee;
  --ink: #4e4e56;
  --ink-2: #3a3a41;
  --text: #45454c;
  --muted: #7a7882;
  --line: #b9b5bf;
  --warm: #b8833e;          /* shingle-wood ochre, used sparingly */
  --warm-soft: #e9d9bf;
  --bar-h: 34px;
  --gap: 20px;
  --wrap: 1180px;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- print crop marks (nod to the original layout sheet) ---------- */
.cropmarks { position: fixed; inset: 14px; pointer-events: none; z-index: 1; }
.cropmarks i { position: absolute; width: 22px; height: 22px; }
.cropmarks i::before, .cropmarks i::after { content: ""; position: absolute; background: var(--ink); opacity: .35; }
.cropmarks i::before { width: 22px; height: 1px; }
.cropmarks i::after { width: 1px; height: 22px; }
.cropmarks i:nth-child(1) { left: 0; top: 0; }
.cropmarks i:nth-child(1)::before { top: 0; left: -10px } .cropmarks i:nth-child(1)::after { left: 0; top: -10px }
.cropmarks i:nth-child(2) { right: 0; top: 0; }
.cropmarks i:nth-child(2)::before { top: 0; right: -10px } .cropmarks i:nth-child(2)::after { right: 0; top: -10px }
.cropmarks i:nth-child(3) { left: 0; bottom: 0; }
.cropmarks i:nth-child(3)::before { bottom: 0; left: -10px } .cropmarks i:nth-child(3)::after { left: 0; bottom: -10px }
.cropmarks i:nth-child(4) { right: 0; bottom: 0; }
.cropmarks i:nth-child(4)::before { bottom: 0; right: -10px } .cropmarks i:nth-child(4)::after { right: 0; bottom: -10px }
@media (max-width: 700px) { .cropmarks { display: none; } }

/* ---------- header ---------- */
.site-head { padding-top: clamp(28px, 7vh, 84px); position: relative; z-index: 5; }
.site-head .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.logo { display: block; width: 104px; color: var(--ink); text-decoration: none; }
.logo svg { width: 100%; height: auto; display: block; }
.logo .roof { transform-origin: 50% 100%; }
.head-tools { display: flex; align-items: center; gap: 18px; padding-bottom: 4px; }
.nav { display: flex; gap: 22px; }
.nav a, .langs a {
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); opacity: .75; padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a.on { opacity: 1; border-color: var(--ink); }
.langs { display: flex; gap: 10px; padding-left: 16px; border-left: 1px solid var(--line); }
.langs a { font-size: 11px; opacity: .55; }
.langs a.on { opacity: 1; }
.icon-btn {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; padding: 0;
  background: none; color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav, .langs { display: none; }
  .menu-btn { display: inline-grid; }
}

/* search drawer */
.searchbar { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.searchbar.open { max-height: 90px; }
.searchbar form { display: flex; gap: 0; margin-top: 18px; }
.searchbar input {
  flex: 1; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 2px;
  font: 400 18px var(--sans); color: var(--ink-2);
}
.searchbar input:focus { outline: none; border-bottom-width: 2px; }

/* mobile menu */
.drawer {
  position: fixed; inset: 0; z-index: 50; background: var(--ink); color: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: 40px 28px;
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.7,0,.2,1);
}
.drawer.open { transform: none; }
.drawer a { color: var(--bg); text-decoration: none; font: 600 26px/1.9 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.drawer .langs { border: 0; padding: 24px 0 0; display: flex; }
.drawer .langs a { color: var(--bg); font-size: 14px; }
.drawer .close { position: absolute; top: 22px; right: 22px; color: var(--bg); }

/* ---------- the "bar" — charcoal label strip from the layout ---------- */
.bar {
  height: var(--bar-h); background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: flex-end; padding: 0 16px;
  font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden;
}
.bar .count { margin-right: auto; opacity: .55; font-weight: 400; letter-spacing: .05em; }

/* ---------- home: the four tall panels ---------- */
.home-main { padding-top: 24px; }
.panels { display: flex; gap: var(--gap); height: clamp(380px, 56vh, 560px); }
.panel {
  flex: 1 1 0; display: flex; flex-direction: column; text-decoration: none; min-width: 0;
  transition: flex-grow .6s cubic-bezier(.3,.7,.2,1);
}
.panel:hover, .panel:focus-visible { flex-grow: 1.45; }
.panel .bar { transition: background .3s; }
.panel:hover .bar { background: var(--ink-2); }
.panel .pic { position: relative; flex: 1; overflow: hidden; background: var(--bg-2); }
.panel .pic img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease, transform 8s linear, filter .6s ease;
  transform: scale(1.06);
}
.panel .pic img.on { opacity: 1; transform: scale(1); }
.panel--media .pic img { filter: grayscale(1) contrast(1.05); }
.panel:hover .pic img { filter: none; }
.panel .pic .hint {
  position: absolute; left: 18px; bottom: 16px; right: 18px; color: #fff;
  font: 600 12px/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.45); opacity: 0; transform: translateY(6px); transition: .4s;
}
.panel:hover .pic .hint { opacity: 1; transform: none; }
.panel--contact .pic { background: #fff; }
.home-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 16px; }
.home-foot .tag { font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 760px) {
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; }
  .panel .pic { height: 46vw; min-height: 170px; }
  .panel:hover { flex-grow: 0; }
}

/* social */
.social { display: flex; gap: 12px; }
.social a { width: 20px; height: 20px; color: var(--ink); opacity: .85; display: grid; place-items: center; }
.social a:hover { opacity: 1; color: var(--ink-2); }
.social svg { width: 20px; height: 20px; }

/* ---------- home: below the fold ---------- */
.heritage { margin-top: clamp(70px, 12vh, 140px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.heritage .quote {
  font: italic 500 clamp(24px, 3vw, 36px)/1.25 var(--serif); color: var(--ink-2); margin: 0;
}
.heritage .quote::before { content: "„"; }
.heritage .quote::after { content: "”"; }
.heritage .who { margin-top: 14px; font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.heritage figure { margin: 0; position: relative; }
.heritage figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.heritage figure figcaption { position: absolute; right: 0; bottom: -28px; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .heritage { grid-template-columns: 1fr; gap: 28px; } }

.section-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: clamp(64px, 10vh, 110px) 0 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.section-title h2 { margin: 0; font: 600 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.section-title a { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.section-title a:hover { color: var(--ink); }

/* project cards (tall, with bar on top — same language as the home panels) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--gap); }
.card { text-decoration: none; display: flex; flex-direction: column; }
.card .bar { font-size: 12px; justify-content: flex-start; }
.card .bar span { overflow: hidden; text-overflow: ellipsis; }
.card .pic { aspect-ratio: 3/4; overflow: hidden; background: var(--bg-2); position: relative; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s; filter: saturate(.85); }
.card:hover .pic img { transform: scale(1.045); filter: none; }
.card .meta { padding: 9px 2px 0; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.card .meta b { font-weight: 600; color: var(--text); }
.card .badge {
  position: absolute; top: 10px; right: 10px; background: rgba(235,232,238,.92); color: var(--ink);
  font: 600 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px;
}
.cards--wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---------- inner pages ---------- */
.page { padding: 24px 0 40px; min-height: 60vh; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin: 0; font: 600 13px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.page-head .lead { margin: 6px 0 0; color: var(--muted); max-width: 620px; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters a {
  text-decoration: none; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 12px; border: 1px solid var(--line); color: var(--ink);
}
.filters a sup { opacity: .55; margin-left: 3px; font-weight: 400; }
.filters a.on, .filters a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* project detail — layout from page 3 of the design */
.proj > * { min-width: 0; }
.proj { display: grid; grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); gap: var(--gap); align-items: start; }
.stage { position: relative; background: var(--bg-2); aspect-ratio: 3/2; overflow: hidden; cursor: zoom-in; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.stage img.contain { object-fit: contain; background: var(--paper); }
.stage img.on { opacity: 1; }
.stage-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 12px; }
.stage-nav .counter { font: 600 11px var(--sans); letter-spacing: .14em; color: var(--muted); }
.arrows { display: flex; gap: 6px; }
.arrows button { width: 34px; height: 30px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.arrows button svg { width: 22px; height: 22px; }
.arrows button:hover { color: var(--warm); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: thin; }
.thumbs button { flex: 0 0 auto; width: 86px; height: 62px; padding: 0; border: 0; cursor: pointer; opacity: .55; background: var(--bg-2); transition: opacity .2s; }
.thumbs button.on, .thumbs button:hover { opacity: 1; outline: 2px solid var(--ink); outline-offset: -2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.sheet { border: 1px solid var(--ink); background: transparent; display: flex; flex-direction: column; min-height: 100%; }
.sheet .bar { white-space: normal; height: auto; min-height: var(--bar-h); padding: 9px 16px; line-height: 1.3; text-align: right; }
.sheet .body { padding: 18px 18px 22px; text-align: right; font-size: 14px; line-height: 1.7; }
.sheet .body p { margin: 0 0 1em; }
.facts { margin: 0; padding: 14px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; text-align: right; }
.facts dt { font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.credits { white-space: pre-line; font-size: 12.5px !important; line-height: 1.55; }
.proj .back { display: inline-block; margin-top: 14px; font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.proj .back:hover { color: var(--ink); }
.proj-pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 44px; }
.proj-pager a { text-decoration: none; border-top: 1px solid var(--ink); padding-top: 10px; }
.proj-pager small { display: block; font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.proj-pager span { font-weight: 600; color: var(--ink-2); }
.proj-pager a:last-child { text-align: right; }
@media (max-width: 900px) {
  .proj { grid-template-columns: 1fr; }
  .sheet .body, .facts, .sheet .bar { text-align: left; }
  .sheet .bar { justify-content: flex-start; }
}

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(36,36,41,.96); display: none; }
.lb.open { display: block; }
.lb img { position: absolute; inset: 56px 64px; width: calc(100% - 128px); height: calc(100% - 112px); object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: #e8e5ec; cursor: pointer; width: 54px; height: 54px; display: grid; place-items: center; }
.lb button svg { width: 28px; height: 28px; }
.lb .x { top: 8px; right: 8px; }
.lb .l { left: 6px; top: 50%; transform: translateY(-50%); }
.lb .r { right: 6px; top: 50%; transform: translateY(-50%); }
.lb .cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #bdb9c4; font-size: 13px; }
@media (max-width: 700px) { .lb img { inset: 50px 8px; width: calc(100% - 16px); height: calc(100% - 100px); } }

/* studio — page 2 of the design */
.studio-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gap); align-items: stretch; }
.studio-grid .portrait { background: #f3f2f0; position: relative; overflow: hidden; min-height: 420px; }
.studio-grid .portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.studio-grid .portrait figcaption { position: absolute; left: 16px; bottom: 12px; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.timeline { margin: 6px 0 0; padding: 0; list-style: none; }
.timeline li { margin-bottom: 12px; }
.timeline b { display: block; font-weight: 600; color: var(--ink-2); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 60px; }
.values div { border-top: 1px solid var(--ink); padding-top: 14px; }
.values h3 { margin: 0 0 6px; font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.values p { margin: 0; font-size: 14px; }
.values .n { font: 500 40px/1 var(--serif); color: var(--warm); display: block; margin-bottom: 8px; }
@media (max-width: 900px) {
  .studio-grid { grid-template-columns: 1fr 1fr; }
  .studio-grid .portrait { grid-column: 1 / -1; min-height: 300px; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .studio-grid { grid-template-columns: 1fr; } }

/* media */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px var(--gap); }
.article-card { text-decoration: none; display: flex; flex-direction: column; }
.article-card .pic { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.article-card .pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s, transform 1s; }
.article-card:hover .pic img { filter: none; transform: scale(1.03); }
.article-card .k { margin-top: 12px; font: 600 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--warm); }
.article-card h3 { margin: 4px 0 6px; font: 500 23px/1.2 var(--serif); color: var(--ink-2); }
.article-card p { margin: 0; font-size: 14px; color: var(--muted); }
.article-card time { font-size: 12px; color: var(--muted); }

.prose { max-width: 700px; }
.prose h1 { font: 500 clamp(30px, 4vw, 44px)/1.12 var(--serif); color: var(--ink-2); margin: 6px 0 16px; letter-spacing: 0; text-transform: none; }
.prose p { margin: 0 0 1.1em; font-size: 16.5px; line-height: 1.75; }
.prose .k { font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--warm); }
.prose figure { margin: 24px 0; }
.prose blockquote { margin: 26px 0; padding-left: 20px; border-left: 2px solid var(--warm); font: italic 500 24px/1.35 var(--serif); color: var(--ink-2); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--bg); border: 0; padding: 12px 18px;
  font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.btn:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: var(--gap); }
.contact-grid .sheet { min-height: 380px; }
.contact-grid .span2 { grid-column: span 2; }
.contact-grid .map { grid-column: span 2; min-height: 380px; background: var(--bg-2); position: relative; }
.contact-grid .map iframe, .map-full { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.95); }
.contact-lines { list-style: none; padding: 0; margin: 0; }
.contact-lines li { margin-bottom: 14px; }
.contact-lines small { display: block; font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-lines a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 4px; font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; }
.form input, .form textarea {
  font: 400 15px var(--sans); color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 10px 12px; width: 100%;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .hp { position: absolute; left: -9999px; }
.ok { background: var(--warm-soft); color: var(--ink-2); padding: 12px 14px; text-align: left; }
.err { color: #8a2c2c; font-size: 13px; text-align: left; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .span2, .contact-grid .map { grid-column: auto; }
  .contact-grid .sheet .body { text-align: left; }
}

/* map */
.map-wrap { height: min(72vh, 680px); background: var(--bg-2); position: relative; }
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.map-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.pin-wrap { display: grid; place-items: center; }
.pin { display: block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35);
  transition: transform .25s cubic-bezier(.3,1.6,.5,1), box-shadow .25s; cursor: pointer; }
.pin-wrap:hover .pin, .pin-wrap:focus .pin { transform: scale(1.45); box-shadow: 0 0 0 5px rgba(78,78,86,.18), 0 2px 6px rgba(0,0,0,.35); }
/* project card tooltip */
.leaflet-tooltip.proj-tip { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; white-space: normal; pointer-events: auto; }
.leaflet-tooltip.proj-tip::before { border-top-color: var(--ink); }
.tip-card { display: block; width: 240px; background: var(--paper); text-decoration: none; color: var(--text);
  box-shadow: 0 14px 34px -10px rgba(40,38,48,.45), 0 2px 6px rgba(40,38,48,.12); font-family: var(--sans);
  animation: tipIn .22s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tipIn { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.tip-img { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.tip-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tip-img em { position: absolute; top: 8px; right: 8px; font: normal 600 9.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: rgba(235,232,238,.92); color: var(--ink); padding: 5px 7px; }
.tip-bar { display: block; background: var(--ink); color: var(--bg); padding: 8px 12px; font: 600 11.5px/1.35 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.tip-meta { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px 4px; font-size: 12.5px; color: var(--muted); }
.tip-meta i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.tip-go { display: block; padding: 4px 12px 11px; font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.tip-card:hover .tip-go { color: var(--warm); }
.pin-pop { width: 210px; font-family: var(--sans); }
.pin-pop img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 8px; }
.pin-pop b { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.3; }
.pin-pop small { color: var(--muted); }
.leaflet-popup-content-wrapper { border-radius: 0 !important; }
.c-heritage { background: #b8833e; } .c-residential { background: #4e4e56; } .c-public { background: #6f8b8f; } .c-concept { background: #9a8fb0; }

/* search */
.results h2 { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 30px 0 14px; }
.big-search { display: flex; gap: 10px; max-width: 640px; }
.big-search input { flex: 1; font: 400 20px var(--sans); background: transparent; border: 0; border-bottom: 2px solid var(--ink); padding: 8px 2px; color: var(--ink-2); }
.big-search input:focus { outline: none; }

/* footer */
.site-foot { margin-top: 80px; padding: 26px 0 40px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.site-foot .addr { display: flex; gap: 18px; flex-wrap: wrap; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* logo draw-in on first load */
@keyframes rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.logo.anim svg { animation: rise 1.4s cubic-bezier(.6,0,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .panel .pic img.on { transform: none; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tiles-mono { filter: grayscale(1) contrast(.92) brightness(1.04); }
