/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --red: #1F5A46;
  --red-deep: #17463A;
  --ink: #14171C;
  --ink-2: #262B33;
  --muted: #5B626D;
  --faint: #8A9099;
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --sand: #EDEAE4;
  --line: rgba(20, 23, 28, .1);
  --line-2: rgba(20, 23, 28, .18);
  --corp: #8A5A1F;

  --gutter: clamp(20px, 4.4vw, 64px);
  --maxw: 1440px;
  --header-h: 80px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  /* Pill corners (tags pinned to an edge keep a flat side, see components.css). */
  --D: 999px;

  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (max-width: 759px) { :root { --header-h: 64px; } }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
html.menu-open { overflow: hidden; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 20px 12px 16px; background: var(--ink); color: #fff; border-radius: var(--D); font-weight: 600; font-size: 14px; transform: translateY(-160%); transition: transform .2s var(--ease-out); }
.skip:focus { transform: none; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Type
   ========================================================================== */
/* "Belgian real estate" is ~8.6em wide: keep it on one line inside 8 of 12 columns. */
.display {
  font-weight: 500;
  font-size: clamp(2.75rem, min(6.7vw, 11vh), 6rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.h2 {
  font-weight: 500;
  font-size: clamp(2.1rem, 1.25rem + 2.9vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--red); border-radius: 2px; }
.eyebrow--light { color: #fff; }
.lead { font-size: clamp(1.02rem, .96rem + .28vw, 1.18rem); line-height: 1.62; color: var(--muted); text-wrap: pretty; }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 28px 0 24px;
  border-radius: var(--D);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:focus-visible { outline-color: var(--ink); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--sm { height: 44px; padding: 0 20px 0 18px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--red-deep); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn:hover .i { transform: translateX(3px); }
}

.link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.link > span { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size .45s var(--ease-out); }
.link .i { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover > span { background-size: 0 1.5px; background-position: 100% 100%; }
  .link:hover .i { transform: translateX(4px); }
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, opacity .25s ease, transform .16s var(--ease-out);
}
.icon-btn:active:not(:disabled) { transform: scale(.94); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn--prev .i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .icon-btn:not(:disabled):hover { background: var(--ink); color: #fff; box-shadow: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h); transition: transform .5s var(--ease-out); }
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 246, 243, .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .35s ease;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; }

.brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__ring { fill: var(--red); }
.brand__core { fill: var(--ink); }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .07em; white-space: nowrap; }
.brand__since { margin-top: 5px; padding-top: 4px; border-top: 1px solid var(--line-2); font-size: 8.5px; font-weight: 500; line-height: 1; letter-spacing: .56em; color: var(--red); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 36px); }
.nav a { position: relative; padding: 10px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: right center; transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--ink); }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left center; }
}

.header__actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.lang a { padding: 6px 7px; color: var(--faint); transition: color .2s ease; }
.lang a[aria-current="true"] { color: var(--ink); }
@media (hover: hover) { .lang a:hover { color: var(--ink); } }

.menu-btn { display: none; align-items: center; gap: 12px; height: 44px; padding: 0 2px 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.menu-btn__icon { position: relative; width: 26px; height: 12px; }
.menu-btn__icon i { position: absolute; left: 0; width: 100%; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out), width .4s var(--ease-out); }
.menu-btn__icon i:nth-child(1) { top: 1.5px; }
.menu-btn__icon i:nth-child(2) { top: 8.5px; width: 62%; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:nth-child(2) { top: 5px; width: 100%; transform: rotate(-45deg); }

/* ==========================================================================
   Mobile menu
   ========================================================================== */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--header-h) + 24px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-io), visibility 0s linear .6s;
}
.menu.is-open { visibility: visible; clip-path: inset(0); transition: clip-path .6s var(--ease-io), visibility 0s; }
.menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.9rem, 7.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.04em;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .4s ease, transform .6s var(--ease-out);
}
.menu__nav a .i { width: 26px; height: 26px; color: var(--faint); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i, 0) * 50ms); }
.menu__foot { display: grid; gap: 22px; opacity: 0; transition: opacity .5s ease; }
.menu.is-open .menu__foot { opacity: 1; transition-delay: .5s; }
.menu__foot .lang { font-size: 14px; }
.menu__foot .lang a { padding: 8px 12px 8px 0; }
.menu__contact { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.menu__foot .btn { justify-self: start; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(28px, 4.2vw, 64px)); }
.hero__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.hero__eyebrow { grid-column: 1 / -1; margin-bottom: clamp(20px, 2.2vw, 30px); }
.hero__title { grid-column: 1 / span 8; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__aside { grid-column: 9 / -1; display: grid; gap: 26px; padding-bottom: .5em; }
.hero__aside .lead { max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.hero__stage { position: relative; margin-top: clamp(32px, 3.6vw, 56px); }
.hero__media {
  position: relative;
  height: clamp(420px, 74vh, 880px);
  overflow: hidden;
  background: var(--sand);
  clip-path: inset(0 var(--gutter) 0 var(--gutter) round 32px);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.08); transform-origin: 45% 55%; }
.hero__dock { position: sticky; bottom: 22px; z-index: 5; margin-top: -42px; padding-inline: var(--gutter); }

/* Load choreography (only when JS is running) */
.js .header__inner { opacity: 0; transform: translate3d(0, -8px, 0); }
.js.is-ready .header__inner { opacity: 1; transform: none; transition: opacity .8s ease .05s, transform .9s var(--ease-out) .05s; }
.js .hero__title .line > span { transform: translate3d(0, 108%, 0); }
.js.is-ready .hero__title .line > span { transform: none; transition: transform 1.15s var(--ease-out); }
.js.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .07s; }
.js.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .14s; }
.js [data-intro] { opacity: 0; transform: translate3d(0, 14px, 0); }
.js.is-ready [data-intro] { opacity: 1; transform: none; transition: opacity .9s ease var(--dl, .35s), transform 1.1s var(--ease-out) var(--dl, .35s); }
.js .hero__media { opacity: 0; }
.js .hero__media.is-shown { opacity: 1; transition: opacity .6s ease; }

/* ==========================================================================
   Search dock
   ========================================================================== */
.dock {
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: 1080px;
  height: 84px;
  margin-inline: auto;
  padding: 8px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border-radius: var(--D);
  box-shadow: 0 30px 70px -30px rgba(20, 23, 28, .55), 0 10px 24px -12px rgba(20, 23, 28, .22), inset 0 0 0 1px rgba(255, 255, 255, .65);
}
.seg { position: relative; isolation: isolate; flex: none; display: grid; grid-template-columns: 1fr 1fr; width: 180px; padding: 5px; background: var(--sand); }
.seg__thumb { position: absolute; z-index: -1; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: var(--ink); border-radius: var(--D); transition: transform .3s var(--ease-out); }
.seg[data-value="rent"] .seg__thumb { transform: translateX(100%); }
.seg__btn { font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .25s ease; }
.seg__btn[aria-selected="true"] { color: #fff; }

.field { position: relative; flex: 1 1 0; min-width: 0; display: flex; }
.field + .field { box-shadow: inset 1px 0 0 var(--line); }
.field__box { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 100%; padding: 0 22px; text-align: left; transition: background-color .2s ease; }
.field__label { font-size: 10.5px; font-weight: 600; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.field__input { width: 100%; padding: 0; border: 0; outline: none; background: none; font-size: 15.5px; font-weight: 500; line-height: 1.3; color: var(--ink); text-overflow: ellipsis; }
.field__input::placeholder { color: var(--ink); opacity: .5; }
.field__value { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.field__value .i { width: 16px; height: 16px; color: var(--faint); transition: transform .25s var(--ease-out); }
.field.is-open .field__value .i { transform: rotate(180deg); }
.field:focus-within .field__box, .field.is-open .field__box { background: rgba(20, 23, 28, .04); }
@media (hover: hover) and (pointer: fine) { .field__box:hover { background: rgba(20, 23, 28, .04); } }

.dock__submit { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 0 32px 0 26px; border-radius: var(--D); background: var(--red); color: #fff; font-size: 15px; font-weight: 600; transition: background-color .2s ease, transform .16s var(--ease-out); }
.dock__submit .i { width: 19px; height: 19px; }
.dock__submit:active { transform: scale(.97); }
.dock__submit:focus-visible { outline-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .dock__submit:hover { background: var(--red-deep); } }

.pop {
  position: absolute;
  left: 0;
  bottom: calc(100% + 18px);
  z-index: 20;
  min-width: 100%;
  width: max-content;
  max-width: 300px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 24px 60px -24px rgba(20, 23, 28, .45), 0 0 0 1px rgba(20, 23, 28, .07);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 8px, 0) scale(.97);
  transform-origin: bottom left;
  transition: opacity .16s ease, transform .2s var(--ease-out), visibility 0s linear .2s;
}
.pop[data-dir="down"] { bottom: auto; top: calc(100% + 18px); transform-origin: top left; transform: translate3d(0, -8px, 0) scale(.97); }
.field.is-open .pop { opacity: 1; visibility: visible; transform: none; transition: opacity .16s ease, transform .2s var(--ease-out), visibility 0s; }
.pop__opt { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; padding: 11px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-align: left; transition: background-color .15s ease; }
.pop__opt::after { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--red); opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .2s var(--ease-out); }
.pop__opt[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.pop__opt[aria-selected="true"]::after { opacity: 1; transform: none; }
@media (hover: hover) { .pop__opt:hover { background: var(--bg); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(96px, 11vw, 176px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h2 { margin-top: 20px; max-width: 20ch; }
.section-head__aside { display: flex; align-items: center; gap: 12px; flex: none; }

/* About ------------------------------------------------------------------ */
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.about__text { grid-column: 1 / span 6; }
.about__text .h2 { margin-top: 22px; max-width: 14ch; }
.about__body { display: grid; gap: 18px; margin-top: 30px; max-width: 54ch; }
.about__body p:not(.lead) { color: var(--muted); }
.about__text .link { margin-top: 36px; }
.about__figure { grid-column: 8 / -1; position: relative; }

.dframe { position: relative; width: 100%; aspect-ratio: 1; }
.dframe__photo { position: absolute; inset: 5.4%; overflow: hidden; border-radius: 50% 50% 0 0; background: var(--sand); }
.dframe__photo img { width: 100%; height: 100%; object-fit: cover; }
.dframe__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dframe__ring path { fill: none; stroke: var(--red); stroke-width: 2.4; }

.badge { position: absolute; left: -28px; bottom: 8%; display: flex; align-items: center; gap: 14px; padding: 16px 28px 16px 20px; background: var(--surface); border-radius: var(--D); box-shadow: 0 24px 50px -24px rgba(20, 23, 28, .4); }
.badge__num { font-size: 42px; font-weight: 600; line-height: 1; letter-spacing: -.05em; color: var(--red); }
.badge__txt { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(72px, 9vw, 136px); }
.stat { padding-top: 24px; border-top: 1px solid var(--line-2); }
.stat__num { display: flex; align-items: baseline; font-size: clamp(2.75rem, 1.7rem + 3vw, 5rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat__num .red { color: var(--red); }
.stat__label { margin-top: 16px; max-width: 27ch; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* Listings -------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
.card { position: relative; display: flex; flex-direction: column; }
.card--feature { grid-column: span 2; grid-row: span 2; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); }
.card--feature .card__media { flex: 1; aspect-ratio: auto; min-height: 440px; }
.card__media img, .pcard__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  transition: opacity .7s ease, transform 1.1s var(--ease-out), scale 1.6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media img, .pcard:hover .pcard__media img { transform: scale(1.045); }
}
.tag {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 0;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 16px 0 14px;
  border-radius: var(--D);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
}
.save { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); transition: transform .16s var(--ease-out), color .2s ease; }
.save .i { width: 19px; height: 19px; transition: fill .2s ease; }
.save:active { transform: scale(.9); }
.save[aria-pressed="true"] { color: var(--red); }
.save[aria-pressed="true"] .i { fill: currentColor; }
.card__body { padding-top: 18px; }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.card__title, .card__price { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
.card__price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.card--feature .card__title, .card--feature .card__price { font-size: clamp(19px, 1.1vw + 6px, 23px); }
.card__link::after, .pcard__link::after, .dept__link::after, .opt__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .i { width: 17px; height: 17px; stroke-width: 1.5; color: var(--faint); }
.abroad { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(48px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 15px; font-weight: 500; }
.abroad__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.abroad a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.abroad a .i { width: 16px; height: 16px; color: var(--faint); transition: transform .35s var(--ease-out), color .2s ease; }
@media (hover: hover) and (pointer: fine) { .abroad a:hover { color: var(--red); } .abroad a:hover .i { color: var(--red); transform: translate(2px, -2px); } }

/* Projects rail ------------------------------------------------------------ */
.rail {
  --pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(290px, 30vw, 440px);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding-inline: var(--pad);
  padding-bottom: 8px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
@media (pointer: fine) { .rail { cursor: grab; } }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail.is-dragging a { pointer-events: none; }
.pcard { position: relative; scroll-snap-align: start; }
.pcard__media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: var(--sand); }
.pcard__body { padding-top: 18px; }
.pcard__name { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.pcard__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.pcard__meta strong { font-weight: 600; color: var(--ink); }
.rail-foot { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.rail-progress { position: relative; flex: 1; height: 2px; overflow: hidden; background: var(--line); }
.rail-progress span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(.25); transform-origin: left center; }
.rail-count { min-width: 56px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }

/* Departments ------------------------------------------------------------ */
.depts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dept-wrap { display: flex; }
.dept-wrap > .dept { flex: 1; }
.dept {
  --accent: var(--red);
  --pad: clamp(24px, 3.2vw, 48px);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(520px, 50vw, 740px);
  padding: var(--pad);
  overflow: hidden;
  color: #fff;
}
.dept--corp { --accent: var(--corp); }
.dept__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease, transform 1.4s var(--ease-out), scale 1.8s var(--ease-out); }
.dept::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 23, 28, .08) 0%, rgba(20, 23, 28, .1) 38%, rgba(20, 23, 28, .8) 100%); }
.dept::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease-out); }
.dept__tag { position: absolute; top: var(--pad); left: 0; display: inline-flex; align-items: center; height: 34px; padding: 0 20px 0 var(--pad); border-radius: var(--D); background: var(--accent); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.dept__go { position: absolute; top: calc(var(--pad) - 11px); right: var(--pad); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .5s var(--ease-out), background-color .3s ease, color .3s ease; }
.dept__title { max-width: 13ch; font-size: clamp(1.9rem, 1.1rem + 2vw, 3.1rem); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; }
.dept__text { margin-top: 16px; max-width: 44ch; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .84); }
.chips { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px 0 16px; border-radius: var(--D); background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); font-size: 13.5px; font-weight: 600; transition: background-color .2s ease, color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .dept:hover .dept__img { transform: scale(1.04); }
  .dept:hover::after { transform: scaleX(1); }
  .dept:hover .dept__go { transform: rotate(-45deg); background: var(--accent); color: #fff; }
  .chips a:hover { background: #fff; color: var(--ink); }
}

/* Services ---------------------------------------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.services__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.services__intro .h2 { margin-top: 20px; max-width: 13ch; }
.services__intro .lead { margin-top: 24px; max-width: 40ch; }
.services__intro .btn { margin-top: 32px; }
.svc-preview { position: relative; max-width: 460px; margin-top: 44px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--D); background: var(--sand); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .5s ease, transform 1.1s var(--ease-out); }
.svc-preview img.is-active { opacity: 1; transform: none; }
.svc-list { grid-column: 7 / -1; border-bottom: 1px solid var(--line-2); }
.svc a { display: grid; grid-template-columns: 56px minmax(0, 1fr) 52px; align-items: center; gap: 0 16px; padding: 30px 0; border-top: 1px solid var(--line-2); }
.svc__num { align-self: start; padding-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--faint); transition: color .3s ease; }
.svc__title { display: block; font-size: clamp(1.55rem, 1.05rem + 1.4vw, 2.4rem); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; transition: transform .5s var(--ease-out); }
.svc__desc { display: block; max-width: 46ch; margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); transition: transform .5s var(--ease-out) .03s; }
.svc__go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .5s var(--ease-out), background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.svc.is-active .svc__num { color: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .svc a:hover .svc__title, .svc a:hover .svc__desc { transform: translateX(10px); }
  .svc a:hover .svc__go { transform: rotate(-45deg); background: var(--red); color: #fff; box-shadow: none; }
}

/* Valuation ---------------------------------------------------------------- */
.valuation { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(104px, 12vw, 184px); }
.valuation__deco { position: absolute; top: 50%; right: -9vw; height: 82%; width: auto; aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.valuation__ring { fill: rgba(255, 255, 255, .04); }
.valuation__core { fill: rgba(255, 255, 255, .025); }
.valuation__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.valuation__main { grid-column: 1 / span 7; }
.valuation__main .h2 { margin-top: 22px; max-width: 15ch; }
.valuation__main .lead { margin-top: 26px; max-width: 50ch; color: rgba(255, 255, 255, .7); }
.addr { display: flex; align-items: center; max-width: 620px; height: 68px; margin-top: 40px; padding: 6px 6px 6px 22px; border-radius: var(--D); background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.addr > .i { color: var(--red); }
.addr input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: none; background: none; font-size: 16px; font-weight: 500; }
.addr input::placeholder { color: var(--muted); }
.addr .btn { height: 100%; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .74); }
.checks li { display: inline-flex; align-items: center; gap: 10px; }
.checks .i { width: 18px; height: 18px; stroke-width: 2; color: var(--red); }
.valuation__side { grid-column: 9 / -1; }
.opt { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 2px 18px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.opt:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.opt__icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--D); background: rgba(255, 255, 255, .08); }
.opt__title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.opt__text { grid-column: 2; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .64); }
.opt__go { grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); transition: transform .45s var(--ease-out), background-color .25s ease, box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) { .opt:hover .opt__go { transform: rotate(-45deg); background: var(--red); box-shadow: none; } }
.kit { margin-top: 36px; }
.kit__label { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.kit ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.kit li { display: inline-flex; align-items: center; height: 34px; padding: 0 15px 0 13px; border-radius: var(--D); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .86); }

/* Offices ------------------------------------------------------------------ */
.offices__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.offices__main { grid-column: 1 / span 6; }
.offices__main .h2 { margin-top: 20px; max-width: 14ch; }
.offices__main .lead { margin-top: 24px; max-width: 46ch; }
.office-list { margin-top: 48px; border-bottom: 1px solid var(--line-2); }
.office { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--line-2); }
.office__name { display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.office__name::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--line-2); transition: background-color .25s ease, transform .3s var(--ease-out); }
.office.is-active .office__name::before { background: var(--red); transform: scale(1.3); }
.office__note { margin: 6px 0 0 22px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.office__info { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.office__info a { font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .2s ease; }
.office__info a:hover { color: var(--red); }

.offices__map { grid-column: 8 / -1; position: sticky; top: calc(var(--header-h) + 32px); }
.mapcard { position: relative; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mapcard__head, .mapcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.mapcard__foot { padding: 0 24px 22px; letter-spacing: .1em; }
.map { width: 100%; height: auto; }
.map pattern circle { fill: rgba(20, 23, 28, .2); }
.map-line { fill: none; stroke: rgba(20, 23, 28, .25); stroke-width: 1.2; stroke-dasharray: 2 6; stroke-linecap: round; }
.map-dot { cursor: default; }
.map-dot .halo { fill: var(--red); opacity: .05; transition: opacity .4s ease; }
.map-dot .core { fill: var(--ink); transform-box: fill-box; transform-origin: center; transition: fill .25s ease, transform .35s var(--ease-out); }
.map-dot .pulse { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map-dot text { font-size: 16px; font-weight: 600; letter-spacing: -.01em; fill: var(--muted); transition: fill .25s ease; }
.map-dot.is-active .core { fill: var(--red); transform: scale(1.35); }
.map-dot.is-active .halo { opacity: .12; }
.map-dot.is-active .pulse { animation: pulse 2.2s var(--ease-out) infinite; }
.map-dot.is-active text { fill: var(--ink); }
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }

/* Footer ------------------------------------------------------------------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-top: clamp(96px, 10vw, 150px); }
.footer__cta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; padding-bottom: clamp(64px, 8vw, 120px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__cta > div:first-child { grid-column: 1 / span 7; }
.footer__cta .h2 { margin-top: 20px; }
.news { grid-column: 8 / -1; }
.news__form { display: flex; align-items: center; height: 64px; padding: 6px 6px 6px 24px; border-radius: var(--D); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: box-shadow .25s ease, background-color .25s ease; }
.news__form:focus-within { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); }
.news__form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 15.5px; color: #fff; }
.news__form input::placeholder { color: rgba(255, 255, 255, .5); }
.news__form .btn { height: 100%; }
.news__note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .5); }

.footer__cols { display: grid; grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr)); gap: 48px 24px; padding-block: clamp(56px, 6vw, 96px); }
.fbrand .brand__core { fill: #fff; }
.fbrand .brand__since { border-color: rgba(255, 255, 255, .22); }
.fbrand p { max-width: 28ch; margin-top: 22px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.socials .i { width: 18px; height: 18px; }
@media (hover: hover) { .socials a:hover { background: #fff; color: var(--ink); box-shadow: none; } }
.fcol h3 { margin-bottom: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.fcol li + li { margin-top: 11px; }
.fcol a { font-size: 14.5px; color: rgba(255, 255, 255, .82); transition: color .2s ease; }
.fcol a:hover { color: #fff; }
.footer__legal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 48px; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; line-height: 1.65; color: rgba(255, 255, 255, .48); }
.footer__concept { grid-row: 2; color: rgba(255, 255, 255, .34); }
.footer__legal nav { grid-row: 1 / span 2; grid-column: 2; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 22px; }
.footer__legal a { transition: color .2s ease; }
.footer__legal a:hover { color: #fff; }
.bigword { padding: clamp(8px, 2vw, 24px) var(--gutter) clamp(14px, 2.2vw, 32px); }
.bigword__text { display: inline-block; overflow: hidden; padding-bottom: .02em; font-size: 15vw; font-weight: 600; line-height: .8; letter-spacing: -.045em; white-space: nowrap; color: #fff; user-select: none; }
.bigword__ch { display: inline-block; }

/* ==========================================================================
   Scroll reveals (progressive enhancement)
   ========================================================================== */
.js [data-reveal=""] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s ease calc(var(--i, 0) * 80ms), transform 1.1s var(--ease-out) calc(var(--i, 0) * 80ms); }
.js [data-reveal=""].is-in { opacity: 1; transform: none; }

.js [data-reveal="card"] .card__media, .js [data-reveal="card"] .pcard__media { clip-path: inset(100% 0 0 0); }
.js [data-reveal="card"].is-in .card__media, .js [data-reveal="card"].is-in .pcard__media { clip-path: inset(0); transition: clip-path 1.15s var(--ease-io) calc(var(--i, 0) * 90ms); }
.js [data-reveal="card"] .card__media img, .js [data-reveal="card"] .pcard__media img { scale: 1.18; }
.js [data-reveal="card"].is-in .card__media img, .js [data-reveal="card"].is-in .pcard__media img { scale: 1; transition-delay: 0s, 0s, calc(var(--i, 0) * 90ms); }
.js [data-reveal="card"] .card__body, .js [data-reveal="card"] .pcard__body { opacity: 0; transform: translate3d(0, 14px, 0); }
.js [data-reveal="card"].is-in .card__body, .js [data-reveal="card"].is-in .pcard__body { opacity: 1; transform: none; transition: opacity .8s ease calc(var(--i, 0) * 90ms + .3s), transform 1s var(--ease-out) calc(var(--i, 0) * 90ms + .3s); }

/* An element hidden by its own clip-path never intersects, so "clip" observes a wrapper and clips its child. */
.js [data-reveal="clip"] > * { clip-path: inset(100% 0 0 0); }
.js [data-reveal="clip"].is-in > * { clip-path: inset(0); transition: clip-path 1.3s var(--ease-io) calc(var(--i, 0) * 110ms); }
.js [data-reveal="clip"] .dept__img { scale: 1.2; }
.js [data-reveal="clip"].is-in .dept__img { scale: 1; transition-delay: 0s, 0s, calc(var(--i, 0) * 110ms); }

.js [data-reveal="frame"] .dframe__photo { clip-path: inset(0 100% 0 0); }
.js [data-reveal="frame"].is-in .dframe__photo { clip-path: inset(0); transition: clip-path 1.5s var(--ease-io) .15s; }
.js [data-reveal="frame"] .dframe__photo img { transform: scale(1.2); }
.js [data-reveal="frame"].is-in .dframe__photo img { transform: none; transition: transform 2s var(--ease-out) .15s; }
.js [data-reveal="frame"] .dframe__ring path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js [data-reveal="frame"].is-in .dframe__ring path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.9s var(--ease-io); }
.js [data-reveal="deco"] { opacity: 0; translate: -4% 0; }
.js [data-reveal="deco"].is-in { opacity: 1; translate: 0 0; transition: opacity 1.6s ease, translate 2.2s var(--ease-out); }

.js [data-reveal="letters"] .bigword__ch { transform: translate3d(0, 105%, 0); }
.js [data-reveal="letters"].is-in .bigword__ch { transform: none; transition: transform 1.2s var(--ease-out) calc(var(--c, 0) * 38ms); }

.js img.fade { opacity: 0; }
.js img.fade.is-loaded { opacity: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1200px) { .menu { display: none; } }

@media (max-width: 1199px) {
  .nav, .header__actions > .lang { display: none; }
  .menu-btn { display: inline-flex; }
  .header__inner { grid-template-columns: 1fr auto; }
  .display { font-size: clamp(2.75rem, min(8.5vw, 11vh), 6rem); }
  .hero__title { grid-column: 1 / -1; }
  .hero__aside { grid-column: 1 / span 9; margin-top: 30px; padding-bottom: 0; }
  .hero__aside .lead { max-width: 52ch; }
  .dock .field--budget { display: none; }
  .services__intro { grid-column: 1 / -1; position: static; }
  .svc-preview { display: none; }
  .svc-list { grid-column: 1 / -1; margin-top: 56px; }
  .offices__main { grid-column: 1 / -1; }
  .offices__map { grid-column: 1 / -1; position: static; margin-top: 56px; }
  .valuation__main, .valuation__side { grid-column: 1 / -1; }
  .valuation__side { margin-top: 64px; max-width: 640px; }
  .valuation__deco { top: auto; bottom: 4%; height: auto; width: min(88vw, 700px); right: -22vw; transform: none; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fbrand { grid-column: 1 / -1; }
}

@media (max-height: 860px) and (min-width: 1200px) { .svc-preview { display: none; } }

@media (max-width: 899px) {
  .about__text, .about__figure { grid-column: 1 / -1; }
  .about__figure { max-width: 480px; margin-top: 64px; margin-left: 28px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--feature { grid-column: 1 / -1; grid-row: auto; }
  .card--feature .card__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .depts__grid { grid-template-columns: 1fr; }
  .footer__cta > div:first-child, .news { grid-column: 1 / -1; }
  .news { margin-top: 40px; max-width: 560px; }
  .footer__legal { grid-template-columns: 1fr; }
  .footer__legal nav, .footer__concept { grid-row: auto; grid-column: auto; }
}

@media (max-width: 759px) {
  .header__cta { display: none; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 13.5px; }
  .brand__since { font-size: 7.6px; }
  .display { font-size: min(10.4vw, 3rem); }
  .hero__aside { grid-column: 1 / -1; margin-top: 22px; gap: 22px; }
  .hero__ctas { gap: 8px; }
  .hero__ctas .btn { height: 48px; padding: 0 18px 0 16px; font-size: 14px; }
  .br-wide { display: none; }
  .valuation__deco { width: 118vw; right: -52vw; bottom: 3%; }
  .hero__stage { display: flex; flex-direction: column; margin-top: 32px; }
  .hero__dock { order: -1; position: static; margin: 0 0 24px; }
  .hero__media { height: auto; aspect-ratio: 1 / 1.08; }
  .dock { flex-wrap: wrap; height: auto; gap: 6px; padding: 8px; border-radius: 24px; }
  .seg { width: 100%; height: 50px; }
  .field--type { display: none; }
  .field--where { flex-basis: 100%; height: 62px; }
  .dock__submit { flex: 1; justify-content: center; height: 54px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .bento {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .bento::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card--feature { grid-column: auto; }
  .card--feature .card__media { aspect-ratio: 4 / 3; }
  .card--feature .card__title, .card--feature .card__price { font-size: 17px; }
  .rail { grid-auto-columns: 84%; gap: 16px; }
  .badge { left: -20px; padding: 12px 20px 12px 16px; }
  .badge__num { font-size: 34px; }
  .svc a { grid-template-columns: 36px minmax(0, 1fr) 44px; padding: 24px 0; }
  .svc__go { width: 44px; height: 44px; }
  .office { grid-template-columns: 1fr; }
  .mapcard__head, .mapcard__foot { padding-inline: 16px; }
  .mapcard__foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .addr { height: auto; flex-wrap: wrap; padding: 8px; border-radius: 24px; }
  .addr > .i { margin-left: 14px; }
  .addr input { height: 52px; }
  .addr .btn { flex-basis: 100%; height: 54px; }
  .opt { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .opt__icon { width: 48px; height: 48px; }
  .news__form { height: auto; flex-wrap: wrap; padding: 8px; border-radius: 24px; }
  .news__form input { height: 52px; padding-left: 14px; }
  .news__form .btn { flex-basis: 100%; height: 54px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Reduced motion: keep fades, drop movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .js .header__inner, .js .hero__title .line > span, .js [data-intro], .js [data-reveal=""],
  .js [data-reveal="card"] .card__body, .js [data-reveal="card"] .pcard__body,
  .js [data-reveal="letters"] .bigword__ch, .js [data-reveal="frame"] .dframe__photo img { transform: none !important; }
  .js [data-reveal="card"] .card__media, .js [data-reveal="card"] .pcard__media,
  .js [data-reveal="clip"] > *, .js [data-reveal="frame"] .dframe__photo { clip-path: none !important; }
  .js [data-reveal] img, .js .dept__img { scale: 1 !important; }
  .js [data-reveal] path { stroke-dashoffset: 0 !important; }
  .js [data-reveal="deco"] { translate: none !important; }
  .js [data-reveal=""] { transition: opacity .5s ease; }
  .map-dot.is-active .pulse { animation: none; }
  .menu { clip-path: none; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; }
  .menu.is-open { clip-path: none; opacity: 1; transition: opacity .25s ease, visibility 0s; }
  .menu__nav a { transform: none; }
  .card:hover .card__media img, .pcard:hover .pcard__media img, .dept:hover .dept__img,
  .svc a:hover .svc__title, .svc a:hover .svc__desc { transform: none !important; }
}


/* ==========================================================================
   Multi-page additions
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

.muted { color: var(--muted); }
.red { color: var(--red); }
[hidden] { display: none !important; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--red); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header: dropdowns + saved ------------------------------------------------ */
.header__inner { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; }
.nav { justify-self: center; }
@media (max-width: 1199px) { .header__inner { grid-template-columns: 1fr auto; } }
.nav__item { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: 5px; padding: 10px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s ease; }
.nav__trigger .i { width: 14px; height: 14px; color: var(--faint); transition: transform .25s var(--ease-out); }
.nav__item.is-open .nav__trigger .i { transform: rotate(180deg); }
.nav a[aria-current="page"], .nav__trigger.is-current { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -18px; z-index: 5; min-width: 230px; padding: 8px;
  background: #fff; box-shadow: 0 24px 60px -24px rgba(20, 23, 28, .4), 0 0 0 1px rgba(20, 23, 28, .06);
  opacity: 0; visibility: hidden; transform: translate3d(0, -6px, 0) scale(.98); transform-origin: top left;
  transition: opacity .16s ease, transform .2s var(--ease-out), visibility 0s linear .2s;
}
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .16s ease, transform .2s var(--ease-out), visibility 0s; }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.dropdown a::after { display: none; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--bg); color: var(--ink); }
.dropdown a small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.hdr-saved { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink-2); transition: background-color .2s ease; }
.hdr-saved:hover { background: rgba(20, 23, 28, .06); }
.hdr-saved .i { width: 20px; height: 20px; }
.hdr-saved__n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; }
.hdr-saved__n:empty { display: none; }
.hdr-saved.bump .hdr-saved__n { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu__sub { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 0 14px; border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s ease; }
.menu.is-open .menu__sub { opacity: 1; transition-delay: .45s; }
.menu__sub a { font-size: 15px; font-weight: 500; color: var(--muted); }
.menu__sub a:hover { color: var(--ink); }
.menu__label { display: block; margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

/* Inner page hero ---------------------------------------------------------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(28px, 3.5vw, 48px); }
.page-hero__title { margin-top: 18px; font-size: clamp(2.5rem, 1.3rem + 4.2vw, 5.4rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.page-hero__title em { font-style: normal; color: var(--red); }
.page-hero__lead { max-width: 58ch; margin-top: 22px; }
.page-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--faint); }
.crumbs a { color: var(--muted); transition: color .2s ease; }
.crumbs a:hover { color: var(--ink); }
.crumbs .i { width: 14px; height: 14px; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.prose { max-width: 70ch; color: var(--ink-2); line-height: 1.75; }
.prose p + p, .prose ul, .prose p + ul, .prose h3, .prose h4 { margin-top: 1em; }
.prose h3, .prose h4 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* Segmented control (reused) ------------------------------------------------ */
.segmented { position: relative; isolation: isolate; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; background: var(--sand); }
.segmented a, .segmented button { position: relative; z-index: 1; display: grid; place-items: center; height: 44px; padding: 0 22px; font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .25s ease; }
.segmented [aria-current="true"], .segmented [aria-pressed="true"], .segmented [aria-selected="true"] { color: #fff; }
.segmented__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; background: var(--ink); border-radius: var(--D); transition: transform .3s var(--ease-out), width .3s var(--ease-out); }

/* Filter bar ---------------------------------------------------------------- */
.filters { position: sticky; top: 0; z-index: 40; padding-block: 12px; background: rgba(247, 246, 243, .88); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 1px 0 var(--line); transition: top .5s var(--ease-out); }
body:has(.header:not(.is-hidden)) .filters { top: var(--header-h); }
.filters__row { display: flex; align-items: center; gap: 8px; }
.filters__scroll { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fbtn { position: relative; }
.fbtn__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 18px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.fbtn__btn .i { width: 15px; height: 15px; color: var(--faint); transition: transform .25s var(--ease-out); }
.fbtn__btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.fbtn.is-active .fbtn__btn { background: var(--ink); color: #fff; box-shadow: none; }
.fbtn.is-active .fbtn__btn .i { color: rgba(255, 255, 255, .7); }
.fbtn.is-open .fbtn__btn .i { transform: rotate(180deg); }
.fbtn__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; }
.fpop {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 30; width: 320px; max-width: calc(100vw - 32px); padding: 18px;
  background: #fff; box-shadow: 0 24px 60px -24px rgba(20, 23, 28, .45), 0 0 0 1px rgba(20, 23, 28, .07);
  opacity: 0; visibility: hidden; transform: translate3d(0, -6px, 0) scale(.98); transform-origin: top left;
  transition: opacity .16s ease, transform .2s var(--ease-out), visibility 0s linear .2s;
}
.fbtn.is-open .fpop { opacity: 1; visibility: visible; transform: none; transition: opacity .16s ease, transform .2s var(--ease-out), visibility 0s; }
.fpop--right { left: auto; right: 0; transform-origin: top right; }
.fpop__title { margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.fpop__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.linkbtn { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }
.opts { display: grid; gap: 2px; }
.opt-row { display: flex; align-items: center; gap: 12px; padding: 10px 10px; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background-color .15s ease; }
.opt-row:hover { background: var(--bg); }
.opt-row input { position: absolute; opacity: 0; pointer-events: none; }
.opt-row__box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; transition: background-color .15s ease, box-shadow .15s ease; }
.opt-row__box .i { width: 14px; height: 14px; color: #fff; stroke-width: 2.4; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .2s var(--ease-out); }
.opt-row input[type="radio"] + .opt-row__box { border-radius: 50%; }
.opt-row input:checked + .opt-row__box { background: var(--red); box-shadow: none; }
.opt-row input:checked + .opt-row__box .i { opacity: 1; transform: none; }
.opt-row input:focus-visible + .opt-row__box { outline: 2px solid var(--red); outline-offset: 2px; }
.opt-row__n { margin-left: auto; font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.citysearch { display: flex; align-items: center; gap: 10px; height: 44px; margin-bottom: 8px; padding: 0 14px; background: var(--bg); }
.citysearch .i { width: 17px; height: 17px; color: var(--faint); }
.citysearch input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 14.5px; }
.opts--scroll { max-height: 280px; overflow-y: auto; overscroll-behavior: contain; }
.bedpick { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.bedpick button { height: 42px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 600; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.bedpick button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.bedpick button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.bedpick button:first-child { grid-column: span 1; }

/* Dual range slider */
.range { position: relative; height: 36px; margin: 6px 4px 0; }
.range__track { position: absolute; top: 50%; left: 0; right: 0; height: 3px; transform: translateY(-50%); background: var(--line-2); }
.range__fill { position: absolute; top: 50%; height: 3px; transform: translateY(-50%); background: var(--red); }
.range input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input::-webkit-slider-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 4px 10px rgba(20, 23, 28, .2); cursor: grab; pointer-events: auto; -webkit-appearance: none; }
.range input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink); cursor: grab; pointer-events: auto; }
.range input:active::-webkit-slider-thumb { cursor: grabbing; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--red), 0 0 0 6px rgba(31, 90, 70, .18); }
.range__vals { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.textinput { width: 100%; height: 46px; padding: 0 14px; border: 0; outline: none; background: var(--bg); box-shadow: inset 0 0 0 1px transparent; font-size: 15px; transition: box-shadow .2s ease; }
.textinput:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }

.sortsel { margin-left: auto; }
.chips-active { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip-x { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 600; transition: box-shadow .2s ease; }
.chip-x:hover { box-shadow: inset 0 0 0 1px var(--red); }
.chip-x .i { width: 14px; height: 14px; color: var(--faint); }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: clamp(24px, 3vw, 36px) 0 22px; }
.results-bar__count { font-size: 15px; font-weight: 500; color: var(--muted); }
.results-bar__count strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
.grid-cards .card__media { aspect-ratio: 4 / 3; }
.loadmore { display: grid; place-items: center; gap: 14px; margin-top: 48px; min-height: 60px; }
.loadmore__note { font-size: 13.5px; color: var(--faint); }

/* Card photo carousel */
.cc { position: absolute; inset: 0; }
.cc img { opacity: 0; transition: opacity .45s ease, transform 1.1s var(--ease-out), scale 1.6s var(--ease-out); }
.cc img.is-on { opacity: 1; }
.cc__btn { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transition: opacity .2s ease, transform .16s var(--ease-out); }
.cc__btn .i { width: 16px; height: 16px; }
.cc__btn--prev { left: 12px; }
.cc__btn--prev .i { transform: rotate(180deg); }
.cc__btn--next { right: 12px; }
.cc__btn:active { transform: scale(.92); }
.card:hover .cc__btn, .cc__btn:focus-visible { opacity: 1; }
@media (hover: none) { .cc__btn { display: none; } }
.cc__dots { position: absolute; left: 50%; bottom: 12px; z-index: 3; display: flex; gap: 5px; transform: translateX(-50%); }
.cc__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background-color .2s ease, width .25s var(--ease-out); }
.cc__dots i.is-on { width: 14px; border-radius: 3px; background: #fff; }
.flag { position: absolute; z-index: 2; top: 16px; left: 0; display: inline-flex; align-items: center; height: 30px; padding: 0 16px 0 14px; border-radius: var(--D); background: var(--red); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.flag--ink { background: var(--ink); }
.flag--corp { background: var(--corp); }
.card--offer .card__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(247, 246, 243, .18); }
.card--offer { cursor: default; }
.card__type { margin-top: 3px; font-size: 14px; color: var(--muted); }
.peb { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border-radius: 11px; font-size: 11px; font-weight: 700; color: #fff; }
.peb--app, .peb--ap, .peb--a { background: #1a9641; } .peb--b { background: #6dbb45; } .peb--c { background: #c4d52f; color: var(--ink); }
.peb--d { background: #ffd200; color: var(--ink); } .peb--e { background: #f7a11a; } .peb--f { background: #ee6a24; } .peb--g { background: #e2231a; }
.card .peb { position: absolute; z-index: 2; right: 12px; bottom: 12px; }

/* Empty state */
.empty { display: grid; justify-items: center; gap: 14px; padding: clamp(48px, 7vw, 96px) 20px; text-align: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.empty__mark { width: 64px; height: 64px; margin-bottom: 6px; }
.empty__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; }
.empty p { max-width: 46ch; color: var(--muted); }
.empty .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* Mobile filter sheet */
.sheet-btn { display: none; }
.sheet { position: fixed; inset: auto 0 0 0; z-index: 90; max-height: 88vh; display: flex; flex-direction: column; background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: 0 -30px 60px -20px rgba(20, 23, 28, .4); transform: translateY(105%); visibility: hidden; transition: transform .45s cubic-bezier(.32, .72, 0, 1), visibility 0s linear .45s; }
.sheet.is-open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.32, .72, 0, 1), visibility 0s; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 10px; }
.sheet__grab { position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); transform: translateX(-50%); }
.sheet__title { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 20px; }
.sheet__group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.sheet__foot { display: flex; gap: 10px; padding: 14px 20px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.sheet__foot .btn { flex: 1; }
.scrim { position: fixed; inset: 0; z-index: 85; background: rgba(20, 23, 28, .45); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.scrim.is-on { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.icon-x { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background-color .2s ease; }
.icon-x:hover { background: rgba(20, 23, 28, .06); }

/* Detail page --------------------------------------------------------------- */
.dt-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: calc(var(--header-h) + 24px); padding-bottom: 20px; }
.backlink { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.backlink .i { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .3s var(--ease-out); }
.backlink:hover .i { transform: rotate(180deg) translateX(4px); }
.pn { display: flex; gap: 8px; }
.pn a, .pn span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; font-weight: 600; transition: box-shadow .2s ease; }
.pn span { opacity: .35; }
.pn a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pn .i { width: 15px; height: 15px; }
.pn__prev .i { transform: rotate(180deg); }

.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(360px, 58vh, 620px); }
.gallery__cell { position: relative; overflow: hidden; background: var(--sand); cursor: zoom-in; }
.gallery__cell:first-child { grid-row: span 2; }
.gallery--1 { grid-template-columns: 1fr; } .gallery--1 .gallery__cell:first-child { grid-row: span 2; }
.gallery--2, .gallery--3, .gallery--4 { grid-template-columns: 2fr 1fr; }
.gallery__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery__cell:hover img { transform: scale(1.035); } }
.gallery__cell:first-child { border-radius: 0; }
.gallery__cell:last-child { border-top-right-radius: 0; }
.gallery__actions { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.gbtn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 16px; border-radius: var(--D); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: 0 8px 24px -10px rgba(20, 23, 28, .35); transition: transform .16s var(--ease-out), background-color .2s ease; }
.gbtn:active { transform: scale(.97); }
.gbtn:hover { background: #fff; }
.gbtn .i { width: 17px; height: 17px; }
.gallery__flag { position: absolute; top: 18px; left: 0; z-index: 2; }

.dt-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; margin-top: clamp(28px, 3.5vw, 44px); }
.dt-head__title { margin-top: 14px; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.dt-head__addr { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; color: var(--muted); }
.dt-head__addr .i { width: 18px; height: 18px; color: var(--red); }
.dt-head__price { text-align: right; }
.dt-head__price strong { display: block; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.dt-head__price span { font-size: 13px; font-weight: 500; color: var(--muted); }
.keyfacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.keyfact { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; }
.keyfact .i { width: 19px; height: 19px; color: var(--red); stroke-width: 1.5; }
.keyfact small { font-weight: 500; color: var(--muted); }
.dt-nav { position: sticky; top: 0; z-index: 30; margin-top: clamp(32px, 4vw, 48px); background: rgba(247, 246, 243, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); transition: top .5s var(--ease-out); }
body:has(.header:not(.is-hidden)) .dt-nav { top: var(--header-h); }
.dt-nav__row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.dt-nav__row::-webkit-scrollbar { display: none; }
.dt-nav a { position: relative; flex: none; padding: 16px 14px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s ease; }
.dt-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.dt-nav a.is-on { color: var(--ink); }
.dt-nav a.is-on::after { transform: scaleX(1); }
.dt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(32px, 4vw, 56px); }
.dt-sec { padding-bottom: clamp(40px, 5vw, 64px); scroll-margin-top: calc(var(--header-h) + 72px); }
.dt-sec + .dt-sec { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.dt-sec__title { margin-bottom: 22px; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; }
.desc { position: relative; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.desc p + p { margin-top: 1em; }
.desc.is-clamped { max-height: 16.5em; overflow: hidden; }
.desc.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5em; background: linear-gradient(transparent, var(--bg)); }
.readmore { margin-top: 16px; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.spec__group { break-inside: avoid; margin-bottom: 28px; }
.spec__group h3 { margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.spec dl { margin: 0; }
.spec__row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec__row dt { color: var(--muted); }
.spec__row dt::first-letter { text-transform: uppercase; }
.spec__row dd { margin: 0; font-weight: 600; text-align: right; }
.spec--collapsed .spec__group:nth-child(n+5) { display: none; }
.energy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; }
.escale { display: grid; gap: 5px; }
.escale__bar { display: flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 12.5px; font-weight: 700; color: #fff; opacity: .28; transition: opacity .3s ease; }
.escale__bar.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.escale__bar em { margin-left: auto; font-style: normal; font-weight: 600; }
.energy__nums { display: grid; gap: 18px; }
.energy__num strong { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.energy__num span { font-size: 13px; color: var(--muted); }
.docs { display: grid; gap: 8px; }
.docs a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; transition: box-shadow .2s ease; }
.docs a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.docs .i { width: 20px; height: 20px; color: var(--red); }
.docs a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docs a .i:last-child { color: var(--faint); }

.mapbox { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbox__gate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; background: radial-gradient(circle at 50% 45%, rgba(31, 90, 70, .08), transparent 55%), var(--sand); }
.mapbox__gate p { max-width: 40ch; font-size: 14px; color: var(--muted); }
.mapbox__pin { width: 44px; height: 44px; color: var(--red); }

.aside { position: sticky; top: calc(var(--header-h) + 80px); display: grid; gap: 16px; }
.aside-card { padding: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.aside-card__price { font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.aside-card__sub { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.aside-card .btn { width: 100%; margin-top: 18px; }
.aside-card .btn + .btn { margin-top: 8px; }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tool { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: box-shadow .2s ease, color .2s ease; }
.tool:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.tool .i { width: 19px; height: 19px; }
.tool[aria-pressed="true"] { color: var(--red); }
.tool[aria-pressed="true"] .i { fill: currentColor; }
.agency { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; }
.agency__img { width: 76px; height: 76px; overflow: hidden; border-radius: 20px; background: var(--sand); }
.agency__img img { width: 100%; height: 100%; object-fit: cover; }
.agency__label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.agency__name { margin-top: 3px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.agency__links { display: grid; gap: 3px; margin-top: 6px; font-size: 13.5px; }
.agency__links a { color: var(--muted); transition: color .2s ease; }
.agency__links a:hover { color: var(--red); }
.banner-proj { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding: 18px 22px; background: var(--ink); color: #fff; }
.banner-proj p { font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.banner-proj strong { color: #fff; }
.banner-proj a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }

/* Lightbox ------------------------------------------------------------------- */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #0C0E11; color: #fff; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
.lb__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.lb__count { font-size: 14px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .75); }
.lb__close, .lb__nav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s ease, transform .16s var(--ease-out); }
.lb__close:hover, .lb__nav:hover { background: rgba(255, 255, 255, .16); }
.lb__close:active, .lb__nav:active { transform: scale(.94); }
.lb__stage { position: relative; min-height: 0; touch-action: pan-y; user-select: none; }
/* Absolutely sized so the photo's max-height resolves against the stage and never runs under the thumbnails. */
.lb__media { position: absolute; inset: 0 84px; display: flex; align-items: center; justify-content: center; }
.lb__stage img, .lb__stage iframe { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .25s ease, transform .35s var(--ease-out); }
.lb__stage iframe { width: min(100%, 1280px); aspect-ratio: 16 / 9; height: auto; border: 0; background: #000; }
.lb__stage img.is-loading { opacity: .3; }
.lb__nav { position: absolute; top: 50%; margin-top: -24px; }
.lb__nav--prev { left: 18px; }
.lb__nav--prev .i { transform: rotate(180deg); }
.lb__nav--next { right: 18px; }
.lb__thumbs { display: flex; gap: 6px; justify-content: safe center; padding: 14px 18px 18px; overflow-x: auto; scrollbar-width: none; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumbs button { flex: none; width: 76px; height: 54px; overflow: hidden; opacity: .45; transition: opacity .2s ease, box-shadow .2s ease; }
.lb__thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Forms ------------------------------------------------------------------------ */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form--card { padding: clamp(22px, 3vw, 36px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fld { display: grid; gap: 7px; align-content: start; }
.fld--full { grid-column: 1 / -1; }
.fld > label, .fld__label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.fld > label .req { color: var(--red); }
.input, .select, .textarea { width: 100%; height: 50px; padding: 0 16px; border: 0; outline: none; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink); transition: box-shadow .2s ease, background-color .2s ease; }
.select { padding-right: 40px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A9099' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; cursor: pointer; }
.textarea { height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.fld.is-invalid .input, .fld.is-invalid .select, .fld.is-invalid .textarea { box-shadow: inset 0 0 0 1.5px var(--red); background: #fff; }
.fld__err { display: none; font-size: 12.5px; font-weight: 500; color: var(--red); }
.fld.is-invalid .fld__err { display: block; }
.form--dark .input, .form--dark .select, .form--dark .textarea { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; }
.captcha { display: flex; align-items: center; gap: 12px; }
.captcha__q { flex: none; display: grid; place-items: center; height: 50px; padding: 0 18px; background: var(--sand); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.checks-form { display: grid; gap: 10px; }
.cb { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.cb input { position: absolute; opacity: 0; pointer-events: none; }
.cb__box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .15s ease, box-shadow .15s ease; }
.cb__box .i { width: 14px; height: 14px; color: #fff; stroke-width: 2.4; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .2s var(--ease-out); }
.cb input:checked + .cb__box { background: var(--red); box-shadow: none; }
.cb input:checked + .cb__box .i { opacity: 1; transform: none; }
.cb input:focus-visible + .cb__box { outline: 2px solid var(--red); outline-offset: 2px; }
.fld.is-invalid .cb__box { box-shadow: inset 0 0 0 1.5px var(--red); }
.legal-note { font-size: 12.5px; line-height: 1.6; color: var(--faint); }
.legal-note a { text-decoration: underline; text-underline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__foot .btn[disabled] { opacity: .7; cursor: progress; }
.success { display: grid; justify-items: start; gap: 12px; padding: clamp(28px, 4vw, 44px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.success__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; }
.success__mark .i { width: 26px; height: 26px; stroke-width: 2.2; }
.success h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; }
.success p { max-width: 52ch; color: var(--muted); }
.rtype { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rtype label { position: relative; display: grid; gap: 6px; padding: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s ease, background-color .2s ease; }
.rtype input { position: absolute; opacity: 0; pointer-events: none; }
.rtype .i { width: 22px; height: 22px; color: var(--faint); transition: color .2s ease; }
.rtype span { font-size: 14px; font-weight: 600; }
.rtype label:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.rtype label:has(input:checked) .i { color: var(--red); }
.rtype label:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.fieldset { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.fieldset__title { grid-column: 1 / -1; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.fieldset .input, .fieldset .select { background: #fff; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: 1 / -1; }

/* Modal / toast / cookie -------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s; }
.modal__scrim { position: absolute; inset: 0; background: rgba(20, 23, 28, .55); }
.modal__panel { position: relative; display: flex; flex-direction: column; width: min(760px, 100%); max-height: min(86vh, 900px); background: var(--bg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); transform: translateY(12px) scale(.98); transition: transform .3s var(--ease-out); }
.modal.is-open .modal__panel { transform: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 16px 28px; border-bottom: 1px solid var(--line); }
.modal__title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.modal__body { overflow-y: auto; overscroll-behavior: contain; padding: 24px 28px 28px; }
.modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 16px 28px; border-top: 1px solid var(--line); }
.modal--map .modal__panel { width: min(1000px, 100%); }
.modal--map .modal__body { padding: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 14px 22px 14px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s ease, transform .35s var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .i { width: 18px; height: 18px; color: var(--red); stroke-width: 2.2; }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 100; width: min(460px, calc(100vw - 40px)); padding: 24px; background: #fff; box-shadow: 0 30px 70px -24px rgba(20, 23, 28, .5), 0 0 0 1px rgba(20, 23, 28, .06); transform: translateY(24px); opacity: 0; visibility: hidden; transition: transform .45s var(--ease-out), opacity .3s ease, visibility 0s linear .45s; }
.cookie.is-on { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease-out), opacity .3s ease, visibility 0s; }
.cookie__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.cookie__title::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--red); }
.cookie p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cookie__btns .btn { height: 44px; padding: 0 18px 0 16px; font-size: 13.5px; }
.cprefs { display: grid; gap: 10px; }
.cpref { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; padding: 16px 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cpref__name { font-size: 15px; font-weight: 600; }
.cpref__cat { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.cpref__desc { grid-column: 1; font-size: 13.5px; color: var(--muted); }
.switch { grid-row: 1 / span 3; grid-column: 2; position: relative; width: 50px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.switch__track { position: absolute; inset: 0; border-radius: 15px; background: var(--line-2); transition: background-color .2s ease; pointer-events: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--ease-out); }
.switch input:checked + .switch__track { background: var(--red); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:disabled + .switch__track { background: var(--ink); opacity: .35; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--red); outline-offset: 2px; }

/* Projects ------------------------------------------------------------------------ */
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
.plcard { position: relative; }
.plcard__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.plcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .plcard:hover .plcard__media img { transform: scale(1.04); } }
.plcard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 20px; }
.plcard__name { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.plcard__city { font-size: 14.5px; color: var(--muted); white-space: nowrap; }
.sold { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sold__bar { position: relative; flex: 1; height: 4px; overflow: hidden; background: var(--line); }
.sold__bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; }
.pfrom { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.pfrom div { padding: 12px 14px; }
.pfrom div + div { box-shadow: inset 1px 0 0 var(--line); }
.pfrom small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.pfrom strong { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pfrom strong.na { color: var(--faint); font-weight: 500; }
.infobar { display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: center; gap: 20px 48px; margin-top: 28px; padding: 22px 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.infobar__item small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.infobar__item strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.infobar .btn { justify-self: end; }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--red) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; }
.ring span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); font-size: 13px; font-weight: 700; }
.utiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.utile { display: grid; gap: 4px; padding: 18px; text-align: left; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s ease, background-color .2s ease; }
.utile:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.utile[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.utile[aria-pressed="true"] small { color: rgba(255, 255, 255, .6); }
.utile:disabled { opacity: .45; cursor: default; }
.utile .i { width: 22px; height: 22px; color: var(--red); }
.utile span { font-size: 15px; font-weight: 600; }
.utile small { font-size: 12.5px; color: var(--muted); }
.units { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.units th { padding: 12px 14px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-align: left; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line-2); }
.units td { padding: 15px 14px; border-bottom: 1px solid var(--line); }
.units tbody tr { transition: background-color .15s ease; }
.units tbody tr:hover { background: var(--surface); }
.units td:first-child a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.units td:first-child a:hover { text-decoration-color: var(--red); }
.units .price { font-weight: 600; white-space: nowrap; }
.units .plan { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red); }
.units .plan .i { width: 15px; height: 15px; }
.units-wrap { overflow-x: auto; background: var(--bg); }

/* Agencies / team / services --------------------------------------------------------- */
.offices-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.ocard__img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); border-radius: 20px; }
.ocard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.ocard:hover .ocard__img img { transform: scale(1.04); }
.ocard__name { margin-top: 20px; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.ocard__note { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.ocard__info { margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.ocard__info a { color: var(--ink-2); font-weight: 500; }
.ocard__info a:hover { color: var(--red); }
.ocard__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ocard__btns .btn { height: 44px; padding: 0 18px 0 16px; font-size: 13.5px; }
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: clamp(56px, 7vw, 96px) 0 28px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.group-title:first-child { margin-top: 0; }
.group-title h2 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.1rem); font-weight: 500; letter-spacing: -.035em; }
.group-title span { font-size: 13px; font-weight: 600; color: var(--faint); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.person__img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(.9); transition: transform 1s var(--ease-out), filter .4s ease; }
.person:hover .person__img img { transform: scale(1.04); filter: saturate(1); }
.person__name { margin-top: 16px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.person__role { margin-top: 3px; font-size: 14px; color: var(--muted); }
.person__ipi { display: inline-block; margin-top: 10px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--sand); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.strength { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.strength__n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bg); font-size: 12.5px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pack--hot { background: var(--ink); color: #fff; box-shadow: none; }
.pack__badge { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; height: 30px; padding: 0 16px 0 clamp(26px, 3vw, 36px); border-radius: var(--D); background: var(--red); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transform: translateY(-50%); }
.pack__name { font-size: 26px; font-weight: 500; letter-spacing: -.035em; }
.pack__kicker { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.pack__lead { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.pack--hot .pack__lead { color: rgba(255, 255, 255, .7); }
.pack__group { margin-top: 22px; }
.pack__group h4 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.pack--hot .pack__group h4 { color: rgba(255, 255, 255, .5); }
.pack ul { display: grid; gap: 9px; margin-top: 12px; }
.pack li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.pack li .i { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--red); stroke-width: 2.2; }
.pack__inc { margin-top: 18px; padding: 12px 14px; background: rgba(31, 90, 70, .07); font-size: 13.5px; font-weight: 600; color: var(--red); }
.pack--hot .pack__inc { background: rgba(255, 255, 255, .08); color: #fff; }
.pack .btn { margin-top: auto; }
.pack__spacer { flex: 1; min-height: 26px; }
.options-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; margin-top: 16px; padding: clamp(26px, 3vw, 40px); background: var(--sand); }
.options-box ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.options-box li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 500; }
.options-box li .i { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--red); }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choice__card { position: relative; display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); text-align: left; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s ease, background-color .2s ease, transform .16s var(--ease-out); }
.choice__card:active { transform: scale(.99); }
.choice__card:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.choice__card[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.choice__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--D); background: var(--bg); color: var(--red); }
.choice__card[aria-pressed="true"] .choice__icon { background: rgba(255, 255, 255, .1); }
.choice__card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.choice__card ul { display: grid; gap: 8px; }
.choice__card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.choice__card[aria-pressed="true"] li { color: rgba(255, 255, 255, .72); }
.choice__card li .i { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--red); stroke-width: 2.2; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.benefit h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.benefit p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.benefit .i { width: 24px; height: 24px; margin-bottom: 14px; color: var(--red); }
.steps { display: flex; gap: 6px; margin-bottom: 26px; }
.steps i { flex: 1; height: 4px; background: var(--line); transition: background-color .3s ease; }
.steps i.is-on { background: var(--red); }
.step__title { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.step__sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.tiles label { position: relative; display: grid; justify-items: center; gap: 8px; padding: 18px 10px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; cursor: pointer; transition: box-shadow .2s ease, background-color .2s ease; }
.tiles input { position: absolute; opacity: 0; pointer-events: none; }
.tiles .i { width: 24px; height: 24px; color: var(--faint); }
.tiles label:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.tiles label:has(input:checked) .i { color: var(--red); }
.tiles label:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.stepper button { display: grid; place-items: center; width: 46px; height: 46px; font-size: 20px; font-weight: 500; transition: background-color .15s ease; }
.stepper button:hover { background: var(--bg); }
.stepper output { min-width: 44px; font-size: 16px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.mags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mag__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line); }
.mag__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mag__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mag__head h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; }
.mag--corp .mag__head h2 { color: var(--corp); }
.notfound { min-height: 80vh; display: grid; align-content: center; justify-items: start; gap: 18px; }
.notfound__code { font-size: clamp(6rem, 3rem + 14vw, 14rem); font-weight: 600; line-height: .8; letter-spacing: -.06em; color: var(--red); }
.refgrid .card { cursor: default; }
.tabs-line { display: flex; gap: 6px; border-bottom: 1px solid var(--line-2); }
.tabs-line a { position: relative; padding: 14px 16px; font-size: 15px; font-weight: 600; color: var(--muted); }
.tabs-line a[aria-current="true"] { color: var(--ink); }
.tabs-line a[aria-current="true"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--red); }
.tabs-line a span { margin-left: 6px; font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.skel { background: linear-gradient(100deg, var(--sand) 30%, #f3f1ec 50%, var(--sand) 70%) 0 0 / 300% 100%; animation: skel 1.4s ease-in-out infinite; }
@keyframes skel { to { background-position: -100% 0; } }

/* Responsive (multi-page) ------------------------------------------------------------- */
@media (max-width: 1199px) {
  .nav, .header__actions > .lang, .hdr-saved { display: none; }
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .filters .fbtn--more, .filters .sortsel { display: none; }
}
@media (max-width: 899px) {
  .filters__scroll { display: none; }
  .sheet-btn { display: inline-flex; }
  .filters .sortsel { display: block; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: clamp(320px, 70vw, 560px); }
  .gallery__cell:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery__cell:nth-child(n+4) { display: none; }
  .dt-head { grid-template-columns: minmax(0, 1fr); }
  .dt-head__price { text-align: left; }
  .spec { grid-template-columns: minmax(0, 1fr); }
  .energy { grid-template-columns: minmax(0, 1fr); }
  .plist { grid-template-columns: minmax(0, 1fr); }
  .infobar { grid-template-columns: repeat(2, auto); }
  .infobar .btn { grid-column: 1 / -1; justify-self: start; }
  .utiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options-box { grid-template-columns: minmax(0, 1fr); }
  .choice, .mags, .benefits { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .grid-cards { grid-template-columns: minmax(0, 1fr); }
  .aside { grid-template-columns: minmax(0, 1fr); }
  .offices-grid { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .rtype { grid-template-columns: minmax(0, 1fr); }
  .fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fieldset .span-3, .fieldset .span-4, .fieldset .span-6 { grid-column: 1 / -1; }
  .strengths, .options-box ul { grid-template-columns: minmax(0, 1fr); }
  .pfrom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfrom div:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .pfrom div:nth-child(4) { box-shadow: inset 1px 1px 0 var(--line); }
  .units thead { display: none; }
  .units, .units tbody, .units tr, .units td { display: block; }
  .units tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .units td { padding: 0; border: 0; }
  .units td::before { content: attr(data-l); display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
  .units td:first-child { grid-column: 1 / -1; font-size: 16px; }
  .units td:first-child::before { display: none; }
  .lb__media { inset: 0 8px; }
  .lb__nav { display: none; }
  .lb__thumbs button { width: 60px; height: 44px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .dt-top { padding-top: calc(var(--header-h) + 12px); }
  .pn a span, .pn .pn__label { display: none; }
  .keyfact { height: 42px; padding: 0 14px 0 12px; font-size: 13.5px; }
  .team-grid { gap: 32px 14px; }
  .toast { border-radius: 20px; }
}

@media print {
  .header, .footer, .dt-nav, .aside .tools, .gallery__actions, #contact, .similar, .cookie, .toast, .pn, .backlink { display: none !important; }
  .gallery { height: 320px; }
  .dt-grid { grid-template-columns: 1fr; }
  body { background: #fff; }
}

/* QA fixes ------------------------------------------------------------------------ */
.crumbs .i { transform: rotate(-90deg); }
.dt-head__price .peb { display: inline-grid; color: #fff; font-size: 12px; }
.dt-head__price .peb--c, .dt-head__price .peb--d { color: var(--ink); }
.agency__links a { display: inline-flex; align-items: center; gap: 7px; }
.agency__links .i { width: 15px; height: 15px; }
.mapbox { aspect-ratio: auto; width: 100%; height: clamp(300px, 42vw, 480px); }
.aside .mapbox { height: 300px; }
.modal--map .mapbox { height: min(70vh, 600px); }
.aside .mapbox__gate p { font-size: 13px; }
.aside-card .btn .i { width: 17px; height: 17px; }

/* Tags pinned to the left edge keep a flat side. */
.flag, .pack__badge, .dept__tag { border-radius: 0 999px 999px 0; }
/* Team: initials instead of portraits. */
.person__img--initials { display: grid; place-items: center; background: var(--sand); }
.person__img--initials span { font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: .04em; color: var(--red); }
