/* KULT nekretnine */
:root {
  --bg: #F3EFE7;
  --bg-2: #EAE4D8;
  --paper: #FAF8F3;
  --ink: #24251F;
  --ink-2: #45463D;
  --muted: #6B685C;
  --line: #D5CEC0;
  --olive: #66664A;
  --wood: #8A6845;
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; margin-top: 56px; }

/* type */
.eyebrow { margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.h1 { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
.h2 { margin: 10px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -.005em; text-wrap: balance; }
.lead { margin: 0; font-family: var(--serif); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.label-h { margin: 0 0 18px; font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.prose { max-width: 62ch; color: var(--ink-2); }
.prose p { margin: 0 0 1.1em; }
.legal { max-width: 72ch; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--ink); margin: 2.2em 0 .6em; }
.legal ul { margin: 0 0 1.1em; padding-left: 1.1em; }
.legal li { margin: 0 0 .5em; }
.legal a { text-underline-offset: 3px; }
.legal strong { font-weight: 500; color: var(--ink); }
.legal-date { margin-top: 2.4em; font-size: 14px; color: var(--muted); }
.form-note { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.form-note a { color: inherit; text-underline-offset: 3px; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-cookie-btn { position: static; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-cookie-btn:hover { color: #fff; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.2; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 2em 0 .6em; }
.prose h3 { font-size: 22px; margin: 1.6em 0 .5em; }
.prose a { text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmplz-placeholder-element.cmplz-iframe { filter: grayscale(1) sepia(.15) contrast(.92); }

/* buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 30px; font: inherit; font-size: 12.5px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid var(--ink); border-radius: 0; transition: background .2s, color .2s, border-color .2s; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--olive); border-color: var(--olive); }
.link-arrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 12px 0; border-bottom: 1px solid currentColor; }
.link-arrow span { transition: transform .25s; }
.link-arrow:hover span { transform: translateX(5px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav-open .site-header::before { background: var(--bg); }
.nav-open .site-header { border-bottom-color: var(--line); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.logo-mark { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: .34em; margin-right: -.34em; }
.logo-sub { font-family: var(--sans); font-size: 9.5px; font-weight: 400; letter-spacing: .48em; margin-right: -.48em; text-transform: uppercase; margin-top: 7px; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav a { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 10px 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: currentColor; transition: right .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: .24em; }
.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; position: relative; margin-right: -10px; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 20px; }
.nav-toggle span:last-child { top: 28px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }

/* hero */
.hero-img { width: 100%; height: min(78vh, 860px); min-height: 420px; overflow: hidden; background: var(--bg-2); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-caption { display: flex; align-items: center; gap: 18px; padding-top: 22px; }
.rule { width: 44px; height: 1px; background: var(--ink); }

/* sections */
.section { padding-top: clamp(88px, 11vw, 160px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; margin-bottom: 48px; }
.section-label { display: flex; align-items: center; gap: 18px; margin: 0 0 40px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.section-label::after { content: ''; flex: 0 0 56px; height: 1px; background: var(--line); }
.page-intro { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-intro .lead { margin-top: 28px; }

/* services strip */
.services-strip { padding-top: clamp(72px, 8vw, 110px); }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service { text-decoration: none; text-align: center; padding: 8px 28px; border-left: 1px solid var(--line); }
.service:first-child { border-left: 0; }
.service h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: .14em; text-transform: uppercase; }
.service p { margin: 12px auto 0; max-width: 22ch; color: var(--ink-2); font-size: 16px; }
.service:hover h3 { color: var(--olive); }

/* focus */
.focus-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.focus-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.focus-ph { overflow: hidden; display: block; background: var(--bg-2); }
.focus-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.focus-ph:hover img { transform: scale(1.025); }
.focus-ph-0 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.focus-ph-1, .focus-ph-2 { aspect-ratio: 4 / 3; }
.focus-text .lead { margin-top: 28px; }
.focus-price { margin: 28px 0 22px; font-family: var(--serif); font-size: 32px; }

.figures { list-style: none; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px 40px; }
.figures li { display: flex; flex-direction: column; }
.fig-v { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.fig-l { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* cards */
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 36px; }
.grid-collection { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px 48px; }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.grid-collection .card-img { aspect-ratio: 3 / 2; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card-img-alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img-alt { opacity: 1; }
  .card:hover .card-img img { transform: scale(1.02); }
}
.card-body { padding-top: 22px; }
.card-title { margin: 8px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-meta { font-size: 15px; color: var(--ink-2); }
.card-price { font-family: var(--serif); font-size: 22px; white-space: nowrap; }

.cats { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-bottom: 20px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.cats a { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 10px 0; }
.cats a:hover, .cats a[aria-current="page"] { color: var(--ink); }
.cats a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--ink); }
.empty { font-family: var(--serif); font-size: 24px; color: var(--ink-2); max-width: 40ch; }
.note-block { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); margin-top: 120px; padding-top: 48px; }

/* about teaser */
.about-teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; max-width: var(--max); margin-inline: auto; }
.about-img { min-height: 520px; overflow: hidden; background: var(--bg-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text { background: var(--paper); padding: clamp(40px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.about-text p:not(.eyebrow) { margin: 0 0 1em; color: var(--ink-2); max-width: 46ch; }
.about-text .h2 { margin-bottom: 28px; }
.about-text .link-arrow { align-self: flex-start; margin-top: 12px; }

/* contact */
.contact-min { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 40px 56px; align-items: end; border-top: 1px solid var(--line); margin-top: clamp(88px, 11vw, 160px); padding-top: 64px; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.contact-list dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact-name { margin: 0 0 28px; font-family: var(--serif); font-size: 28px; letter-spacing: .12em; text-transform: uppercase; }
.contact-page .agent { margin-top: 48px; }

.agent { display: flex; align-items: center; gap: 18px; margin: 32px 0; }
.agent-mark { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; flex: none; }
.agent-name { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.agent-role { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { font: inherit; font-weight: 300; font-size: 18px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; min-height: 48px; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--olive); box-shadow: 0 1px 0 var(--olive); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0 0 28px; padding: 16px 20px; font-size: 16px; border-left: 2px solid; }
.form-msg.ok { background: #E7E8DC; border-color: var(--olive); }
.form-msg.err { background: #F1E2D8; border-color: #8A3D20; color: #5C2814; }

/* property */
.prop-head { padding-top: 32px; padding-bottom: 40px; }
.back { display: inline-block; margin-bottom: 28px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 8px 0; }
.back:hover { color: var(--ink); }
.prop-hero { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.prop-hero a { display: block; overflow: hidden; background: var(--bg-2); aspect-ratio: 16 / 9; max-height: 82vh; width: 100%; }
.prop-hero img { width: 100%; height: 100%; object-fit: cover; }
.figures-row { margin-top: 40px; justify-content: space-between; gap: 24px 48px; border-top: 0; padding: 28px 0; border-bottom: 1px solid var(--line); }
.figures-row .fig-v { font-size: clamp(26px, 2.6vw, 36px); }
.prop-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); padding-top: 64px; }
.prop-text .lead { margin-bottom: 32px; max-width: 30ch; }
.data-table { margin: 0 0 40px; }
.data-table div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.data-table div:first-child { border-top: 1px solid var(--line); }
.data-table dt { color: var(--muted); }
.data-table dd { margin: 0; }
.extras { list-style: none; margin: 0; padding: 0; }
.extras li { padding: 10px 0 10px 22px; position: relative; border-bottom: 1px solid var(--line); font-size: 16px; }
.extras li::before { content: ''; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--wood); }

.prop-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 96px; }
.pg-item { display: block; overflow: hidden; background: var(--bg-2); aspect-ratio: 3 / 2; }
.pg-item:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pg-item:hover img { transform: scale(1.02); }
.g-hidden { display: none; }
.prop-map { padding-top: 96px; }
.map { aspect-ratio: 21 / 9; background: var(--bg-2); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(.95) sepia(.12); }
.prop-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); margin-top: 120px; padding-top: 72px; border-top: 1px solid var(--line); }

/* usluge */
.service-block { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: center; padding-top: clamp(64px, 8vw, 120px); }
.service-block.is-flipped .sb-img { order: 2; }
.sb-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.sb-img img { width: 100%; height: 100%; object-fit: cover; }
.sb-short { font-family: var(--serif); font-size: 24px; line-height: 1.4; margin: 20px 0 16px; max-width: 30ch; }
.sb-text p:not(.eyebrow):not(.sb-short) { color: var(--ink-2); max-width: 48ch; margin: 0 0 24px; }
.extra-services ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 48px; font-family: var(--serif); font-size: 22px; color: var(--ink-2); }

/* o nama */
.serif-lead { font-style: italic; }
.wide-img { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wide-img img { width: 100%; aspect-ratio: 21 / 10; object-fit: cover; }
.about-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 140px); padding-top: 88px; align-items: start; }
.about-body .prose { font-size: 18px; }
.pull { font-family: var(--serif); font-size: 26px; line-height: 1.4; color: var(--ink) !important; margin-top: 1.4em !important; }
.person-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); margin-bottom: 20px; }
.person-img img { width: 100%; height: 100%; object-fit: cover; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28, 28, 24, .97); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: calc(100vw - 160px); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--bg); font-family: var(--serif); font-size: 44px; line-height: 1; width: 64px; height: 64px; cursor: pointer; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #B8B3A5; font-size: 12px; letter-spacing: .22em; }

/* footer */
.site-footer { margin-top: clamp(96px, 12vw, 180px); background: var(--ink); color: #D9D4C7; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 80px; padding-bottom: 56px; }
.footer-brand .eyebrow { margin-top: 24px; color: #A8A393; }
.logo-light { color: var(--bg); align-items: flex-start; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 15px; }
.footer-col .eyebrow { color: #A8A393; margin-bottom: 8px; }
.socials { display: flex; gap: 16px; }
.socials a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #55564B; border-radius: 50%; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid #3A3B33; font-size: 13px; color: #A8A393; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* reveal */
.reveal { opacity: 1; transform: none; }
.js .reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal-ready.is-in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-min { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-min .contact-cta { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 92px 0 0 0; z-index: 49; background: var(--bg); flex-direction: column; align-items: flex-start; gap: 0; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .nav a { font-family: var(--serif); font-size: 34px; letter-spacing: 0; text-transform: none; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .service:nth-child(3) { border-left: 0; }
  .focus-grid, .about-teaser, .prop-body, .prop-cta, .service-block, .about-body, .contact-page { grid-template-columns: minmax(0, 1fr); }
  .service-block.is-flipped .sb-img { order: 0; }
  .about-img { min-height: 0; aspect-ratio: 4 / 3; }
  .grid-collection { grid-template-columns: minmax(0, 1fr); }
  .person { max-width: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { min-height: 76px; }
  .nav { inset: 76px 0 0 0; }
  .logo-mark { font-size: 28px; }
  .hero-img { height: 64vh; min-height: 360px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .service:first-child { border-top: 0; padding-top: 0; }
  .grid-cards { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .contact-min { grid-template-columns: minmax(0, 1fr); }
  .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .contact-list dd a { display: inline-block; padding: 6px 0; }
  .footer-col { gap: 0; }
  .footer-col .eyebrow { margin-bottom: 4px; }
  .footer-col a, .footer-col span { padding: 8px 0; }
  .footer-bottom a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .figures-row { justify-content: flex-start; }
  .prop-gallery { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 64px; }
  .pg-item:nth-child(3n+1) { aspect-ratio: 3 / 2; }
  .map { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 140px); }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
  .btn { width: 100%; }
  .contact-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal-ready { opacity: 1; transform: none; }
}