:root {
  /* Brand colours taken from the TEPM logo */
  --gold: #c49c6b;        /* logo gold, for lines, marks and large type */
  --gold-dark: #8a6a40;   /* darker gold, readable for links and buttons */
  --grey: #b4b4b4;        /* logo grey, for the wordmark */
  --ink: #3a3a3a;
  --muted: #6e6e6e;
  --line: #ece7df;
  --bg: #ffffff;
  --panel: #f7f3ee;
  --accent: var(--gold-dark);
  --accent-ink: #ffffff;
  --max: 1120px;
  --serif: "Times New Roman", Times, Georgia, serif;           /* as in the reports */
  --display: "Times New Roman", Times, serif;
  --sans: Helvetica, Arial, sans-serif;                        /* gold labels, menu, buttons */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
/* Report house style: serif body, bold black serif headings, small gold capitals for labels, gold numbering */
body { font-family: var(--serif); font-size: 18px; color: #222; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: #1a1a1a; }
.hero h1 { font-weight: 700; }
.eyebrow, .tag { font: 700 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #9c7a4c; background: none; padding: 0; }
.site-header nav a, .btn, form.contact label, .facts, .nav-toggle { font-family: var(--sans); }
ol.plain li::marker, ul.plain li::marker { color: var(--gold); font-weight: 700; }
.lead, .muted { font-style: italic; }
.card .muted, .facts { font-style: normal; }
.strap { text-align: center; font-style: italic; color: #8a8a8a; font-size: 14px; padding: 8px 16px; border-bottom: 1px solid var(--line); margin: 0; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: #9a9a9a; text-decoration: none; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand img { width: 44px; height: 44px; }
.section + .section, .hero { border-color: var(--line); }
.card { border-top: 2px solid var(--gold); }
@media (max-width: 420px) { .brand { font-size: 1.2rem; gap: 8px; } .brand img { width: 36px; height: 36px; } }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--accent); }
.site-header nav a.portal { border: 1px solid var(--ink); padding: 6px 12px; border-radius: 2px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); padding: 6px 12px; font: inherit; font-size: 15px; cursor: pointer; }

@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 12px 16px 20px; }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 6px 0; font-size: 17px; }
}

/* Sections */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.hero p.lead { font-size: 1.2rem; max-width: 46em; color: var(--muted); }
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.narrow { max-width: 46em; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card .more { margin-top: auto; }
.card .photo { aspect-ratio: 4 / 3; background: var(--panel); margin: -24px -24px 20px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }

.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0 0 1em; font-size: 15px; color: var(--muted); }
.facts strong { color: var(--ink); font-weight: 600; }
.tag { display: inline-block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--panel); padding: 3px 8px; margin-bottom: 10px; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 12px 22px; text-decoration: none; border: 0; font: inherit; cursor: pointer; border-radius: 2px; }
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

ul.plain { padding-left: 1.1em; }
ul.plain li { margin-bottom: .4em; }

/* Form */
form.contact { display: grid; gap: 16px; max-width: 640px; }
form.contact label { display: grid; gap: 6px; font-size: 15px; }
form.contact input, form.contact select, form.contact textarea { font: inherit; padding: 10px 12px; border: 1px solid #c9c1b4; background: #fff; border-radius: 2px; width: 100%; }
form.contact textarea { min-height: 160px; }
form.contact .check { display: flex; gap: 10px; align-items: flex-start; }
form.contact .check input { width: auto; margin-top: 5px; }
.hidden { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: #d9d3c9; padding: 48px 0 32px; font-size: 15px; margin-top: 40px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer .small { font-size: 13px; color: #a9a294; margin-top: 32px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }

/* Report style overrides, kept last */
.eyebrow, .tag { font: 700 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #9c7a4c; background: none; padding: 0; }
.eyebrow a { color: inherit; }

/* Photo galleries */
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery a:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery a:first-child img { aspect-ratio: 16 / 9; }

/* Video embeds */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--panel); display: flex; align-items: center; justify-content: center; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Plans */
.plans { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.plans figure { margin: 0; border: 1px solid var(--line); background: #fff; padding: 12px; }
.plans img { width: 100%; height: auto; }
.plans figcaption { font: 700 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #9c7a4c; margin-top: 8px; }

/* Photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15,15,15,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; background: #fff0; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font: 300 56px/1 var(--sans); cursor: pointer; padding: 12px 18px; opacity: .8; }
.lightbox button:hover, .lightbox button:focus { opacity: 1; color: var(--gold); }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 4px; right: 4px; font-size: 44px !important; }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; font: 14px var(--sans); margin: 0; }
.gallery a, .plans a { cursor: zoom-in; }

/* Property filter */
.filter { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; margin-bottom: 28px; padding: 16px; border: 1px solid var(--line); border-top: 2px solid var(--gold); font-family: var(--sans); font-size: 14px; }
.filter label { display: grid; gap: 4px; }
.filter select { font: inherit; padding: 8px 10px; border: 1px solid #c9c1b4; background: #fff; min-width: 180px; }
.filter .check { display: flex; gap: 8px; align-items: center; padding-bottom: 8px; }
.filter .count { margin: 0 0 8px auto; color: var(--muted); }
.card[hidden] { display: none; }

/* Share and follow bar */
.share-bar { border-top: 1px solid var(--line); padding: 32px 0; }
.share-bar .wrap { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.share-links a { font: 14px var(--sans); text-decoration: none; color: var(--ink); border: 1px solid var(--line); padding: 7px 14px; }
.share-links a:hover { border-color: var(--gold); color: var(--gold-dark); }

.video-tall { aspect-ratio: 9 / 16; width: 100%; max-width: 400px; margin: 0 auto; }

/* Logo lettering in the header */
.brand .wordmark { height: 20px; width: auto; }
@media (max-width: 420px) { .brand .wordmark { height: 15px; } }

/* Icons */
.ico { width: 22px; height: 22px; display: block; }
.follow { display: flex; gap: 10px; align-items: center; margin: 0; }
.follow a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.follow a:hover, .follow a:focus { color: #fff; background: var(--gold); border-color: var(--gold); }
.site-footer .follow a { border-color: #555; color: #fff; }

/* Share button and its menu */
.share-bar .wrap { align-items: center; justify-content: space-between; }
.share { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-toggle { display: inline-flex; align-items: center; gap: 10px; font: 15px var(--sans); background: none; border: 1px solid var(--ink); padding: 9px 18px; cursor: pointer; color: var(--ink); }
.share-toggle:hover, .share-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-dark); }
.share-menu { display: flex; gap: 8px; }
.share-menu[hidden] { display: none; }
.share-menu a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--panel); color: var(--ink); }
.share-menu a:hover, .share-menu a:focus { background: var(--gold); color: #fff; }
.share-menu a.done { background: var(--gold); color: #fff; }

/* YouTube loads only when the visitor presses play */
.yt-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; background: #1b1b1b; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font: 15px var(--sans); padding: 16px; text-align: center; }
.yt-play .ico { width: 72px; height: 72px; color: #c4302b; }
.yt-play small { color: #bbb; font-size: 12px; max-width: 320px; }
.yt-play:hover .ico { color: #e33; }

/* Sold: red ribbon across the top corner of the card, and a red tag on the listing page */
.card.listing { position: relative; overflow: hidden; }
.card.listing[data-status="sold"]::after { content: "SOLD"; position: absolute; top: 22px; right: -46px; width: 180px; transform: rotate(45deg); background: #b3261e; color: #fff; text-align: center; font: 700 13px/30px var(--sans); letter-spacing: .2em; box-shadow: 0 2px 6px rgba(0,0,0,.25); z-index: 2; pointer-events: none; }
.tag.sold { color: #fff; background: #b3261e; padding: 3px 10px; }
.card.listing[data-status="offer"]::after { content: "UNDER OFFER"; position: absolute; top: 26px; right: -52px; width: 200px; transform: rotate(45deg); background: #b3261e; color: #fff; text-align: center; font: 700 11px/28px var(--sans); letter-spacing: .14em; box-shadow: 0 2px 6px rgba(0,0,0,.25); z-index: 2; pointer-events: none; }
.tag.offer { color: #fff; background: #b3261e; padding: 3px 10px; }

/* Language switch */
.site-header .lang { font: 14px var(--sans); color: var(--muted); white-space: nowrap; }
.site-header .lang strong { color: var(--ink); }
.site-header .lang a { padding: 0 2px; }

/* Spanish ribbon wording */
:lang(es) .card.listing[data-status="sold"]::after { content: "VENDIDO"; }
:lang(es) .card.listing[data-status="offer"]::after { content: "RESERVADO"; }

.brand { flex-shrink: 0; }

/* Language flags */
.langs { display: inline-flex; gap: 8px; align-items: center; }
.langs a { display: inline-flex; padding: 3px; border: 1px solid transparent; border-radius: 2px; opacity: .65; line-height: 0; }
.langs a:hover, .langs a:focus { opacity: 1; }
.langs a.current { opacity: 1; border-color: var(--gold); }
.flag { width: 24px; height: 16px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.skip-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

:lang(de) .card.listing[data-status="sold"]::after { content: "VERKAUFT"; }
:lang(de) .card.listing[data-status="offer"]::after { content: "RESERVIERT"; }

/* Flags always visible at the top, beside the menu */
.site-header .wrap > .langs { margin-left: auto; margin-right: 16px; }
@media (min-width: 1281px) { .site-header .wrap > .langs { order: 3; margin: 0 0 0 16px; } .site-header nav { margin-left: auto; } }
@media (max-width: 420px) { .flag { width: 20px; height: 13px; } .langs { gap: 4px; } .site-header .wrap > .langs { margin-right: 8px; } }

/* Language letters EN | ES | DE (replaces the flags) */
.langs { gap: 6px; font: 600 13px/1 var(--sans); letter-spacing: .08em; }
.langs a { opacity: 1; border: 0; padding: 6px 2px; color: var(--muted); text-decoration: none; line-height: 1; }
.langs a:hover, .langs a:focus { color: var(--ink); }
.langs a.current { color: var(--gold-dark); border: 0; box-shadow: inset 0 -2px 0 var(--gold); }
.langs .sep { color: var(--line); font-weight: 400; }

/* Language notice on the German site */
.lang-note { margin: 0; padding: 10px 16px; text-align: center; font: 14px/1.5 var(--sans); background: var(--panel); color: var(--ink); border-bottom: 1px solid var(--line); }

/* Off market listings */
.card.listing[data-status="offmarket"]::after { content: "SECRET LISTING"; position: absolute; top: 26px; right: -52px; width: 200px; transform: rotate(45deg); background: var(--ink); color: #fff; text-align: center; font: 700 11px/28px var(--sans); letter-spacing: .14em; box-shadow: 0 2px 6px rgba(0,0,0,.25); z-index: 2; pointer-events: none; }
:lang(es) .card.listing[data-status="offmarket"]::after { content: "VENTA PRIVADA"; }
:lang(de) .card.listing[data-status="offmarket"]::after { content: "DISKRET"; }
.tag.offmarket { color: #fff; background: var(--ink); padding: 3px 10px; }
.card.listing[data-status="soon"]::after { content: "COMING SOON"; position: absolute; top: 26px; right: -52px; width: 200px; transform: rotate(45deg); background: #8a6a3d; color: #fff; text-align: center; font: 700 11px/28px var(--sans); letter-spacing: .14em; box-shadow: 0 2px 6px rgba(0,0,0,.25); z-index: 2; pointer-events: none; }
:lang(es) .card.listing[data-status="soon"]::after { content: "PRÓXIMAMENTE"; }
:lang(de) .card.listing[data-status="soon"]::after { content: "DEMNÄCHST"; }
.tag.soon, .card.listing .tag.soon { color: #fff; background: #8a6a3d; padding: 3px 10px; }
.soon-panel { aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, #1b2a3a, #3b5166); color: #fff; text-align: center; font-family: var(--serif); }
.soon-panel span { font: 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.card > a > .soon-panel { width: 100%; margin: -28px 0 22px; font-size: 1.4rem; }
.card.listing .soon-panel { width: 100%; margin: -28px 0 22px; font-size: 1.4rem; }

/* Home page hero: slow cross fading photos (a short silent video can replace them later) */
.hero-media { position: relative; height: min(82vh, 760px); min-height: 460px; overflow: hidden; background: #111; color: #fff; }
.hero-media .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: hero-fade 35s infinite; }
.hero-media .slide > img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.hero-media .slide:nth-child(2) { animation-delay: 7s; } .hero-media .slide:nth-child(3) { animation-delay: 14s; }
.hero-media .slide:nth-child(4) { animation-delay: 21s; } .hero-media .slide:nth-child(5) { animation-delay: 28s; }
@keyframes hero-fade { 0% { opacity: 0; transform: scale(1); } 4% { opacity: 1; } 20% { opacity: 1; } 26% { opacity: 0; transform: scale(1.08); } 100% { opacity: 0; } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.65) 100%); }
.hero-media .inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 64px; }
.hero-media h1 { color: #fff; max-width: 18em; }
.hero-media .lead { color: #eee; max-width: 40em; }
.hero-media .eyebrow { color: #e5cfa9; }
.hero-media .btn.ghost { color: #fff; border-color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-media .slide { animation: none; } .hero-media .slide:first-child { opacity: 1; } }
/* Home: photos only on the hero, actions in a band underneath */
.hero-media.clean::after { display: none; }
.hero-actions { padding: 28px 0 8px; text-align: center; }
.hero-actions .hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.hero-actions .hero-note { color: var(--muted, #777); margin-top: 10px; }

.lightbox button:disabled { opacity: .15; cursor: default; color: #fff; }

.hero-play { cursor: pointer; font: inherit; background: transparent; }
.film-frame { width: min(94vw, 160vh); aspect-ratio: 16 / 9; }
.film-frame iframe { width: 100%; height: 100%; border: 0; }

/* Full property details */
.details { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.details-block { border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 20px 22px; background: #fff; }
.details-block.wide { grid-column: 1 / -1; }
.details-block h3 { font-size: 1.15rem; margin-bottom: 12px; }
.details-block h4 { font: 700 12px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #9c7a4c; margin: 16px 0 6px; }
.details dl { margin: 0; }
.details dl > div { display: grid; grid-template-columns: minmax(130px, 42%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.details dl > div:last-child { border-bottom: 0; }
.details dt { color: var(--muted); font-family: var(--sans); font-size: 14px; }
.details dd { margin: 0; }
.details .tbc { color: #a8a8a8; font-style: italic; }
.rooms { width: 100%; border-collapse: collapse; font-size: 16px; }
.rooms td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.rooms td:last-child { text-align: right; white-space: nowrap; font-family: var(--sans); font-size: 14px; }
@media (min-width: 900px) { .details-block.wide .rooms { columns: 2; } }
.details-note { grid-column: 1 / -1; font-size: 14px; }

/* Tidy two row header: thin top bar, then logo and menu */
.topbar { background: var(--ink); color: #cfcfcf; font: 13px/1 var(--sans); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.topbar .langs { font-size: 12px; }
.topbar .langs a { color: #bdbdbd; padding: 4px 1px; }
.topbar .langs a.current { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.topbar .langs .sep { color: #666; }
.topbar-login { border: 1px solid #777; padding: 5px 10px; }
.site-header .wrap { min-height: 76px; }
.site-header nav { gap: 4px 26px; margin-left: auto; flex-wrap: nowrap; }
.site-header nav a { font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
.site-header nav a.portal { display: none; }
@media (max-width: 1280px) { .site-header .wrap { min-height: 68px; } .site-header nav { flex-wrap: wrap; } }
@media (max-width: 760px) { .topbar-reg, .topbar-phone { display: none; } .topbar-right { gap: 12px; } }

/* start the slideshow on the first photo, not on black */
.hero-media .slide:nth-child(1) { animation-delay: -1.4s; } .hero-media .slide:nth-child(2) { animation-delay: 5.6s; } .hero-media .slide:nth-child(3) { animation-delay: 12.6s; } .hero-media .slide:nth-child(4) { animation-delay: 19.6s; } .hero-media .slide:nth-child(5) { animation-delay: 26.6s; }

.details .small-note { font-size: 13px; margin: 10px 0 0; }

/* Rightmove style facts bar (English) */
.factbar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); background: #fff; }
.factbar > div { padding: 14px 16px; border-right: 1px solid var(--line); }
.factbar > div:last-child { border-right: 0; }
.factbar span { display: block; font: 700 11px/1.4 var(--sans); letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.factbar strong { font-size: 17px; font-weight: 600; }
/* Funda style heading (German) */
.details .merkmale { grid-column: 1 / -1; font-size: 1.6rem; margin: 0; }

.site-footer .legal-line { color: #a9a294; font-size: 12px; line-height: 1.6; margin-top: 24px; }
.site-footer .legal-line a { color: #d9d3c9; }
.site-header nav { gap: 4px 22px; }

.films .card { padding: 0 0 16px; border-top: 0; }
.films .card h3 { padding: 0 16px; font-size: 1.05rem; }
.films .video { aspect-ratio: 16 / 9; }

.plans-single { grid-template-columns: minmax(0, 520px); }
/* Private listings: locked, blurred plans that open the enquiry form */
.plans a.locked-link { position: relative; display: block; cursor: pointer; overflow: hidden; }
.plans a.locked-link img { filter: saturate(.6); }
.plans .lock-badge { position: absolute; inset: auto 12px 12px 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; background: rgba(27,27,27,.86); color: #fff; font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.plans .lock-badge svg { width: 14px; height: 14px; flex: none; }
.plans a.locked-link:hover .lock-badge { background: #8a6a3d; }
.private-pack { background: #1b1b1b; color: #eee; }
.private-pack h2 { color: #fff; }
.private-pack .eyebrow { color: #e5cfa9; }
.private-pack ul.plain li { color: #ddd; }
/* Every plan shows as the same size thumbnail, whole drawing visible; click opens it large */
.plans { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.plans img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.plans-single { grid-template-columns: repeat(auto-fill, minmax(260px, 360px)); }

/* =====================================================================
   Design refresh, November 2026. Ideas taken from the reference sites:
   warm paper sections and refined serif type (Private Hideaway, LF91),
   spaced capital menu and gold contact button (Rusch, Sunley),
   figures band (Rusch, Godfrey), values grid (Godfrey),
   numbered stages and comparison table (Rusch), questions (LF91).
   ===================================================================== */
:root { --paper: #f6f1ea; --charcoal: #262626; }
body { font-size: 18px; line-height: 1.7; }
h1, h2 { font-weight: 400; letter-spacing: -.005em; color: #161616; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.15; margin-bottom: .7em; }
h3 { font-weight: 700; }
.hero h1, .hero-media h1 { font-weight: 400; }
.section { padding: 88px 0; }
.section + .section { border-top: 0; }
main > section.section:nth-of-type(even) { background: var(--paper); }
.hero { padding: 96px 0 72px; background: var(--paper); border-bottom: 0; }
.hero p.lead { font-size: 1.3rem; }
.eyebrow { display: flex; align-items: center; gap: 12px; letter-spacing: .18em; font-size: 11.5px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold); }

/* Menu: spaced capitals, Contact as a gold button */
.site-header { background: rgba(255,255,255,.97); backdrop-filter: blur(6px); }
.site-header .wrap { min-height: 84px; }
.site-header nav a { font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #2b2b2b; padding: 8px 0; }
.site-header nav a:last-child { background: var(--gold-dark); color: #fff; padding: 12px 18px; }
.site-header nav a:last-child:hover { background: var(--charcoal); color: #fff; }
@media (max-width: 1280px) { .site-header nav a { font-size: 14px; padding: 10px 0; } .site-header nav a:last-child { margin-top: 8px; } .site-header nav { top: 84px; } }

/* Buttons */
.btn { font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 17px 28px; border-radius: 0; transition: background .2s, color .2s; }
.btn:hover { filter: none; background: var(--charcoal); color: #fff; }
.btn.ghost:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.hero-media .btn.ghost:hover { background: #fff; color: #111; border-color: #fff; }

/* Cards: lighter, more air */
.grid { gap: 32px; }
.card { border: 0; border-top: 1px solid var(--gold); padding: 28px 0 8px; background: transparent; }
.card .photo { margin: -28px 0 20px; }
.card img[style*="calc(100% + 48px)"] { width: 100% !important; margin: -28px 0 22px !important; }
.card.listing { padding: 28px 24px 16px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.card .tag { font-size: 2rem; font-family: var(--serif); font-weight: 400; color: var(--gold); letter-spacing: 0; }

/* Split: photo beside text */
.split { display: grid; gap: 56px; grid-template-columns: 1fr; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; } .split.flip > :first-child { order: 2; } }

/* Figures band */
.stats { background: var(--charcoal); color: #ddd; padding: 56px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; text-align: center; }
.stats strong { display: block; font: 400 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: var(--gold); margin-bottom: 12px; }
.stats span { font: 600 11px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #cfcfcf; }

/* Values grid */
.values { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 40px; }
.values h3 { font: 700 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.values h3::before { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin-bottom: 18px; }
.values p { font-size: 16.5px; color: #444; margin: 0; }

/* Numbered stages */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid #ddd3c4; }
.steps li { padding: 28px 28px 28px 0; border-bottom: 1px solid #ddd3c4; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 400 1.6rem/1 var(--serif); color: var(--gold); margin-bottom: 14px; }
.steps { counter-reset: step; }
.steps strong { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 16.5px; color: #444; }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr; margin-top: 40px; border: 1px solid #ddd3c4; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { padding: 32px; }
.compare > div:last-child { background: #fff; border-top: 2px solid var(--gold); }
.compare h3 { font: 700 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.compare > div:last-child h3 { color: #9c7a4c; }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.compare li:last-child { border-bottom: 0; }
.compare > div:first-child li { color: #777; }
.compare > div:first-child li::before { content: "\2715"; position: absolute; left: 0; color: #aaa; font: 14px/1.9 var(--sans); }
.compare > div:last-child li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold-dark); font: 700 15px/1.8 var(--sans); }

/* Questions */
.faq { margin-top: 32px; border-top: 1px solid #ddd3c4; }
.faq details { border-bottom: 1px solid #ddd3c4; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--sans); color: var(--gold-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 22px; color: #444; font-size: 16.5px; }
.faq details > div p:last-child { margin: 0; }

/* Closing call to action */
.cta-band { background: var(--charcoal) !important; color: #e6e1d9; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { justify-content: center; color: var(--gold); }
.cta-band .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold); }
.cta-band p { max-width: 38em; margin-left: auto; margin-right: auto; }
.cta-band .btn.ghost { color: #fff; border-color: #888; }
.cta-band a:not(.btn) { color: #fff; }

/* Footer */
.site-footer { background: #1d1d1d; margin-top: 0; padding-top: 64px; }
.share-bar { background: #fff; }

/* fixes after preview */
.card.listing .tag { font: 700 12px/1.4 var(--sans); letter-spacing: .1em; color: #9c7a4c; }
.card.listing .tag.sold, .card.listing .tag.offer { color: #fff; }
.card.listing .tag.offmarket { color: #fff; background: var(--ink); }
@media (min-width: 1281px) and (max-width: 1500px) { .site-header nav { gap: 4px 16px; } .site-header nav a { font-size: 11.5px; letter-spacing: .1em; } .site-header nav a:last-child { padding: 11px 14px; } .brand .wordmark { height: 17px; } }

/* Video stills on the play buttons */
.yt-play.has-poster { background-size: cover; background-position: center; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.yt-play.has-poster .ico { filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.yt-play.has-poster small { color: #eee; }
.yt-play.has-poster small { position: absolute; left: 10px; right: 10px; bottom: 8px; max-width: none; font-size: 10.5px; line-height: 1.35; opacity: .85; }
.yt-play.has-poster > span:not(.ico) { font-weight: 600; letter-spacing: .04em; }

/* Sell pages: single photo hero and buyer markets band */
.hero-media.static .slide { animation: none; opacity: 1; }
.stats.markets .wrap { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stats.markets .eyebrow { grid-column: 1 / -1; justify-content: center; color: var(--gold); margin-bottom: 0; }
.stats.markets .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold); }
.stats.markets strong { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Personal photos */
.wide-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 60% 40%; margin: 40px auto 0; display: block; }
.hero-split { align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 7fr 5fr; } }
.hero-split img { max-height: 620px; aspect-ratio: 4 / 5; object-fit: cover; }

/* Forms never wider than the screen (long German options) */
form.contact label { min-width: 0; }
form.contact select, form.contact input, form.contact textarea { max-width: 100%; min-width: 0; }
form.contact select { text-overflow: ellipsis; }
form.contact .check, form.contact .check * { min-width: 0; overflow-wrap: anywhere; }
main { overflow-wrap: break-word; }

/* Button rows: even spacing, wrap neatly */
p:has(> .btn) { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center p:has(> .btn), .cta-band p:has(> .btn) { justify-content: center; }
@media (max-width: 560px) {
  p:has(> .btn) > .btn { flex: 1 1 100%; text-align: center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.8) 100%); }
  .hero-media .inner { padding-bottom: 40px; }
  .hero-media .lead { font-size: 1.05rem; }
}
/* Phone number visible on phones, tap to call */
@media (max-width: 760px) {
  .topbar-phone { display: inline; }
  .topbar .wrap { gap: 8px; }
  .topbar-right { gap: 10px; width: 100%; justify-content: space-between; }
  .topbar { font-size: 12px; }
  .topbar-login { padding: 5px 8px; }
}

.form-note { font: 13px/1.6 var(--sans); color: var(--muted); margin: 0; }
.hero-note { font: 12px/1.5 var(--sans); color: #d8d2c8; margin-top: -4px; }
.roaiib-badge { display: inline-block; margin-top: 4px; } .roaiib-badge img { width: 150px; height: auto; border-radius: 3px; }
.roaiib-section img.roaiib-badge { width: 260px; height: auto; margin: 0 auto 16px; border: 1px solid var(--line); border-radius: 4px; }
.roaiib-section .eyebrow { justify-content: center; }
.roaiib-section .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold); }

/* Project pages: cover photo and photo carousel */
.project-cover { width: 100%; height: min(70vh, 640px); overflow: hidden; background: #111; }
.project-cover a, .project-cover img { display: block; width: 100%; height: 100%; }
.project-cover img { object-fit: cover; }
.project-photos { padding-top: 24px; }
.gallery.carousel { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.gallery.carousel > a { flex: 0 0 82%; scroll-snap-align: start; grid-column: auto; }
@media (min-width: 760px) { .gallery.carousel > a { flex-basis: 40%; } }
@media (min-width: 1100px) { .gallery.carousel > a { flex-basis: 32%; } }
.gallery.carousel img, .gallery.carousel > a:first-child img { aspect-ratio: 3 / 2; height: auto; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.carousel-nav button { width: 42px; height: 42px; border: 1px solid var(--ink); background: #fff; font: 26px/1 var(--sans); cursor: pointer; color: var(--ink); }
.carousel-nav button:hover { background: var(--charcoal); color: #fff; }

/* Blog film list: one row per video, filter by place */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.film-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.film-filter .chip { font: 14px var(--sans); padding: 8px 14px; border: 1px solid var(--line); background: transparent; color: inherit; border-radius: 999px; cursor: pointer; }
.film-filter .chip span { opacity: .6; margin-left: 4px; }
.film-filter .chip.active { background: #1b1b1b; color: #fff; border-color: #1b1b1b; }
.film-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.film-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.film-row[hidden], .film-group[hidden] { display: none; }
.film-group { margin: 0 0 56px; scroll-margin-top: 120px; }
.film-group-head h2 { margin: 0 0 6px; }
.film-group-head p { margin: 0 0 16px; color: var(--muted, #777); }
.film-thumb { position: relative; aspect-ratio: 16 / 9; background: #1b1b1b; overflow: hidden; }
.film-thumb .yt-play .ico { width: 52px; height: 52px; }
.film-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-row:has(iframe) { grid-template-columns: minmax(0, 1fr); }
.film-row:has(iframe) .film-thumb { width: 100%; max-width: 880px; }
.film-row[data-kind="short"]:has(iframe) .film-thumb { aspect-ratio: 9 / 16; max-width: 360px; }
.film-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #777); margin: 0 0 6px; }
.film-meta .film-year { font-weight: 600; color: inherit; }
.film-info h3 { margin: 0 0 6px; font-size: 1.15rem; }
.film-info p:last-child { margin: 0; }
.small-note { font-size: 13px; margin-top: 18px; }
@media (max-width: 640px) {
  .film-row { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .film-thumb .yt-play .ico { width: 34px; height: 34px; }
  .film-info h3 { font-size: 1rem; }
  .film-info p:not(.film-meta) { font-size: 14px; }
  .film-meta { font-size: 11px; }
}
/* Project pages: before and after pairs, works grid */
.ba-pairs { display: grid; gap: 28px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-pair figure, .works-grid figure { margin: 0; }
.ba-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.works-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.ba-pair figcaption, .works-grid figcaption { font-size: 13px; color: var(--muted, #777); margin-top: 6px; }
@media (max-width: 640px) { .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ba-pair { gap: 8px; } }
/* Home: row of short videos */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; }
.reels .video-tall { max-width: none; margin: 0; }
@media (max-width: 640px) { .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .reels .yt-play .ico { width: 40px; height: 40px; } }