/* 1st Avenue, Vinaykunj CHS
   Palette taken from the brochure: midnight navy, bronze gold, ivory.
   Signature shape: the brochure's angled panel (chevron cut with a gold edge). Square corners elsewhere. */

@font-face { font-family: "Marcellus"; src: url("/assets/fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --navy: #021f41;
  --navy-2: #0a2f5c;
  --ivory: #f6f0e6;
  --white: #fffdf9;
  --gold: #d6a64b;
  --gold-deep: #8a5a12;
  --ink: #0a1a30;
  --muted: #4b5566;
  --on-navy: #f6f0e6;
  --on-navy-muted: #b9c4d6;
  --line: #d9cfbd;
  --line-navy: rgb(214 166 75 / 0.35);
  --err: #a3281f;
  --wa: #25d366;
  --wa-hover: #1ebe5b;
  --wa-ink: #06301a;
  --display: "Marcellus", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  --cut: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Buttons: square, sweep on hover ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; font: 600 1rem/1 var(--body); letter-spacing: 0.03em; border: 1.5px solid transparent; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color 0.3s var(--ease), border-color 0.3s, transform 0.2s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform 0.45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(0.98); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold::before { background: var(--ivory); }
.btn--line { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--line::before { background: var(--gold); }
.btn--line:hover { color: var(--navy); }
.sec--ivory .btn--line, .sec--white .btn--line { border-color: var(--navy); color: var(--navy); }
.sec--ivory .btn--line::before, .sec--white .btn--line::before { background: var(--navy); }
.sec--ivory .btn--line:hover, .sec--white .btn--line:hover { color: var(--ivory); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa::before { background: var(--wa-hover); }
.btn--sm { min-height: 44px; padding: 0 18px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--navy); border-bottom: 1px solid var(--line-navy); }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; color: var(--on-navy); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.02em; }
.nav__links a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 2px no-repeat; transition: background-size 0.35s var(--ease); }
.nav__links a:hover { background-size: 100% 2px; }
.nav__call { min-height: 44px; padding: 0 18px; }
.nav__toggle { display: none; }

/* ---------- Hero: angled panel with a gold edge ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; min-height: clamp(560px, calc(100dvh - var(--nav-h) - 110px), 800px); display: flex; }
.hero__img { position: absolute; inset: 0 0 0 36%; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.hero__panel, .hero__edge { --chev: polygon(0 0, 100% 0, 84% 50%, 100% 100%, 0 100%); clip-path: var(--chev); width: 58%; position: relative; z-index: 2; background: var(--navy); }
.hero__edge { position: absolute; inset: 0 auto 0 0; z-index: 1; background: var(--gold); transform: translateX(5px); }
.hero__panel { display: flex; align-items: center; padding: 56px 0 56px max(24px, calc((100vw - 1200px) / 2)); }
.hero__copy { max-width: 560px; padding-right: 8%; }
.hero__where { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 26px; }
.hero__where::before { content: ""; width: 38px; height: 1px; background: var(--gold); }
.hero h1 { color: var(--on-navy); font-size: clamp(2.9rem, 5.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.005em; }
.hero h1 span { display: block; }
.hero__lead { margin-top: 26px; color: var(--on-navy-muted); font-size: 1.2rem; max-width: 27em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- Facts bar ---------- */
.facts { background: var(--navy); border-top: 1px solid var(--line-navy); color: var(--on-navy); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__in > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 26px 24px 26px 0; }
.facts__in > div + div { padding-left: 28px; border-left: 1px solid var(--line-navy); }
.facts .ic { grid-row: 1 / 3; width: 38px; height: 38px; color: var(--gold); }
.facts strong { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.facts span { color: var(--on-navy-muted); font-size: 0.95rem; }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec--ivory { background: var(--ivory); }
.sec--white { background: var(--white); }
.sec--navy { background: var(--navy); color: var(--on-navy); }
.sec h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); max-width: 17em; }
.sec--navy h2 { color: var(--on-navy); }
.sub { margin-top: 16px; color: var(--muted); font-size: 1.15rem; max-width: 36em; }
.sec--navy .sub { color: var(--on-navy-muted); }

/* Overview */
.overview { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.overview__copy p { margin-top: 20px; color: var(--muted); max-width: 34em; }
.overview__copy h2 { margin-bottom: 6px; }
.points { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.points li { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.points .ic { width: 30px; height: 30px; color: var(--gold-deep); margin-top: 2px; }
.points h3 { font-size: 1.18rem; margin-bottom: 6px; }
.points p { margin: 0; font-size: 0.97rem; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mosaic figure { margin: 0; position: relative; }
.mosaic .drop { margin-top: 56px; }
.mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.9s var(--ease); }
.mosaic figure { overflow: visible; }
.mosaic figure::before { content: ""; position: absolute; left: -9px; top: -9px; width: 46px; height: 46px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); transition: width 0.5s var(--ease), height 0.5s var(--ease); z-index: 1; }
.mosaic figure:hover::before { width: 80px; height: 80px; }
.mosaic figcaption { margin-top: 10px; font-family: var(--display); font-size: 1.1rem; color: var(--gold-deep); }

/* Rooftop */
.rooftop { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "head head" "img list" "love love"; gap: 44px clamp(36px, 6vw, 80px); }
.rooftop__head { grid-area: head; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.rooftop__head p { color: var(--on-navy-muted); font-size: 1.12rem; }
.rooftop__img { grid-area: img; margin: 0; position: relative; }
.rooftop__img img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.rooftop__img::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); z-index: -1; }
.rooftop__img { margin-right: 14px; margin-bottom: 14px; }
.amen { grid-area: list; align-self: center; }
.amen li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-navy); transition: padding-left 0.35s var(--ease); }
.amen li:last-child { border-bottom: 1px solid var(--line-navy); }
.amen li:hover { padding-left: 10px; }
.amen .ic { width: 34px; height: 34px; color: var(--gold); margin-top: 2px; }
.amen h3 { font-size: 1.3rem; color: var(--on-navy); margin-bottom: 4px; }
.amen p { color: var(--on-navy-muted); font-size: 0.98rem; }
.love { grid-area: love; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.love li { display: inline-flex; align-items: center; gap: 12px; color: var(--on-navy); font-weight: 500; }
.love li::before { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }

/* Floor planner */
.planner { margin-top: 48px; display: grid; grid-template-columns: 150px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.stack { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--nav-h) + 24px); }
.stack button { font: 400 1.25rem/1 var(--display); min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); cursor: pointer; transition: background-color 0.25s, color 0.25s, transform 0.3s var(--ease); }
.stack button small { font: 500 0.72rem/1 var(--body); letter-spacing: 0.08em; opacity: 0.65; text-transform: uppercase; }
.stack button:hover { background: var(--ivory); transform: translateX(4px); }
.stack button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateX(10px); }
.stack__base { margin-top: 2px; background: var(--navy); color: var(--on-navy-muted); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 12px; }
.viewer { background: var(--ivory); border-top: 4px solid var(--gold); clip-path: var(--cut); padding: clamp(20px, 3vw, 36px); min-width: 0; }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.viewer__bar h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.viewer__plan { background: #fff; border: 1px solid var(--line); padding: 10px; }
.viewer__plan img { width: 100%; height: auto; transition: opacity 0.35s; }
.viewer__plan img.swap { opacity: 0; }
.viewer__data { margin-top: 22px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.table th { background: var(--navy); color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; text-align: right; padding: 13px 16px; }
.table th:first-child, .table td:first-child { text-align: left; }
.table td { padding: 13px 16px; text-align: right; border-bottom: 1px solid var(--line); background: var(--white); }
.table td:first-child { font-family: var(--display); font-size: 1.15rem; }
.table tr:hover td { background: #fbf4e4; }
.nodata { padding: 20px 22px; background: var(--white); border-left: 3px solid var(--gold); color: var(--muted); }
.nodata a { color: var(--gold-deep); font-weight: 600; }
.note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.note--light { color: var(--on-navy-muted); margin-top: 22px; }

/* Views */
.tabs { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 6px 34px; border-bottom: 1px solid var(--line-navy); }
.tabs button { font: 400 1.2rem/1 var(--display); background: none; border: 0; color: var(--on-navy-muted); padding: 14px 0; cursor: pointer; position: relative; transition: color 0.25s; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.tabs button:hover { color: var(--on-navy); }
.tabs button[aria-selected="true"] { color: var(--gold); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.panel { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel[hidden] { display: none; }
.panel img { width: 100%; height: clamp(320px, 46vw, 620px); object-fit: cover; border: 1px solid var(--line-navy); }
@media (prefers-reduced-motion: no-preference) { .panel:not([hidden]) { animation: fade 0.6s var(--ease); } @keyframes fade { from { opacity: 0; transform: translateY(14px); } } }

/* Pillars */
.pillars { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 36px; }
.pillars > div { border-top: 3px solid var(--gold); padding-top: 24px; }
.pillars .ic { width: 38px; height: 38px; color: var(--gold-deep); margin-bottom: 18px; }
.pillars h3 { font-size: 1.45rem; margin-bottom: 10px; }
.pillars p { color: var(--muted); font-size: 0.98rem; }

/* Contact */
.sec--contact { background: linear-gradient(160deg, var(--navy) 55%, var(--navy-2)); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.people { margin: 34px 0 22px; display: grid; gap: 12px; }
.people li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line-navy); transition: border-color 0.3s, background-color 0.3s; }
.people li:hover { border-color: var(--gold); background: rgb(214 166 75 / 0.07); }
.people strong { display: block; font-weight: 500; color: var(--on-navy-muted); font-size: 0.9rem; letter-spacing: 0.04em; }
.people span { font-family: var(--display); font-size: 1.5rem; color: var(--on-navy); }
.rera { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--on-navy-muted); }
.rera .ic { color: var(--gold); width: 22px; height: 22px; }
.formcard { background: var(--ivory); color: var(--ink); border-top: 4px solid var(--gold); clip-path: var(--cut); padding: clamp(24px, 4vw, 44px); }
.formcard h3 { font-size: 2rem; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #6b6254; border-radius: 0; padding: 13px 14px; min-height: 50px; width: 100%; transition: border-color 0.2s, box-shadow 0.25s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgb(214 166 75 / 0.5); }
.field.invalid input { border-color: var(--err); }
.hint { font-size: 0.875rem; color: var(--muted); margin-top: -2px; }
.err { font-size: 0.9rem; color: var(--err); font-weight: 500; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { margin-top: 14px; font-size: 0.875rem; color: var(--muted); text-align: center; }
.status { margin-top: 18px; padding: 16px 18px; font-weight: 500; }
.status[hidden] { display: none; }
.status--ok { background: #fbf0d6; border-left: 4px solid var(--gold); }
.status--bad { border-left: 4px solid var(--err); background: var(--white); }
.status a { font-weight: 700; }
.btn__label { display: inline-flex; align-items: center; gap: 10px; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.footer { background: #01142b; color: var(--on-navy); padding: 64px 0 28px; border-top: 3px solid var(--gold); }
.footer a { text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer__in { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; }
.footer__brand img { width: 150px; margin-bottom: 14px; }
.footer p { color: var(--on-navy-muted); font-size: 0.98rem; }
.footer__col p + p { margin-top: 6px; }
.footer h4 { font-size: 1.35rem; color: var(--gold); margin-bottom: 12px; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-navy); display: grid; gap: 8px; font-size: 0.85rem; }
.footer__legal .copy { color: var(--on-navy); font-size: 0.95rem; }
.footer__legal .copy a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Floating actions */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 28px -8px rgb(0 0 0 / 0.55); transition: transform 0.25s var(--ease), background-color 0.2s; }
.fab .ic { width: 30px; height: 30px; }
.fab:hover { background: var(--wa-hover); transform: translateY(-3px); }
.dock { display: none; }

/* Zoom dialog */
dialog { border: 0; padding: 0; background: var(--white); width: min(96vw, 1500px); max-height: 94dvh; }
dialog::backdrop { background: rgb(2 20 43 / 0.86); }
.zoom__close { position: sticky; top: 0; float: right; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; background: var(--navy); color: var(--gold); border: 0; cursor: pointer; }
.zoom__close .ic { width: 26px; height: 26px; }
.zoom__scroll { overflow: auto; max-height: 94dvh; }
.zoom__scroll img { width: max(100%, 1100px); height: auto; }

/* ---------- Motion: one orchestrated hero entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__img img { animation: unveil 1.5s var(--ease) both; }
  .hero__edge { animation: edge 1.1s var(--ease) both; }
  .hero__where, .hero h1 span, .hero__lead, .hero__cta { animation: rise 0.9s var(--ease) both; }
  .hero__where { animation-delay: 0.45s; }
  .hero h1 span:nth-child(1) { animation-delay: 0.6s; }
  .hero h1 span:nth-child(2) { animation-delay: 0.75s; }
  .hero__lead { animation-delay: 0.95s; }
  .hero__cta { animation-delay: 1.1s; }
  @keyframes unveil { from { clip-path: inset(0 0 0 100%); transform: scale(1.08); } }
  @keyframes edge { from { clip-path: polygon(0 0, 100% 0, 100% 0, 100% 0, 0 0); } }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: 0.01ms !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { gap: 20px; font-size: 0.92rem; }
  .nav__call { padding: 0 14px; }
  .rooftop__head { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 40px 36px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 62px; }
  .nav__in { gap: 12px; }
  .nav__logo img { height: 44px; }
  .nav__call { margin-left: auto; }
  .nav__toggle { display: grid; place-items: center; width: 46px; height: 46px; background: none; border: 1.5px solid var(--line-navy); color: var(--gold); cursor: pointer; }
  .nav__toggle .ic--close { display: none; }
  .nav__toggle[aria-expanded="true"] .ic--open { display: none; }
  .nav__toggle[aria-expanded="true"] .ic--close { display: block; }
  .nav__links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--navy); border-bottom: 1px solid var(--line-navy); padding: 6px 24px 14px; display: none; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 15px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-navy); background: none; }

  .hero { flex-direction: column; min-height: 0; }
  .hero__img { position: relative; inset: auto; height: min(62vh, 520px); }
  .hero__img img { object-position: 60% 25%; }
  .hero__panel { width: 100%; clip-path: none; padding: 36px 24px 44px; }
  .hero__edge { display: none; }
  .hero__copy { padding: 0; max-width: none; }
  .hero__cta .btn { flex: 1 1 210px; }

  .facts__in { grid-template-columns: 1fr 1fr; }
  .facts__in > div { padding: 22px 12px 22px 0; }
  .facts__in > div + div { padding-left: 0; border-left: 0; }
  .facts__in > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-navy); }
  .facts__in > div:nth-child(n+3) { border-top: 1px solid var(--line-navy); }
  .facts .ic { width: 30px; height: 30px; }
  .facts strong { font-size: 1.6rem; }

  .overview, .contact, .rooftop { grid-template-columns: 1fr; }
  .rooftop { grid-template-areas: "head" "img" "list" "love"; }
  .points { grid-template-columns: 1fr; }
  .mosaic .drop { margin-top: 36px; }
  .rooftop__img { margin-right: 10px; }

  .planner { grid-template-columns: 1fr; }
  .stack { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; gap: 6px; scroll-snap-type: x proximity; }
  .stack button { flex: 0 0 62px; justify-content: center; padding: 0; scroll-snap-align: center; }
  .stack button small { display: none; }
  .stack button:hover, .stack button[aria-pressed="true"] { transform: none; }
  .stack__base { display: none; }
  .stack { order: 0; }
  .stack button { order: 0; }
  .panel { grid-template-columns: 1fr; }
  .panel img { height: auto; aspect-ratio: 4 / 4.4; }
  .footer__in { grid-template-columns: 1fr; gap: 28px; }

  .fab { display: none; }
  .dock { display: grid; grid-template-columns: 0.8fr 1.1fr 1.3fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); border-top: 1px solid var(--line-navy); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1.5px solid var(--gold); color: var(--gold); font-weight: 600; text-decoration: none; font-size: 0.9rem; padding: 0 6px; white-space: nowrap; }
  .dock a:active { transform: scale(0.97); }
  .dock a.dock__wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
  .dock .dock__main { background: var(--gold); color: var(--navy); }
  body { padding-bottom: 76px; }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
  .people li { flex-wrap: wrap; }
  .viewer__bar { flex-wrap: wrap; }
  .tabs { gap: 4px 22px; }
  .tabs button { font-size: 1.05rem; }
}
