/* Indwel public-estate rail constitution — shared orientation + conversion grammar. */
:root{--estate-rail-max:1180px;--estate-rail-pad:clamp(18px,4vw,42px)}
.estate-rail{position:relative;z-index:40;border-bottom:1px solid var(--estate-rail-line);background:var(--estate-rail-bg);color:var(--estate-rail-fg);font-family:"Geist",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.estate-rail--dark{--estate-rail-bg:#11130f;--estate-rail-fg:#f6f2e8;--estate-rail-muted:rgba(246,242,232,.68);--estate-rail-line:rgba(255,255,255,.12);--estate-rail-button:#f6f2e8;--estate-rail-button-fg:#11130f;--estate-rail-outline:rgba(246,242,232,.38)}
.estate-rail--light{--estate-rail-bg:#f5f1e8;--estate-rail-fg:#171914;--estate-rail-muted:#68665f;--estate-rail-line:#d9d3c7;--estate-rail-button:#171914;--estate-rail-button-fg:#f7f3ea;--estate-rail-outline:#9f9a90}
.estate-rail__inner{width:min(calc(100% - 2*var(--estate-rail-pad)),var(--estate-rail-max));min-height:68px;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:34px}
.estate-rail__identity{display:flex;align-items:center;gap:18px;min-width:0;flex:0 0 auto}
.estate-rail__brand{display:flex;align-items:center;color:inherit;text-decoration:none}
.estate-rail__brand-mark{display:block;width:112px;aspect-ratio:485/122;background:currentColor;-webkit-mask:url('/brand/masks/indwel-lockup-rail.png') center/contain no-repeat;mask:url('/brand/masks/indwel-lockup-rail.png') center/contain no-repeat}
.estate-rail__local{display:inline-flex;align-items:center;gap:6px;padding-left:18px;border-left:1px solid var(--estate-rail-line);color:var(--estate-rail-muted);font-size:11px;font-weight:620;letter-spacing:.045em;text-decoration:none;text-transform:uppercase;white-space:nowrap}
.estate-rail__local:hover,.estate-rail__local:focus-visible{color:var(--estate-rail-fg)}
.estate-rail__nav{display:flex;align-items:center;justify-content:flex-end;gap:20px;min-width:0;font-size:12.5px;line-height:1}
.estate-rail__nav a{color:var(--estate-rail-muted);text-decoration:none;white-space:nowrap}
.estate-rail__nav a:hover,.estate-rail__nav a:focus-visible{color:var(--estate-rail-fg)}
.estate-rail__destination{position:relative;padding-block:10px}
.estate-rail__destination[aria-current="page"]{color:var(--estate-rail-fg)}
.estate-rail__destination[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:3px;height:1px;background:currentColor}
.estate-rail__action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border-radius:999px;font-weight:650;letter-spacing:.005em}
.estate-rail__nav .estate-rail__action--ask{border:1px solid var(--estate-rail-button);background:var(--estate-rail-button);color:var(--estate-rail-button-fg)}
.estate-rail__nav .estate-rail__action--ask:hover,.estate-rail__nav .estate-rail__action--ask:focus-visible{color:var(--estate-rail-button-fg);filter:brightness(.96)}
.estate-rail__nav .estate-rail__action--contact{border:1px solid var(--estate-rail-outline);color:var(--estate-rail-fg);background:transparent}
.estate-rail__nav .estate-rail__action--contact:hover,.estate-rail__nav .estate-rail__action--contact:focus-visible{border-color:var(--estate-rail-fg);color:var(--estate-rail-fg)}
.estate-rail__nav .estate-rail__action[aria-current="page"]{box-shadow:0 0 0 2px var(--estate-rail-bg),0 0 0 3px var(--estate-rail-fg)}
.estate-rail__utility{padding-block:10px;font-size:11.5px}
@media(max-width:960px){
  .estate-rail__inner{gap:24px}.estate-rail__nav{gap:14px}.estate-rail__brand-mark{width:104px}.estate-rail__local{display:none}
}
@media(max-width:760px){
  .estate-rail__inner{width:100%;min-height:0;display:grid;grid-template-columns:1fr;padding:14px var(--estate-rail-pad) 0;gap:11px}
  .estate-rail__identity{min-height:28px}.estate-rail__brand-mark{width:102px}
  .estate-rail__nav{width:calc(100% + 2*var(--estate-rail-pad));margin-left:calc(-1*var(--estate-rail-pad));padding:0 var(--estate-rail-pad) 12px;justify-content:flex-start;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .estate-rail__nav::-webkit-scrollbar{display:none}
  .estate-rail__action--ask{order:-3}.estate-rail__action--contact{order:-2}.estate-rail__utility{order:-1}.estate-rail__destination{order:1}
  .estate-rail__nav .estate-rail__action{min-height:34px;padding-inline:13px}.estate-rail__destination,.estate-rail__utility{padding-block:10px}
}
@media(max-width:420px){.estate-rail__inner{padding-top:12px}.estate-rail__nav{font-size:12px}.estate-rail__brand-mark{width:98px}}
