/* ==========================================================================
   ETSLI — site styles
   Brand tokens. Change colours / fonts here and the whole site follows.
   ========================================================================== */
:root {
  --blue: #0B4F8A;        /* brand blue, taken from the ETSLI logo */
  --blue-dark: #083C6A;   /* hover state */
  --blue-tint: #E7EEF5;   /* icon backgrounds */
  --sky: #8DB8E0;         /* accents on dark backgrounds */
  --ink: #0E1B26;         /* main text + dark sections */
  --text-2: #45525E;      /* secondary text */
  --text-3: #6B7680;      /* small labels */
  --stone: #F4F1EB;       /* warm light background */
  --white: #FFFFFF;
  --line: #E2DCD1;        /* borders on light backgrounds */
  --line-dark: #243646;   /* borders on dark backgrounds */
  --muted-dark: #A9B6C2;  /* secondary text on dark backgrounds */
  --live: #2E8B57;        /* "now leasing" dot */

  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5.5vw, 80px);
  --section: clamp(72px, 9vw, 120px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  color: var(--ink); background: var(--stone); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: var(--white); }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.eyebrow.light { color: var(--sky); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.03; letter-spacing: -.01em; }
.lead { margin: 0; font-size: clamp(17px, 1.4vw, 18px); line-height: 1.65; color: var(--text-2); max-width: 60ch; }
.link-arrow { font-size: 15px; font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 600; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--stone); color: var(--ink); }
.btn-ghost-light { border-color: var(--white); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 15px; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--stone); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.phone { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.lang { display: flex; border: 1px solid #CFC7B8; border-radius: 999px; padding: 3px; }
.lang a { min-width: 44px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--white); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; }

@media (max-width: 1180px) {
  .nav, .header-actions .phone, .header-actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { height: 72px; }
  .logo img { height: 38px; }
  .mobile-nav { border-top: 1px solid var(--line); padding: 12px var(--gutter) 24px; background: var(--stone); }
  .mobile-nav.open { display: block; }
  .mobile-nav a.item { display: block; padding: 14px 0; font-size: 18px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav .actions { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
}

/* ---------------- Hero ---------------- */
.hero { padding-block: clamp(32px, 4vw, 56px) clamp(64px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 660px); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(50px, 5.6vw, 80px); line-height: .98; letter-spacing: -.015em; }
.hero h1 em { color: var(--blue); }
.hero .lead { font-size: clamp(17px, 1.45vw, 19px); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.hero-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 660 / 580; max-width: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.leasing-card { position: absolute; left: 24px; bottom: 24px; width: min(320px, calc(100% - 48px)); padding: 22px 24px; background: var(--white); border-radius: 14px; box-shadow: 0 12px 32px rgba(14, 27, 38, .18); display: flex; flex-direction: column; gap: 6px; }
.leasing-card .eyebrow { font-size: 12px; gap: 8px; }
.leasing-card .eyebrow .dot { width: 7px; height: 7px; color: var(--live); }
.leasing-card .name { font-family: var(--font-display); font-size: 30px; line-height: 1.1; }
.leasing-card .meta { font-size: 14px; color: var(--text-2); }
.leasing-card a { margin-top: 8px; font-size: 14px; font-weight: 700; }

@media (max-width: 960px) {
  .hero { padding-top: 0; }
  .hero .wrap { grid-template-columns: 1fr; padding-inline: 0; gap: 32px; }
  .hero-media { order: -1; border-radius: 0; aspect-ratio: 4 / 3; max-height: 460px; width: 100%; }
  .hero-copy { padding-inline: var(--gutter); }
  .leasing-card { left: 16px; bottom: 16px; padding: 14px 16px; }
  .leasing-card .name { font-size: 24px; }
}
@media (max-width: 520px) {
  .leasing-card .meta, .leasing-card a { display: none; }
  .cta-row .btn { width: 100%; }
}

/* ---------------- Stats strip ---------------- */
.stats { background: var(--white); border-block: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 40px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-inline: 32px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 3.4vw, 48px); line-height: 1; }
.stat span { font-size: 15px; color: var(--text-2); }
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding-block: 32px; }
  .stat { padding-inline: 0; border-left: 0; }
}

/* ---------------- Sections ---------------- */
.section { padding-block: var(--section); }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > div { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.section-head .side { align-items: flex-start; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 20px; } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 22px; }
.service .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.service h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.checks li { display: flex; gap: 10px; }
.checks svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
@media (max-width: 1180px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .service { padding: 26px 22px; } }

/* Properties */
.props-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; margin-bottom: 48px; }
.props-head > .intro { display: flex; flex-direction: column; gap: 18px; max-width: 700px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #CFC7B8; background: var(--white); color: var(--ink); font: 600 14px var(--font-body); cursor: pointer; white-space: nowrap; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (max-width: 700px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
}
.props-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.prop { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.prop[hidden] { display: none; }
.prop .photo { position: relative; aspect-ratio: 16 / 10; background: var(--line); }
.prop .photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 16px; left: 16px; min-height: 32px; padding: 0 14px; display: flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--white); color: var(--ink); }
.badge.on { background: var(--blue); color: var(--white); }
.badge.on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7FE0A8; }
.prop .body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 18px; flex-grow: 1; }
.prop .hood { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.prop h3 { margin: 4px 0; font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.prop .addr { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid #ECE7DE; padding-top: 16px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 2px; }
.facts dt { font-size: 12px; color: var(--text-3); }
.facts dd { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { min-height: 28px; padding: 0 10px; display: flex; align-items: center; border-radius: 6px; background: var(--stone); font-size: 13px; font-weight: 500; color: var(--text-2); }
.prop .go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink); }
.prop .go:hover { border-color: var(--ink); color: var(--ink); }
.prop .go span { color: var(--blue); }
.props-foot { display: flex; justify-content: center; margin-top: 48px; }
@media (max-width: 1180px) { .props-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (max-width: 700px) { .props-grid { grid-template-columns: 1fr; } .prop .body { padding: 22px 20px 22px; } }

/* About (dark) */
.about .wrap { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.about figure img { width: 100%; aspect-ratio: 620 / 470; object-fit: cover; border-radius: var(--radius); }
.about figcaption { font-size: 14px; color: var(--muted-dark); }
.about .copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.about .lead { color: #C9D2DA; }
.points { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.points svg { color: var(--sky); }
.points strong { display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.points p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted-dark); }
@media (max-width: 960px) { .about .wrap { grid-template-columns: 1fr; } }

/* Tenants */
.tenants .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: clamp(40px, 6vw, 88px); align-items: center; }
.tenants .copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.actions-list { display: flex; flex-direction: column; gap: 12px; max-width: 540px; }
.action { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 12px 24px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.action:hover { border-color: var(--ink); color: var(--ink); }
.action strong { display: block; font-size: 17px; font-weight: 600; }
.action small { font-size: 14px; color: var(--text-2); }
.action .arrow { font-size: 20px; color: var(--blue); }
.emergency { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: 14px; background: var(--ink); color: var(--white); font-size: 15px; }
.emergency svg { color: var(--sky); flex-shrink: 0; }
.emergency a { color: var(--white); font-weight: 700; white-space: nowrap; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.duo figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.duo figure:last-child { margin-top: 56px; }
.duo img { width: 100%; aspect-ratio: 310 / 460; object-fit: cover; border-radius: var(--radius); }
.duo figcaption { font-size: 14px; color: var(--text-2); }
@media (max-width: 960px) {
  .tenants .wrap { grid-template-columns: 1fr; }
  .duo img { aspect-ratio: 4 / 5; }
  .duo figure:last-child { margin-top: 32px; }
}

/* Blog */
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 48px; }
.blog-head > div { display: flex; flex-direction: column; gap: 14px; }
.blog-head .h2 { font-size: clamp(34px, 3.4vw, 44px); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.post { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1.5px solid var(--ink); }
.post .kicker { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.post h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.post p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; gap: 32px; } }

/* Contact band */
.contact { position: relative; overflow: hidden; color: var(--white); }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(14, 27, 38, .74); z-index: 1; }
.contact .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: clamp(80px, 9vw, 120px); }
.contact .copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.contact h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.01em; }
.contact .lead { color: #D5DDE4; }
.card-info { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.card-info h3 { margin: 0; font-size: 18px; font-weight: 600; }
.card-info .row { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.card-info .row svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.card-info .row a { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .contact .wrap { grid-template-columns: 1fr; } .card-info { padding: 24px; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding-block: 88px 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 56px; }
.foot-grid > div, .foot-grid > nav { display: flex; flex-direction: column; gap: 14px; }
.foot-grid img { height: 56px; width: auto; align-self: flex-start; margin-bottom: 6px; }
.foot-grid p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted-dark); max-width: 360px; }
.foot-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.foot-grid a, .foot-grid span { font-size: 15px; line-height: 1.6; color: var(--white); }
.foot-grid .small { font-size: 13px; color: var(--muted-dark); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--muted-dark); }
.foot-bottom a { color: var(--muted-dark); }
.foot-bottom a[aria-current="true"] { color: var(--white); font-weight: 700; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .site-footer { padding-top: 64px; } }

/* ==========================================================================
   Inner pages: buildings, blog, contact
   ========================================================================== */
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.prop h3 a { color: inherit; }
.prop h3 a:hover { color: var(--blue); }
.prop .photo { display: block; }
.post h3 a, .post h2 a { color: var(--ink); }
.post h3 a:hover, .post h2 a:hover { color: var(--blue); }
.post h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.post .more { font-size: 14px; font-weight: 700; margin-top: 4px; }
.h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }

/* Page header */
.page-head { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px); }
.page-head .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: -.015em; }
.page-head .lead { max-width: 64ch; }
.page-head.narrow .wrap, .wrap.narrow { max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-3); margin-bottom: 8px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }

/* Building header + gallery */
.bhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.bhead > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.bhead .addr { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--text-2); }
.bhead-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gallery-wrap { padding-bottom: clamp(48px, 6vw, 80px); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery .thumb { position: relative; display: block; padding: 0; border: 0; background: var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery .thumb:hover img { transform: scale(1.03); }
.gallery .thumb.main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; border-radius: var(--radius); }
.gallery .count { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(14, 27, 38, .78); color: var(--white); font: 600 14px var(--font-body); }
@media (prefers-reduced-motion: reduce) { .gallery .thumb img { transition: none; } }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery .thumb.main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bhead-actions .btn { flex: 1 1 100%; }
}

/* Building details */
.bdetail { padding-top: 0; }
.bdetail .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(40px, 6vw, 88px); align-items: start; }
.bmain { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.bmain .h3 + .prose, .bmain .h3 + .checks { margin-top: -6px; }
.bmain .h3:not(:first-child) { margin-top: 18px; }
.bmain .checks { font-size: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.maplink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 8px; }
.bside { position: sticky; top: 108px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.bside .status { padding: 12px 14px; border-radius: 12px; background: var(--stone); font-size: 15px; font-weight: 600; line-height: 1.45; }
.bside .status.on { background: var(--blue-tint); color: var(--blue); }
.facts.big dd { font-size: 17px; }
.bside .facts { border-top: 0; padding: 4px 0 8px; grid-template-columns: 1fr; gap: 0; }
.bside .facts div { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid #ECE7DE; }
.bside .facts dt { font-size: 14px; }
.bside .facts dd { text-align: right; }
.bside .note { margin: 0; font-size: 13px; color: var(--text-3); text-align: center; }
@media (max-width: 960px) {
  .bdetail .wrap { grid-template-columns: 1fr; }
  .bside { position: static; }
}
@media (max-width: 560px) { .bmain .checks { grid-template-columns: 1fr; } }

/* Long-form text */
.prose { font-size: 17px; line-height: 1.75; color: #2B3843; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin: 1.8em 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 34px); line-height: 1.15; color: var(--ink); }
.prose h3 { margin: 1.5em 0 0; font-size: 19px; font-weight: 600; color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose > p + ul { margin-top: .6em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue); }
.prose > h2:first-child { margin-top: 0; }

/* Blog */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.feature .fimg { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.feature .fimg img { width: 100%; height: 100%; object-fit: cover; }
.feature .fcopy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.feature h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; }
.feature h2 a { color: var(--ink); }
.feature p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.post-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-body { padding-top: clamp(40px, 5vw, 64px); }
.post-cta { margin-top: 56px; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.post-cta p { margin: 4px 0 0; color: var(--text-2); font-size: 15px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.cform { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #CFC7B8; border-radius: 10px; background: var(--white); color: var(--ink); font: 400 16px var(--font-body); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sky); outline-offset: 0; border-color: var(--blue); }
.cform .btn { align-self: flex-start; border: 0; cursor: pointer; font-family: var(--font-body); }
.cform .note { margin: 0; font-size: 13px; color: var(--text-3); }
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #FBEAEA; color: #8A1F1F; font-size: 14px; font-weight: 600; }
.form-error[hidden] { display: none; }
.cinfo { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.crow { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.crow svg { color: var(--blue); margin-top: 2px; }
.crow div { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.crow strong { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.crow a { font-weight: 600; }
.map { width: 100%; height: 280px; border: 0; border-radius: var(--radius); background: var(--line); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .cform .btn { align-self: stretch; } }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--blue); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--text-2); max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(8, 14, 20, .94); color: var(--white); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(8, 14, 20, .94); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1100px, calc(100vw - 140px)); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { font-size: 15px; color: #C9D2DA; text-align: center; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox figure { max-width: calc(100vw - 24px); }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 40px var(--gutter); max-width: 720px; margin: 0 auto; }
.notfound h1 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.notfound p { margin: 0; font-size: 18px; color: var(--text-2); }
