/* Self-hosted variable fonts (latin + latin-ext subsets; ₺ U+20BA lives in latin-ext). License: fonts/OFL.txt */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --surface-muted: #eeebe4;
  --ink: #13243a;
  --ink-soft: #4b5a6c;
  --line: rgba(19, 36, 58, 0.12);
  --navy: #003d79;
  --accent: #d8202f;
  --accent-ink: #ffffff;
  /* White on #0f7a40 is 5.41:1; the darker ink keeps the tinted WhatsApp icon at 5.5:1. */
  --whatsapp: #0f7a40;
  --whatsapp-ink: #0b6b37;
  --star: #9a6a00;
  --focus: #003d79;
  --shadow: 0 1px 2px rgba(19, 36, 58, 0.06), 0 8px 24px -12px rgba(19, 36, 58, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-height: 68px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d141c;
    --surface: #142030;
    --surface-muted: #1a2738;
    --ink: #e9edf2;
    --ink-soft: #a3b0bf;
    --line: rgba(233, 237, 242, 0.12);
    --navy: #7fb2ec;
    --accent: #ff5a66;
    --whatsapp: #0f7a40;
    --whatsapp-ink: #5fd38f;
    --star: #f2c14e;
    --focus: #7fb2ec;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.section-flush { padding-top: 0; }
.lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 60ch; }
.section-head { margin-bottom: 36px; }
.section-head .lead { margin: 12px 0 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* focus + skip link */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
main[tabindex="-1"]:focus { outline: none; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); gap: 12px; position: relative; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
.brand strong { font-family: "Fraunces", serif; font-size: 1.2rem; font-weight: 600; }
.brand span { font-size: 0.78rem; color: var(--ink-soft); }
.nav-links { display: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color 200ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle {
  width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer; flex-shrink: 0;
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; padding: 0;
}
.nav-toggle-lines { position: relative; width: 18px; height: 12px; }
.nav-toggle-lines::before, .nav-toggle-lines::after, .nav-toggle-lines span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle-lines::before { top: 0; }
.nav-toggle-lines span { top: 5px; }
.nav-toggle-lines::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1023px) {
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 16px;
  }
  .nav.menu-open .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav.menu-open .nav-links a:last-child { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .nav-links { display: flex; gap: 26px; margin-right: 12px; }
  .nav-toggle { display: none; }
}
@media (max-width: 399px) {
  .nav-call .label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .nav-call.btn-sm { padding: 8px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 14px 12px 22px; border-radius: 999px;
  font: 600 0.95rem/1.3 "Manrope", system-ui, sans-serif; text-decoration: none; border: 0; cursor: pointer;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .icon {
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 300ms var(--ease);
}
.btn:hover .icon { transform: translate(2px, -1px) scale(1.05); }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { background: #0b6b37; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark .icon { background: color-mix(in srgb, var(--paper) 18%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 22px; }
.btn-ghost:hover { background: var(--surface); }
.btn svg { width: 16px; height: 16px; }
.btn-sm { padding: 8px 10px 8px 16px; font-size: 0.88rem; }
.btn-sm .icon { width: 24px; height: 24px; }
.btn-block { width: 100%; justify-content: space-between; }
.text-link { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* hero */
.hero { padding-top: 48px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 72px; } .hero { padding-top: 80px; } }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.badge-line { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.portrait-shell {
  padding: 8px; border-radius: 30px; background: var(--surface-muted); box-shadow: inset 0 0 0 1px var(--line);
  max-width: 420px; justify-self: center; width: 100%;
}
.portrait-core { border-radius: 22px; overflow: hidden; background: var(--surface); position: relative; }
.portrait-core img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.portrait-caption { padding: 16px 20px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.portrait-caption b { display: block; font-size: 1rem; }
.portrait-caption small { color: var(--ink-soft); }
.rating { text-align: right; white-space: nowrap; }
.rating strong { display: block; font-family: "Fraunces", serif; font-size: 1.6rem; line-height: 1.1; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 44px; background: var(--line); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.stats div { background: var(--surface); padding: 18px 16px; min-width: 0; }
.stats strong { display: block; font-family: "Fraunces", serif; font-size: clamp(1.3rem, 5vw, 1.7rem); font-weight: 600; }
.stats span { font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 479px) { .stats div { padding: 14px 12px; } .stats span { font-size: 0.8rem; } }
@media (max-width: 359px) {
  .stats { grid-template-columns: 1fr; }
  .stats div { display: flex; align-items: baseline; gap: 10px; }
}

/* expertise */
.expertise, .section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.exp-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .exp-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; } }
.exp-grid .lead { margin-top: 16px; }
.exp-list { display: grid; gap: 0; }
.exp-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.exp-item:last-child { border-bottom: 0; }
.exp-item svg { width: 28px; height: 28px; color: var(--navy); margin-top: 2px; }
.exp-item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.exp-item p { margin: 0; color: var(--ink-soft); }

/* process */
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.process-list li { padding-top: 18px; border-top: 2px solid var(--ink); }
.process-list h3 { font-size: 1.25rem; margin-bottom: 8px; }
.process-list p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* listings */
.listings-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.listings-head .lead { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 0; background: var(--surface); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line);
  padding: 8px 14px; border-radius: 999px; font: 500 0.9rem "Manrope", sans-serif; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.chip-count { font-size: 0.78rem; font-weight: 700; opacity: 0.75; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.filter-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 16px; }
.filter-row .sep { width: 1px; height: 24px; background: var(--line); }
.sort-control { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); }
.sort-control select {
  font: 500 0.9rem "Manrope", sans-serif; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px;
}
.results-status { margin: 0 0 20px; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 719px) { .filter-row .sep { display: none; } .sort-control { margin-left: 0; } }
.grid, .portfolio-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 0; padding: 0; }
.card {
  position: relative; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform 400ms var(--ease);
}
.card:hover { transform: translateY(-3px); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-muted); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-op { font-size: 0.8rem; font-weight: 700; color: var(--accent); }
.card-op.rent { color: var(--navy); }
.card h3 { font-family: "Manrope", sans-serif; font-size: 1.02rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.card h3 a { text-decoration: none; }
/* Stretched link: the title link covers the whole card so each card has one primary tab stop. */
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@supports selector(:has(a)) {
  .card h3 a:focus-visible { outline: none; }
  .card:has(h3 a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
}
.card-loc { color: var(--ink-soft); font-size: 0.9rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.88rem; color: var(--ink-soft); }
.card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: "Fraunces", serif; font-size: 1.3rem; font-weight: 600; }
.price small { font-family: "Manrope", sans-serif; font-size: 0.8rem; color: var(--ink-soft); font-weight: 500; }
.price s { display: block; font-family: "Manrope", sans-serif; font-size: 0.8rem; color: var(--ink-soft); font-weight: 500; }
.wa-mini {
  position: relative; z-index: 2;
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--whatsapp-ink) 12%, var(--surface)); color: var(--whatsapp-ink);
}
.wa-mini svg { width: 20px; height: 20px; }
.empty { padding: 40px; text-align: center; color: var(--ink-soft); background: var(--surface); border-radius: var(--radius); }
.listings-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.sync-note { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }

/* about */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr 0.8fr; gap: 72px; } }
.about-text p { margin: 0 0 16px; }
.about-text .lead { margin-top: 16px; }
.about-text .mission { margin-top: 24px; }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline li span:first-child { font-weight: 700; color: var(--navy); }
@media (max-width: 379px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }
.side-card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.side-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 0.93rem; }
.side-card li { margin-bottom: 6px; }
.side-card details ul { margin-top: 10px; }
details summary { cursor: pointer; font-weight: 600; margin-top: 16px; color: var(--navy); }
.license { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.license b { display: block; }

/* calculator: always dark, so focus ring must be light */
.calc { --paper: #f4f6f9; --focus: #f4f6f9; background: #102844; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-radius: 28px; padding: 36px 24px; display: grid; gap: 32px; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; padding: 56px; gap: 56px; } }
.calc h2 { color: var(--paper); }
.calc p { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.calc-form { display: grid; gap: 16px; }
.calc label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 500; }
.calc input {
  background: color-mix(in srgb, var(--paper) 8%, transparent); color: var(--paper);
  border: 1px solid color-mix(in srgb, var(--paper) 28%, transparent); border-radius: 12px;
  padding: 12px 14px; font: 600 1rem "Manrope", sans-serif; width: 100%;
}
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-result { border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); padding-top: 18px; }
.calc-result strong { display: block; font-family: "Fraunces", serif; font-size: 2.4rem; }
.calc-result small { color: color-mix(in srgb, var(--paper) 75%, transparent); }

/* reviews */
.reviews-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-top: 36px; }
.review { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review p { margin: 0; }
.review footer { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--ink-soft); }
.review footer b { color: var(--ink); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 0.95rem; }
.reviews-source { margin-top: 24px; font-size: 0.9rem; color: var(--ink-soft); }

/* forms (valuation) */
.valuation-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .valuation-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; } }
.valuation-grid .lead { margin-top: 16px; }
.valuation-form {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
  display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .valuation-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 32px; } }
.valuation-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; }
.valuation-form .field-wide, .valuation-form .form-actions, .valuation-form .privacy-note { grid-column: 1 / -1; }
.valuation-form input, .valuation-form select, .valuation-form textarea {
  width: 100%; font: 500 1rem "Manrope", sans-serif; color: var(--ink); background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: var(--radius-sm); padding: 12px 14px;
}
.valuation-form textarea { min-height: 112px; resize: vertical; }
.valuation-form .optional { font-weight: 500; color: var(--ink-soft); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.privacy-note { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.privacy-note a { color: var(--navy); }

/* contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact-grid .lead { margin-top: 16px; }
.contact-list { display: grid; gap: 0; }
.contact-list a, .contact-list div {
  display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.contact-list span { color: var(--ink-soft); font-size: 0.9rem; }
.contact-list b { font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover b { color: var(--navy); }
@media (max-width: 419px) { .contact-list a, .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* footer */
footer.site { padding: 40px 0 112px; font-size: 0.85rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
footer.site p { margin: 0; }
footer.site a { color: var(--ink); text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { footer.site { padding-bottom: 40px; } }

/* mobile sticky action bar */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.mobile-bar .btn { justify-content: center; padding: 12px; }
@media (min-width: 720px) { .mobile-bar { display: none; } }

/* reveal: only elements JS marks as below the fold start hidden, so no-JS visitors see everything */
.reveal-pending { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal-pending.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-pending { opacity: 1; transform: none; transition: none; }
  .card, .card-media img, .btn, .btn .icon { transition: none; }
  .card:hover, .card:hover .card-media img { transform: none; }
}

/* ---------- listing detail pages (generated under ilan/) ---------- */
.breadcrumb { font-size: 0.88rem; color: var(--ink-soft); margin: 28px 0 0; }
/* Inline flow, not flex: a long current-page title must continue after the separator instead of
   dropping to its own line with the "/" stranded at the start. */
.breadcrumb ol { list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline; overflow-wrap: anywhere; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: color-mix(in srgb, var(--ink-soft) 60%, transparent); }
.breadcrumb a { color: var(--ink-soft); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* Portfolio hub: type groups sit directly under the page head, so the generic section padding is too much. */
.listing-group { padding: 0 0 56px; }
.listing-group > h2 { margin-bottom: 20px; }

.listing-hero { padding: 20px 0 28px; }
.listing-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 28ch; margin: 10px 0 12px; overflow-wrap: anywhere; }
.listing-hero p { margin: 0; color: var(--ink-soft); }
.badge-discount {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

.listing-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding-bottom: 72px; }
.listing-layout > * { min-width: 0; }
.listing-main { display: grid; gap: 48px; align-content: start; }
.listing-main > section, .listing-layout > :first-child > section { padding: 0; }
.listing-main h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 18px; }
.listing-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 960px) {
  .listing-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
  .listing-aside, .listing-layout > aside { position: sticky; top: calc(var(--nav-height) + 24px); align-self: start; }
}

.listing-price { font-family: "Fraunces", serif; font-size: clamp(1.8rem, 3.4vw, 2.3rem); font-weight: 600; line-height: 1.1; margin: 0; }
.listing-price small { font-family: "Manrope", sans-serif; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.listing-price s { display: block; font-family: "Manrope", sans-serif; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 4px; }

.listing-cta { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 12px; }
.listing-cta h2, .listing-cta h3 { font-size: 1.2rem; margin: 0 0 4px; }
.listing-cta p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.listing-cta .btn { width: 100%; justify-content: space-between; }

.gallery { display: grid; gap: 10px; }
.gallery-main { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface-muted); aspect-ratio: 3 / 2; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 96px), 1fr)); }
.gallery-thumbs a { display: block; border-radius: 10px; overflow: hidden; background: var(--surface-muted); aspect-ratio: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity 200ms var(--ease); }
.gallery-thumbs a:hover img { opacity: 0.85; }
.gallery details summary { margin: 4px 0 10px; }

.spec-table {
  margin: 0; display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  gap: 12px 20px; background: var(--surface); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow);
}
.spec-table > div { display: contents; }
.spec-table dt { color: var(--ink-soft); font-size: 0.9rem; }
.spec-table dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .spec-table { grid-template-columns: minmax(0, max-content) minmax(0, 1fr) minmax(0, max-content) minmax(0, 1fr); column-gap: 24px; }
}

.feature-groups { display: grid; gap: 24px; }
.feature-groups h3 { font-family: "Manrope", sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0; margin: 0 0 10px; }
.feature-groups ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-groups li {
  font-size: 0.88rem; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}

.listing-description { max-width: 70ch; overflow-wrap: anywhere; }
.listing-description p { margin: 0 0 14px; }
.listing-description ul { margin: 0 0 14px; padding-left: 20px; }
.listing-description li { margin-bottom: 4px; }
.listing-description strong { font-weight: 700; }

.listing-map, .listing-video { border-radius: var(--radius); overflow: hidden; background: var(--surface-muted); aspect-ratio: 16 / 9; }
.listing-map iframe, .listing-video iframe, iframe.listing-map, iframe.listing-video { display: block; width: 100%; height: 100%; border: 0; }
iframe.listing-map, iframe.listing-video { height: auto; }

.source-note, .license-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.license-note { padding-top: 14px; border-top: 1px solid var(--line); }
.source-note a, .license-note a { color: var(--navy); }

/* lightbox (created by site.js for .gallery a[data-full]) */
.lightbox {
  border: 0; padding: 0; background: transparent; color: #fff;
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0;
}
.lightbox::backdrop { background: rgba(8, 14, 22, 0.92); }
.lightbox-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 16px; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: #fff; font: 600 1.4rem/1 "Manrope", sans-serif;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox button:focus-visible { outline-color: #fff; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 719px) { .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; } }
