  :root {
    --paper: #F4F5F3;
    --surface: #FFFFFF;
    --ink: #18212B;
    --ink-soft: #2C3A48;
    --muted: #5A6572;
    --rule: #D8DDE2;
    --line1: #F2B705;
    --line1-soft: #FCEFC2;
    --radius-s: 6px;
    --radius-l: 14px;
    --gutter: clamp(16px, 4vw, 40px);
    --max: 1080px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.55;
    font-variation-settings: "wdth" 100;
  }
  img { max-width: 100%; display: block; }
  a { color: var(--ink); text-underline-offset: 3px; }
  :focus-visible { outline: 3px solid var(--line1); outline-offset: 2px; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
  h1, h2, h3 { font-weight: 750; line-height: 1.1; margin: 0; font-variation-settings: "wdth" 112; letter-spacing: -0.01em; }
  h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 18px; }
  h3 { font-size: 19px; margin-bottom: 6px; }
  p { margin: 0 0 14px; max-width: 64ch; }
  section { padding: clamp(40px, 7vw, 72px) 0; border-top: 1px solid var(--rule); }

  /* Placeholder marking: any value still in [brackets] gets this outline */
  .todo { outline: 2px dashed var(--line1); outline-offset: 2px; background: var(--line1-soft); border-radius: 3px; }

  /* Top bar */
  .topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 15px; }
  .brand { font-weight: 750; text-decoration: none; font-variation-settings: "wdth" 118; }
  .topbar a.contact-link { color: var(--muted); }

  /* Hero */
  .hero-photo { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 10; background: #E3E6E9; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
  .hero-body { display: grid; gap: 24px; padding: 28px 0 8px; }
  @media (min-width: 860px) { .hero-body { grid-template-columns: 1.3fr 1fr; align-items: end; } }
  .where { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
  .hero h1 { font-size: clamp(36px, 6.4vw, 64px); font-variation-settings: "wdth" 120; }
  .price-block { background: var(--surface); border-radius: var(--radius-l); padding: 22px; border: 1px solid var(--rule); }
  .price { font-size: clamp(40px, 6vw, 56px); font-weight: 800; line-height: 1; font-variation-settings: "wdth" 116; }
  .price small { font-size: 17px; font-weight: 500; color: var(--muted); font-variation-settings: "wdth" 100; }
  .incentive { display: inline-block; margin: 14px 0 6px; padding: 6px 12px; border-radius: 999px; background: var(--line1); font-weight: 650; font-size: 15px; }
  .avail { color: var(--ink-soft); margin: 6px 0 18px; }
  .btns { display: flex; flex-wrap: wrap; gap: 10px; }
  .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--radius-s); font-weight: 650; text-decoration: none; font-size: 16px; border: 2px solid var(--ink); }
  .btn-primary { background: var(--ink); color: var(--surface); }
  .btn-primary:hover { background: var(--ink-soft); }
  .btn-secondary { background: transparent; color: var(--ink); }
  .btn-secondary:hover { background: var(--surface); }

  /* Facts */
  .facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; margin: 0; }
  @media (min-width: 700px) { .facts { grid-template-columns: repeat(4, 1fr); } }
  .fact { background: var(--surface); padding: 16px 18px; }
  .fact dt { font-size: 14px; color: var(--muted); }
  .fact dd { margin: 2px 0 0; font-weight: 650; font-size: 17px; }

  /* Gallery */
  .gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  @media (min-width: 760px) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; } }
  .gallery button { all: unset; cursor: zoom-in; scroll-snap-align: start; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; background: #E3E6E9; position: relative; }
  .gallery button:focus-visible { outline: 3px solid var(--line1); outline-offset: 2px; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; }
  .gallery figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); padding: 2px 8px; border-radius: 4px; font-size: 13px; }
  .ph-tile { display: grid; place-items: center; text-align: center; height: 100%; padding: 12px; color: var(--muted); font-size: 14px; border: 2px dashed var(--line1); border-radius: var(--radius-s); background: var(--line1-soft); }
  .gallery-note { color: var(--muted); font-size: 14px; margin-top: 10px; }

  dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
  dialog.lightbox::backdrop { background: rgba(15, 20, 26, .9); }
  .lb-inner { position: relative; }
  .lb-inner img { max-width: 96vw; max-height: 82vh; border-radius: var(--radius-s); margin: 0 auto; }
  .lb-cap { color: #fff; text-align: center; padding: 10px; font-size: 15px; }
  .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 22px; cursor: pointer; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 20px; cursor: pointer; }

  /* Den */
  .den { display: grid; gap: 28px; }
  @media (min-width: 820px) { .den { grid-template-columns: 1fr 1fr; align-items: center; } }
  .den-size { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; font-variation-settings: "wdth" 118; margin-bottom: 10px; }
  .den ul { padding-left: 20px; margin: 0; }
  .den-photo { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; background: #E3E6E9; }
  .den-photo img { width: 100%; height: 100%; object-fit: cover; }

  /* Video and floor plan */
  .media-grid { display: grid; gap: 24px; }
  @media (min-width: 860px) { .media-grid { grid-template-columns: 1fr 1fr; } }
  .video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; background: #E3E6E9; }
  .video-frame iframe { width: 100%; height: 100%; border: 0; }
  .plan-frame { border-radius: var(--radius-l); overflow: hidden; background: var(--surface); border: 1px solid var(--rule); aspect-ratio: 16 / 9; display: grid; place-items: center; }
  .plan-frame img { width: 100%; height: 100%; object-fit: contain; }

  /* Details table */
  .details { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-l); overflow: hidden; }
  .details th, .details td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
  .details th { width: 38%; font-weight: 500; color: var(--muted); }
  .details tr:last-child th, .details tr:last-child td { border-bottom: 0; }

  /* Transit line: the page's one signature element */
  .route { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: start; margin: 28px 0 36px; }
  .stop { display: grid; justify-items: center; text-align: center; gap: 8px; width: clamp(84px, 18vw, 160px); }
  .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 6px solid var(--ink); }
  .stop.home .dot { border-color: var(--line1); background: var(--ink); }
  .stop strong { font-size: 15px; line-height: 1.25; }
  .leg { position: relative; height: 26px; }
  .leg::before { content: ""; position: absolute; left: -2px; right: -2px; top: 9px; height: 8px; background: var(--line1); border-radius: 4px; }
  .leg.walk::before { background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); height: 4px; top: 11px; }
  .leg span { position: absolute; top: 34px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--muted); }
  .map-frame { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 9; background: #E3E6E9; border: 1px solid var(--rule); }
  .map-frame iframe { width: 100%; height: 100%; border: 0; }
  .nearby { columns: 2; column-gap: 28px; padding-left: 20px; margin-top: 20px; }
  @media (min-width: 760px) { .nearby { columns: 3; } }

  /* Apply */
  .steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
  @media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }
  .steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 18px; }
  .steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--line1); font-weight: 750; margin-bottom: 10px; }
  .steps li p { margin: 0; font-size: 15px; color: var(--ink-soft); }
  .docs { padding-left: 20px; }
  .trust { margin-top: 28px; padding: 18px 20px; border-left: 6px solid var(--line1); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
  .trust p { margin: 0; }

  /* FAQ */
  details { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); margin-bottom: 10px; }
  summary { cursor: pointer; padding: 16px 18px; font-weight: 650; list-style-position: inside; }
  details p { padding: 0 18px 16px; margin: 0; color: var(--ink-soft); }

  /* Contact and footer */
  .contact-grid { display: grid; gap: 14px; }
  @media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
  .contact-grid div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 16px 18px; }
  .contact-grid span { display: block; color: var(--muted); font-size: 14px; }
  footer { padding: 32px 0 120px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--rule); }
  @media (min-width: 760px) { footer { padding-bottom: 40px; } }

  /* Sticky mobile bar */
  .sticky { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--surface); z-index: 10; }
  .sticky .s-price { font-weight: 750; font-size: 18px; font-variation-settings: "wdth" 112; }
  .sticky .s-price small { display: block; font-weight: 400; font-size: 13px; opacity: .8; font-variation-settings: "wdth" 100; }
  .sticky .btn { background: var(--line1); color: var(--ink); border-color: var(--line1); min-height: 44px; }
  @media (min-width: 760px) { .sticky { display: none; } }

  /* Home page */
  .intro { padding: 32px 0 8px; }
  .intro h1 { font-size: clamp(34px, 5.6vw, 56px); font-variation-settings: "wdth" 120; margin-bottom: 12px; }
  .intro p { color: var(--ink-soft); }
  .units { display: grid; gap: 18px; padding: 24px 0 40px; }
  @media (min-width: 760px) { .units { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .units { grid-template-columns: repeat(3, 1fr); } }
  .unit-card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; }
  .unit-card:hover { border-color: var(--ink); }
  .unit-card .thumb { aspect-ratio: 4 / 3; background: #E3E6E9; }
  .unit-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .unit-card .body { padding: 16px 18px 18px; }
  .unit-card h2 { font-size: 21px; margin: 0 0 4px; }
  .unit-card .rent { font-size: 26px; font-weight: 800; font-variation-settings: "wdth" 116; margin-top: 8px; }
  .unit-card .meta { color: var(--muted); font-size: 15px; margin: 0; }
  .status { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 650; background: var(--line1); }
  .status.leased { background: var(--rule); color: var(--ink-soft); }
  .empty-units { color: var(--muted); padding: 24px 0; }
  .waitlist { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 24px; margin: 8px 0 40px; }
  .waitlist h2 { margin-bottom: 8px; }
  .leased-banner { background: var(--ink); color: var(--surface); padding: 14px 18px; border-radius: var(--radius-s); margin: 0 0 16px; }
  .leased-banner a { color: var(--line1); font-weight: 650; }
  .sticky .todo { color: var(--ink); }

  /* Chat widget */
  .chat-launcher { position: fixed; right: 16px; bottom: 84px; z-index: 20; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--line1); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 2px 0 var(--ink); }
  @media (min-width: 760px) { .chat-launcher { bottom: 24px; right: 24px; } }
  .chat-panel { position: fixed; z-index: 30; inset: auto 0 0 0; height: min(78vh, 640px); display: flex; flex-direction: column; background: var(--surface); border-top: 2px solid var(--ink); border-radius: var(--radius-l) var(--radius-l) 0 0; }
  @media (min-width: 760px) { .chat-panel { inset: auto 24px 24px auto; width: 380px; height: min(80vh, 620px); border: 2px solid var(--ink); border-radius: var(--radius-l); } }
  .chat-panel[hidden] { display: none; }
  .chat-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
  .chat-close { width: 40px; height: 40px; border: 0; background: transparent; font-size: 18px; cursor: pointer; border-radius: 50%; }
  .chat-close:hover { background: var(--paper); }
  .chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
  .chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
  .chat-msg.from-bot { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 4px; }
  .chat-msg.from-user { align-self: flex-end; background: var(--ink); color: var(--surface); border-bottom-right-radius: 4px; }
  .chat-msg.typing { color: var(--muted); }
  .chat-msg.chat-error { background: var(--line1-soft); }
  .chat-handoff { display: flex; margin-top: 10px; min-height: 44px; font-size: 15px; white-space: normal; text-align: center; }
  .chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; }
  .chat-chip { border: 1px solid var(--ink); background: var(--surface); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 14px; cursor: pointer; }
  .chat-chip:hover { background: var(--line1-soft); }
  .chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rule); }
  .chat-form textarea { flex: 1; resize: none; border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 10px 12px; font: inherit; font-size: 16px; min-height: 44px; max-height: 120px; }
  .chat-send { border: 0; border-radius: var(--radius-s); background: var(--ink); color: var(--surface); font: inherit; font-weight: 650; padding: 0 16px; cursor: pointer; }
  .chat-send:disabled { opacity: .5; cursor: wait; }
  .chat-note { margin: 0; padding: 0 16px 12px; font-size: 12.5px; color: var(--muted); }
  .sr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  /* Application form */
  .apply { max-width: 760px; }
  .apply form { display: grid; gap: 20px; padding-bottom: 40px; }
  .apply fieldset { border: 1px solid var(--rule); border-radius: var(--radius-l); background: var(--surface); padding: 20px; margin: 0; display: grid; gap: 16px; }
  .apply legend { font-weight: 750; font-size: 19px; padding: 0 6px; font-variation-settings: "wdth" 112; }
  .apply .row { display: grid; gap: 16px; }
  @media (min-width: 640px) { .apply .row { grid-template-columns: 1fr 1fr; } }
  .apply .field { display: grid; gap: 6px; align-content: start; }
  .apply label { font-weight: 600; font-size: 15px; }
  .apply .opt { font-weight: 400; color: var(--muted); }
  .apply input, .apply select, .apply textarea { font: inherit; font-size: 16px; min-height: 46px; padding: 10px 12px; border: 1px solid #B9C1C9; border-radius: var(--radius-s); background: var(--surface); color: var(--ink); width: 100%; }
  .apply textarea { min-height: 90px; resize: vertical; }
  .apply [aria-invalid="true"] { border: 2px solid #B42318; }
  .apply .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
  .apply .check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex: none; }
  .apply .hint { color: var(--muted); font-size: 14px; margin: 0; }
  .apply .hp { position: absolute; left: -9999px; }
  .apply .form-error { color: #B42318; font-weight: 600; margin: 0; }
  .apply button[type=submit] { justify-self: start; }
  .apply .done { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 28px; margin-bottom: 40px; }
  .apply .check input[aria-invalid="true"] { outline: 2px solid #B42318; outline-offset: 2px; }
