/* ==========================================================================
   Centralis Residences Miami Condominium Association — public site
   Colours from the logo: copper (#885536) + deep teal (#2B575A).
   Type: Lexend (headings, echoes the rounded logo lettering) + DM Sans.
   ========================================================================== */
:root {
  --copper: #885536; --copper-d: #6E4229; --copper-l: #B98261; --copper-t: #F4E7DB;
  --teal: #2B575A; --teal-d: #1F4446; --teal-dd: #10292B; --teal-l: #5E8D8F; --teal-t: #E6F0EF;
  --bg: #F6F1EA; --white: #FFFFFF; --sand: #EDE3D5; --line: #E3D7C6; --line-d: #CFBEA7;
  --ink: #132526; --text: #3A4747; --muted: #6A7675;
  --r: 18px; --r-l: 28px; --r-xl: 40px;
  --sh: 0 16px 36px -20px rgba(16,41,43,.35); --sh-l: 0 34px 80px -34px rgba(16,41,43,.5);
  --ease: cubic-bezier(.16,1,.3,1); --ease-io: cubic-bezier(.83,0,.17,1);
  --head: "Lexend", "Segoe UI", system-ui, sans-serif; --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1260px; --gut: clamp(16px, 4vw, 36px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--body); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .25s; }
a:hover { color: var(--copper); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; font-weight: 500; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 9999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.small { font-size: .88rem; } .muted { color: var(--muted); } .center { text-align: center; } .c-copper { color: var(--copper); }
.light { color: #fff; } .light-muted { color: rgba(255,255,255,.78); }

/* ---------- type ---------- */
.h-xxl { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
.h-xl { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.h-lg { font-size: clamp(1.55rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -.03em; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--text); }
.tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--head); font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--copper); }
.tag::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: left; animation: tagLine 2.8s var(--ease) infinite; }
.tag.light { color: #F2D6BF; }
@keyframes tagLine { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.45); } }
.kicker { font-family: var(--head); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

/* accent word with a self-drawing underline */
.hl { position: relative; display: inline-block; color: var(--copper); white-space: nowrap; }
.light .hl, .hb-title .hl, .pb-title .hl { color: #F2C9A6; }
.hl svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hl path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.2s var(--ease) .7s; }
.in .hl path { stroke-dashoffset: 0; }

/* letter-by-letter blur reveal */
[data-letters] .ch { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 20ms); }
[data-letters] .wd { display: inline-block; white-space: nowrap; }
[data-letters].in .ch { opacity: 1; filter: none; transform: none; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 14px;
  background: var(--teal); color: #fff; font-family: var(--head); font-weight: 500; font-size: .96rem; line-height: 1.2; white-space: nowrap; overflow: hidden; isolation: isolate;
  box-shadow: 0 10px 22px -14px rgba(16,41,43,.7); transition: transform .4s var(--ease), box-shadow .4s, color .3s, background .3s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.28) 45%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 18px 30px -16px rgba(16,41,43,.75); }
.btn:hover::after { transform: translateX(120%); }
.btn i { transition: transform .4s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(4px); }
.btn:disabled { opacity: .6; pointer-events: none; }
.btn-copper { background: var(--copper); } .btn-copper:hover { background: var(--copper-d); }
.btn-teal { background: var(--teal); } .btn-teal:hover { background: var(--teal-d); }
.btn-glass { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none; }
.btn-glass:hover { background: #fff; color: var(--teal-d); }
.btn-line, .btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-d); box-shadow: none; }
.btn-line:hover, .btn-outline:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-pay { background: var(--copper); padding: 12px 18px; }
.btn-pay:hover { background: var(--copper-d); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: .86rem; border-radius: 10px; }
.btn-login { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); padding: 11px 17px; box-shadow: none; }
.btn-login:hover { background: var(--teal); color: #fff; }
.text-btn { background: none; border: 0; padding: 0; color: var(--copper); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 500; color: var(--teal); }
.link-more i { transition: transform .4s var(--ease); } .link-more:hover i { transform: translateX(5px); }
.round-btn { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.round-btn:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* ---------- progress rail (right edge) ---------- */
.progress-rail { position: fixed; right: 0; top: 0; bottom: 0; width: 4px; z-index: 1100; background: rgba(43,87,90,.08); pointer-events: none; }
.progress-rail span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--copper), var(--teal)); transform: scaleY(0); transform-origin: top; }

/* ---------- utility bar + header ---------- */
.utility { position: relative; z-index: 1001; background: var(--teal-dd); color: rgba(255,255,255,.75); font-size: .82rem; }
.utility-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.utility i { color: #F2C9A6; margin-right: 4px; }
.utility a { color: rgba(255,255,255,.85); } .utility a:hover { color: #fff; }
.u-right { display: flex; align-items: center; gap: 14px; }
.u-sep { width: 1px; height: 14px; background: rgba(255,255,255,.2); }
.u-login { font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: box-shadow .4s, border-color .4s; }
.site-header.scrolled { box-shadow: 0 12px 30px -24px rgba(16,41,43,.6); border-color: var(--line); }
.bar { display: flex; align-items: center; gap: 22px; height: 76px; transition: height .4s var(--ease); }
.site-header.scrolled .bar { height: 66px; }
.brand { flex: none; } .brand img { width: 190px; transition: width .4s var(--ease); }
.site-header.scrolled .brand img { width: 168px; }
.main-nav { position: relative; margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; z-index: 1; display: block; padding: 9px 13px; border-radius: 10px; font-family: var(--head); font-size: .93rem; font-weight: 500; color: var(--ink); transition: color .3s; }
.main-nav a:hover, .main-nav a.active { color: var(--teal); }
.nav-ink { position: absolute; left: 0; bottom: 2px; height: 3px; width: 0; border-radius: 3px; background: var(--copper); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.user-chip { display: none; }
.role-pill { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 14px; font-family: var(--head); font-size: .96rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
  background: var(--teal-t); color: var(--teal-d); border: 1.5px solid transparent; cursor: default; user-select: none; }
.role-pill.is-admin { background: var(--copper-d); color: #fff; cursor: pointer; box-shadow: 0 10px 22px -14px rgba(110,66,41,.8); transition: transform .4s var(--ease), background .3s, box-shadow .4s; }
.role-pill.is-admin:hover { background: var(--copper); color: #fff; transform: translateY(-3px); box-shadow: 0 18px 30px -16px rgba(110,66,41,.85); }
.role-pill.is-admin i { transition: transform .5s var(--ease); } .role-pill.is-admin:hover i { transform: rotate(-12deg) scale(1.1); }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.nav-toggle span { position: absolute; left: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease), opacity .3s, width .4s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; width: 22px; } .nav-toggle span:nth-child(2) { top: 22px; width: 14px; } .nav-toggle span:nth-child(3) { top: 29px; width: 18px; }
.nav-toggle:hover span { width: 22px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

.mobile-nav { position: fixed; inset: 0; z-index: 999; background: rgba(16,41,43,.55); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .5s; }
.nav-open .mobile-nav { opacity: 1; visibility: visible; transition: opacity .4s; }
.m-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; gap: 22px; padding: 120px 28px 28px; overflow-y: auto; background: var(--bg); transform: translateX(100%); transition: transform .6s var(--ease); }
.nav-open .m-panel { transform: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { opacity: 0; transform: translateX(40px); transition: opacity .4s, transform .6s var(--ease); }
.nav-open .mobile-nav li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * 50ms); }
.m-link { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.m-link i { font-size: 1rem; color: var(--copper); transition: transform .4s var(--ease); }
.m-link:hover i, .m-link.active i { transform: translateX(6px); } .m-link.active { color: var(--copper); }
.m-actions { display: grid; gap: 10px; }
.m-contact { display: grid; gap: 4px; font-size: .9rem; color: var(--muted); }
.m-sketch { margin-top: auto; opacity: .5; mix-blend-mode: multiply; }

/* ---------- loader: floors light up one by one ---------- */
.loader { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; background: var(--bg); }
.ld-center { position: relative; z-index: 2; display: grid; justify-items: center; gap: 18px; transition: opacity .4s, transform .6s var(--ease); }
.ld-tower { display: flex; flex-direction: column-reverse; gap: 5px; width: 120px; padding: 8px; border: 2px solid var(--teal); border-radius: 8px 8px 4px 4px; }
.ld-tower i { height: 12px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.ld-tower i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--copper), #D9A27C); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.ld-tower i.lit::after { transform: none; }
.ld-logo { width: 150px; opacity: 0; animation: ldIn .8s var(--ease) .2s forwards; }
.ld-note { margin: 0; font-family: var(--head); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ld-note b { color: var(--copper); font-size: 1rem; }
.ld-panel { position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 3; transform: scaleX(0); }
.ld-panel.l { left: 0; background: var(--teal-d); } .ld-panel.r { right: 0; background: var(--teal); }
.loader.done .ld-center { opacity: 0; transform: scale(.94); }
.loader.done { background: transparent; pointer-events: none; }
.loader.done .ld-panel.l { animation: ldPanelL 1.1s var(--ease-io) forwards; }
.loader.done .ld-panel.r { animation: ldPanelR 1.1s var(--ease-io) forwards; }
@keyframes ldIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ldPanelL { 0% { transform: scaleX(0); transform-origin: left; } 48% { transform: scaleX(1); transform-origin: left; } 52% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes ldPanelR { 0% { transform: scaleX(0); transform-origin: right; } 48% { transform: scaleX(1); transform-origin: right; } 52% { transform: scaleX(1); transform-origin: left; } 100% { transform: scaleX(0); transform-origin: left; } }

/* ---------- hero banner (home) ---------- */
.hero-banner { position: relative; min-height: calc(100svh - 114px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--teal-dd); color: #fff; isolation: isolate; }
.hb-slides { position: absolute; inset: 0; z-index: -2; }
.hb-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hb-slide.is-on { opacity: 1; }
.hb-slide:nth-child(1) .hb-img { object-position: center 60%; }
.hb-slide:nth-child(2) .hb-img { object-position: center 70%; }
.hb-slide:nth-child(3) .hb-img { object-position: center 78%; }
.hb-img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; transform: scale(1.06); }
.hb-slide.is-on .hb-img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1) translate3d(-1%, -.5%, 0); } }
.hb-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,41,43,.18) 0%, rgba(16,41,43,0) 28%, rgba(16,41,43,0) 62%, rgba(16,41,43,.55) 88%, rgba(16,41,43,.78) 100%), linear-gradient(90deg, rgba(16,41,43,.72) 0%, rgba(16,41,43,.45) 38%, transparent 68%); }
.hb-content { padding-top: 120px; padding-bottom: 36px; }
.hb-title { max-width: 16ch; font-size: clamp(2.6rem, 6.6vw, 5.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; color: #fff; margin-bottom: 20px; text-shadow: 0 10px 40px rgba(0,0,0,.25); }
.hb-sub { max-width: 58ch; font-size: clamp(1rem, 1.35vw, 1.16rem); color: rgba(255,255,255,.88); }
.hb-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hb-in { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-ready .hb-in { opacity: 1; transform: none; }
.hb-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 80px; border-top: 1px solid rgba(255,255,255,.18); }
.hb-dots { display: flex; gap: 8px; }
.hb-dots button { width: 44px; height: 30px; padding: 0; border: 0; background: none; }
.hb-dots i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hb-dots i::after { content: ""; position: absolute; inset: 0; background: #F2C9A6; transform: scaleX(0); transform-origin: left; }
.hb-dots .is-on i::after { animation: dot 6s linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }
.hb-facts { display: flex; gap: clamp(18px, 3.4vw, 46px); list-style: none; padding: 0; margin: 0; }
.hb-facts li { line-height: 1.25; }
.hb-facts b { display: block; font-family: var(--head); font-size: 1.25rem; font-weight: 500; color: #fff; }
.hb-facts span { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hb-scroll { position: absolute; right: calc(var(--gut) + 4px); top: 50%; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.hb-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- quick services (overlap the banner) ---------- */
.services { position: relative; z-index: 3; margin-top: -54px; padding-bottom: 10px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.q-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-radius: var(--r); background: var(--white); color: var(--ink); box-shadow: var(--sh); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s, color .4s; }
.q-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--teal), var(--teal-d)); clip-path: circle(0% at 90% 50%); transition: clip-path .7s var(--ease); }
.q-card:hover { transform: translateY(-6px); box-shadow: var(--sh-l); color: #fff; }
.q-card:hover::before { clip-path: circle(150% at 90% 50%); }
.q-ic { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--copper-t); color: var(--copper); font-size: 1.15rem; transition: background .4s, color .4s, transform .6s var(--ease); }
.q-card:hover .q-ic { background: rgba(255,255,255,.14); color: #F2C9A6; transform: rotate(-8deg) scale(1.06); }
.q-txt { flex: 1; min-width: 0; line-height: 1.3; }
.q-txt b { display: block; font-family: var(--head); font-weight: 500; font-size: 1.04rem; }
.q-txt small { font-size: .84rem; color: var(--muted); transition: color .4s; }
.q-card:hover small { color: rgba(255,255,255,.75); }
.q-go { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); color: var(--ink); font-size: .8rem; transition: transform .5s var(--ease), background .4s; }
.q-card:hover .q-go { transform: rotate(-45deg); background: #fff; color: var(--teal); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(76px, 10vw, 130px) 0; }
.section-tight { position: relative; padding: clamp(56px, 7vw, 90px) 0; }
.section.sand { background: var(--sand); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head h2 { margin: 0; }
.sec-head > p { max-width: 44ch; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* reveal system */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease), clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0s); }
[data-reveal="rise"] { transform: translateY(34px); filter: blur(6px); }
[data-reveal="pop"] { transform: scale(.9) rotate(-1.5deg); }
[data-reveal="window"] { opacity: 1; clip-path: inset(50% 50% 50% 50% round 24px); }
[data-reveal="window"] img { transform: scale(1.35); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-reveal="window"].in { clip-path: inset(0 0 0 0 round 24px); }
[data-reveal="window"].in img { transform: scale(1); }

/* ---------- welcome ---------- */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.w-media { position: relative; min-height: 560px; }
.w-img { position: absolute; overflow: hidden; border-radius: 24px; box-shadow: var(--sh-l); }
.w-img img { width: 100%; height: 100%; object-fit: cover; }
.w-a { left: 0; top: 0; width: 76%; height: 84%; }
.w-b { right: 0; bottom: 0; width: 50%; height: 40%; border: 8px solid var(--bg); }
.w-orbit { position: absolute; left: 64%; top: 6%; width: 86px; height: 86px; border-radius: 22px; display: grid; place-items: center; background: var(--white); box-shadow: var(--sh); animation: float 5s ease-in-out infinite; }
.w-orbit img { width: 60px; }
@keyframes float { 50% { transform: translateY(-14px) rotate(4deg); } }
.w-copy .lead { color: var(--ink); }
.w-copy > p:not(.lead):not(.tag) { color: var(--muted); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0 30px; }
.counters div { padding: 16px 10px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); text-align: center; transition: transform .5s var(--ease), border-color .3s; }
.counters div:hover { transform: translateY(-5px); border-color: var(--copper-l); }
.counters b { display: block; font-family: var(--head); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; color: var(--teal); line-height: 1.1; }
.counters span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- amenities: sticky stacking cards ---------- */
.amenities-sec { background: var(--teal-d); color: #fff; overflow: clip; }
.amenities-sec::before { content: ""; position: absolute; right: -15%; top: -10%; width: 55vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(136,85,54,.35), transparent 62%); animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }
.stack-wrap { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.stack-head { position: sticky; top: 120px; }
.stack { display: grid; gap: 26px; }
.stack-card { position: sticky; top: calc(110px + var(--n) * 18px); display: grid; grid-template-columns: 1.1fr .9fr; min-height: 300px; border-radius: var(--r-l); overflow: hidden; background: var(--white); color: var(--text); box-shadow: 0 -18px 40px -26px rgba(0,0,0,.55); transform-origin: top center; }
.sc-media { position: relative; overflow: hidden; }
.sc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stack-card:hover .sc-img { transform: scale(1.08); }
.sc-body { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.sc-no { margin-bottom: auto; font-family: var(--head); font-size: .8rem; letter-spacing: .14em; color: var(--muted); }
.sc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--copper); color: #fff; margin-bottom: 14px; transition: transform .6s var(--ease); }
.stack-card:hover .sc-ic { transform: rotate(-10deg); }
.sc-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.sc-body p { margin: 0; color: var(--muted); }

/* ---------- updates: events + board ---------- */
.updates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.up-col { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); }
.col-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.col-head h2 { margin: 0; }
.ev-mini { display: grid; gap: 10px; }
.ev-empty { display: flex; gap: 10px; align-items: center; margin: 0; padding: 18px; border-radius: 16px; border: 1.5px dashed var(--line-d); color: var(--muted); }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.up-col .board-grid { grid-template-columns: 1fr 1fr; }
.b-card { position: relative; padding: 24px 20px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); text-align: center; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, background .4s; }
.b-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(135deg, var(--teal), var(--teal-l)); opacity: .12; transition: height .6s var(--ease), opacity .4s; }
.b-card:hover { transform: translateY(-6px); box-shadow: var(--sh); background: var(--white); }
.b-card:hover::before { height: 100%; opacity: .06; }
.b-av { position: relative; width: 70px; height: 70px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; background: var(--teal); color: #fff; font-family: var(--head); font-size: 1.2rem; transition: transform .6s var(--ease), border-radius .6s; }
.b-card:hover .b-av { transform: rotate(-6deg); border-radius: 50%; }
.b-card h3 { font-size: 1.1rem; margin: 0 0 4px; }
.b-role { display: inline-block; padding: 3px 12px; border-radius: 99px; background: var(--copper-t); color: var(--copper-d); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.b-card p { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.empty-card { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 18px; border: 1.5px dashed var(--line-d); color: var(--muted); }
.empty-card i { font-size: 1.6rem; color: var(--copper); }
.empty-card p { margin: 0; }

/* ---------- moving photo rows ---------- */
.moving { overflow: hidden; }
.moving-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.moving-head h2 { margin: 0; }
.rows { display: grid; gap: 16px; }
.rows-track { display: flex; gap: 16px; width: max-content; animation: rowL 60s linear infinite; }
.rows-track.r2 { animation-name: rowR; animation-duration: 70s; }
.rows:hover .rows-track { animation-play-state: paused; }
@keyframes rowL { to { transform: translateX(-50%); } }
@keyframes rowR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.row-cell { margin: 0; flex: none; width: clamp(220px, 24vw, 340px); aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; cursor: zoom-in; }
.row-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.row-cell:hover img { transform: scale(1.1); }
.rows:hover .row-cell:not(:hover) img { filter: saturate(.45) brightness(.88); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 18px; background: var(--white); border: 1px solid var(--line); transition: box-shadow .4s, border-color .4s; }
.faq-item.open { border-color: var(--teal-l); box-shadow: var(--sh); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: none; border: 0; text-align: left; font-family: var(--head); font-size: 1.04rem; font-weight: 500; color: var(--ink); }
.faq-n { flex: none; font-size: .8rem; color: var(--copper); font-weight: 600; }
.faq-t { flex: 1; }
.faq-q .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); font-size: .8rem; transition: transform .5s var(--ease), background .3s, color .3s; }
.faq-item.open .ic { transform: rotate(180deg); background: var(--teal); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 22px 22px 58px; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- visit / map ---------- */
.visit { background: linear-gradient(120deg, var(--teal-dd), var(--teal-d)); color: #fff; }
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.near { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.near li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); transition: transform .4s var(--ease), background .3s; }
.near li:hover { transform: translateX(6px); background: rgba(255,255,255,.12); }
.near b { font-weight: 600; color: #fff; } .near span { color: #F2C9A6; font-family: var(--head); }
.map-card { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16/11; background: var(--sand); box-shadow: var(--sh-l); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-chip { position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 12px; background: var(--copper); color: #fff; font-family: var(--head); font-weight: 500; box-shadow: var(--sh); transition: transform .4s var(--ease), background .3s; }
.map-chip:hover { color: #fff; background: var(--copper-d); transform: translateY(-3px); }

/* ---------- inner page banner ---------- */
.page-banner { position: relative; min-height: clamp(380px, 58vh, 560px); display: flex; align-items: flex-end; overflow: hidden; background: var(--teal-dd); color: #fff; isolation: isolate; }
.pb-media { position: absolute; inset: 0; z-index: -2; }
.pb-img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; animation: pbZoom 14s ease-out forwards; }
@keyframes pbZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.pb-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,41,43,.3), rgba(16,41,43,.86)), linear-gradient(90deg, rgba(16,41,43,.6), transparent 70%); }
.pb-content { padding-top: 70px; padding-bottom: clamp(70px, 9vw, 110px); }
.pb-title { max-width: 18ch; font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; color: #fff; margin-bottom: 16px; }
.pb-lead { max-width: 60ch; color: rgba(255,255,255,.86); font-size: 1.08rem; margin: 0; }
.pb-in { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-ready .pb-in { opacity: 1; transform: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: .86rem; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { color: #fff; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(34px, 5vw, 70px); }
.wave path { fill: var(--bg); }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.story-copy > p:not(.lead):not(.tag) { color: var(--muted); }
.story-media { position: relative; aspect-ratio: 4/4.4; border-radius: 24px; overflow: hidden; box-shadow: var(--sh-l); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-chip { position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-family: var(--head); font-size: .9rem; color: var(--ink); }
.story-chip i { color: var(--copper); margin-right: 6px; }
.facts-band { background: var(--teal-t); }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.facts div { padding: 24px 16px; border-radius: 20px; background: var(--white); text-align: center; transition: transform .5s var(--ease), box-shadow .5s; }
.facts div:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.facts i { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; background: var(--copper-t); color: var(--copper); }
.facts b { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 600; color: var(--teal); line-height: 1.1; }
.facts span { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.am-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.am-card { position: relative; grid-column: span 2; min-height: 330px; border-radius: 24px; overflow: hidden; background: var(--teal-dd); isolation: isolate; }
.am-card:nth-child(4), .am-card:nth-child(5) { grid-column: span 3; }
.am-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.am-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(16,41,43,.9)); }
.am-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; transform: translateY(46px); transition: transform .6s var(--ease); }
.am-over h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.am-over p { margin: 0; color: rgba(255,255,255,.84); opacity: 0; transition: opacity .5s; }
.am-card:hover .am-img { transform: scale(1.1) rotate(1deg); }
.am-card:hover .am-over, .am-card:focus-within .am-over { transform: none; }
.am-card:hover .am-over p { opacity: 1; }
@media (hover: none) { .am-over { transform: none; } .am-over p { opacity: 1; } }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rule { padding: 28px 24px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.rule:hover { transform: translateY(-8px); box-shadow: var(--sh-l); }
.rule i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 1.15rem; margin-bottom: 18px; transition: transform .6s var(--ease), background .3s; }
.rule:hover i { transform: rotate(-10deg) scale(1.08); background: var(--copper); }
.rule h3 { font-size: 1.2rem; }
.rule p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- board page ---------- */
.duties { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.duty-list { list-style: none; padding: 0; margin: 0; counter-reset: d; display: grid; gap: 12px; }
.duty-list li { position: relative; padding: 20px 22px 20px 74px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); counter-increment: d; transition: transform .5s var(--ease), border-color .3s; }
.duty-list li::before { content: counter(d, decimal-leading-zero); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--copper-t); color: var(--copper); font-family: var(--head); font-weight: 600; font-size: .88rem; }
.duty-list li:hover { transform: translateX(8px); border-color: var(--copper-l); }
.duty-list b { display: block; font-family: var(--head); font-weight: 500; color: var(--ink); }
.duty-list span { color: var(--muted); font-size: .95rem; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh); }
.cta-band h2 { margin: 0 0 6px; } .cta-band p { margin: 0; } .cta-band .hero-cta { margin: 0; }

/* ---------- documents / portal ---------- */
.gate { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 60px); padding: clamp(26px, 5vw, 56px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh); }
.gate-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--copper); color: #fff; font-size: 1.3rem; margin-bottom: 20px; animation: float 5s ease-in-out infinite; }
.gate-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: center; }
.gate-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--bg); transition: transform .5s var(--ease); }
.gate-steps li:hover { transform: translateX(6px); }
.gate-steps li > span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal); color: #fff; font-family: var(--head); }
.gate-steps b { display: block; font-family: var(--head); font-weight: 500; color: var(--ink); line-height: 1.3; }
.gate-steps small { color: var(--muted); }
.portal-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.portal-top h2 { margin: 0; } .portal-top p { margin: 0; }
.docs-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.docs-side { position: sticky; top: 110px; }
.docs-cats { display: grid; gap: 6px; }
.docs-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; background: transparent; text-align: left; font-weight: 600; font-size: .94rem; color: var(--text); transition: background .3s, transform .4s var(--ease); }
.docs-cat b { min-width: 28px; padding: 2px 8px; border-radius: 8px; background: var(--sand); font-size: .76rem; text-align: center; }
.docs-cat:hover { background: var(--white); transform: translateX(4px); }
.docs-cat[aria-pressed="true"] { background: var(--teal); color: #fff; } .docs-cat[aria-pressed="true"] b { background: rgba(255,255,255,.2); }
.docs-search { position: relative; margin-bottom: 14px; }
.docs-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.docs-search input { width: 100%; padding: 14px 18px 14px 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); outline: none; transition: border-color .3s, box-shadow .3s; }
.docs-search input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(43,87,90,.12); }
.docs-subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.docs-subtab { padding: 7px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-size: .86rem; font-weight: 600; }
.docs-subtab.active { background: var(--copper); border-color: var(--copper); color: #fff; }
.docs-count { font-size: .86rem; color: var(--muted); margin: 0 0 10px; }
.docs-list { display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); color: var(--ink); animation: rowIn .6s var(--ease) both; animation-delay: var(--d, 0s); transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; }
.doc:hover { transform: translateY(-3px); border-color: var(--teal-l); box-shadow: var(--sh); color: var(--ink); }
.doc .ext { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--copper-t); color: var(--copper); font-family: var(--head); font-size: .72rem; font-weight: 700; }
.doc .ext.thumb, .doc-link .ic.thumb { position: relative; width: 48px; height: 62px; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 14px -10px rgba(16,41,43,.5); transition: transform .5s var(--ease); }
.doc .ext.thumb img, .doc-link .ic.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc .ext.thumb em { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 0; background: var(--copper); color: #fff; font-style: normal; font-size: .58rem; text-align: center; }
.doc:hover .ext.thumb { transform: rotate(-4deg) scale(1.06); }
.doc-meta { flex: 1; min-width: 0; } .doc-meta b { display: block; font-weight: 600; line-height: 1.35; } .doc-meta span { font-size: .82rem; color: var(--muted); }
.doc .arrow { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); transition: background .3s, color .3s, transform .5s var(--ease); }
.doc:hover .arrow { background: var(--teal); color: #fff; transform: rotate(-45deg); }
.docs-empty { padding: 30px; text-align: center; border: 1.5px dashed var(--line-d); border-radius: 16px; color: var(--muted); }
@keyframes rowIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- events ---------- */
.cal-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: start; }
.cal-card { padding: clamp(18px, 3vw, 30px); border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head h2 { margin: 0; font-size: 1.5rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-wd { text-align: center; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; font-family: var(--head); color: var(--ink); background: var(--bg); transition: background .3s, color .3s, transform .4s var(--ease); }
.cal-day.out { background: transparent; color: var(--line-d); }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--copper); }
.cal-day.has { cursor: pointer; background: var(--teal-t); font-weight: 600; }
.cal-day.has:hover { background: var(--teal); color: #fff; transform: scale(1.07); }
.cal-dots { position: absolute; bottom: 6px; display: flex; gap: 3px; }
.cal-dots i, .cal-legend i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot-meeting { background: var(--copper); } .dot-maintenance { background: #C58B2B; } .dot-social { background: var(--teal-l); } .dot-notice { background: #7A6E9C; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: .84rem; color: var(--muted); }
.cal-legend i { margin-right: 6px; }
.list-title { font-size: 1.1rem; margin: 0 0 12px; }
.ev-list + .list-title { margin-top: 28px; }
.ev-list { display: grid; gap: 10px; }
.ev-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); text-align: left; color: var(--ink); transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; }
.ev-row:hover { transform: translateX(6px); border-color: var(--copper-l); box-shadow: var(--sh); color: var(--ink); }
.ev-row.past { opacity: .7; }
.ev-date { flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-content: center; text-align: center; background: var(--teal); color: #fff; line-height: 1; }
.ev-date b { font-family: var(--head); font-size: 1.3rem; } .ev-date span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.ev-date.big { width: 68px; height: 68px; }
.ev-row-txt { flex: 1; min-width: 0; } .ev-row-txt b { display: block; font-family: var(--head); font-weight: 500; line-height: 1.3; } .ev-row-txt span { font-size: .85rem; color: var(--muted); }
.cat { flex: none; padding: 4px 10px; border-radius: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.cat-meeting { background: var(--copper-t); color: var(--copper-d); } .cat-maintenance { background: #FBF0DC; color: #8A5E14; } .cat-social { background: var(--teal-t); color: var(--teal-d); } .cat-notice { background: #EEEBF6; color: #564A7C; }
.ev-mhead { display: flex; gap: 16px; align-items: center; } .ev-mhead h3 { margin: 6px 0 0; }
.ev-facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ev-facts li { display: flex; gap: 12px; align-items: center; } .ev-facts i { width: 20px; color: var(--copper); }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; margin: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.g-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(7n+4) { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: var(--ink); font-size: .82rem; line-height: 1.35; transform: translateY(130%); transition: transform .5s var(--ease); }
.g-item figcaption span { flex: 1; }
.g-item figcaption i { color: var(--copper); }
.g-item:hover img { transform: scale(1.08); }
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 60px 70px; background: rgba(10,26,27,.94); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lightbox figure { margin: 0; max-width: 1200px; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 14px; animation: lbIn .6s var(--ease); }
.lightbox figcaption { margin-top: 14px; color: rgba(255,255,255,.8); font-size: .92rem; }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; transition: background .3s, transform .4s var(--ease); }
.lb-btn:hover { background: var(--copper); transform: scale(1.08); }
.lb-close { right: 20px; top: 20px; } .lb-prev { left: 16px; top: 50%; margin-top: -25px; } .lb-next { right: 16px; top: 50%; margin-top: -25px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 42px); border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh); }
.contact-side { display: grid; gap: 12px; }
.contact-side .map-card { aspect-ratio: 4/3; margin-top: 4px; }
.c-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; }
.c-card:hover { transform: translateY(-4px); border-color: var(--copper-l); box-shadow: var(--sh); color: var(--ink); }
.c-card > i { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--teal); color: #fff; }
.c-card > div { flex: 1; min-width: 0; }
.c-card small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-card a, .c-card span, .c-card b { color: var(--ink); font-weight: 600; word-break: break-word; }
a.c-card:first-child { background: var(--copper); border-color: var(--copper); }
a.c-card:first-child > i { background: rgba(255,255,255,.16); }
a.c-card:first-child small, a.c-card:first-child b { color: #fff; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.req { color: var(--copper); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); outline: none; transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(43,87,90,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B23A2E; box-shadow: 0 0 0 4px rgba(178,58,46,.1); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: .92rem; line-height: 1.5; }
.form-msg.show { display: block; animation: rowIn .5s var(--ease); }
.form-msg.ok { background: #E3F2EA; color: #1F5E43; border: 1px solid #BFE0CD; }
.form-msg.err { background: #FBEAE8; color: #8E2B21; border: 1px solid #F1C9C4; }
.pw-wrap { position: relative; } .pw-wrap input { padding-right: 48px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--muted); border-radius: 10px; }
.pw-eye:hover { color: var(--copper); }
.pw-meter { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin: 8px 0 4px; }
.pw-meter span { display: block; height: 100%; width: 0; transition: width .4s var(--ease), background .4s; }
.spinner { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.spinner.lg { width: 38px; height: 38px; border-color: var(--copper-t); border-top-color: var(--copper); margin-bottom: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,26,27,.62); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card { position: relative; width: 100%; max-width: 480px; max-height: calc(100svh - 32px); overflow-y: auto; border-radius: 24px; background: var(--white); box-shadow: var(--sh-l); opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .4s, transform .55s var(--ease); }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-card.wide { max-width: 760px; } .modal-card.xl { max-width: 1100px; }
.modal-head { position: relative; padding: 24px 64px 18px 26px; background: linear-gradient(120deg, var(--teal-d), var(--teal)); color: #fff; }
.modal-head h3 { margin: 0; font-size: 1.4rem; color: #fff; }
.modal-head p { margin: 4px 0 0; color: rgba(255,255,255,.8); font-size: .92rem; }
.modal-close { position: absolute; right: 16px; top: 18px; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255,255,255,.14); color: #fff; transition: background .3s, transform .5s var(--ease); }
.modal-close:hover { background: var(--copper); transform: rotate(90deg); }
.ev-mhead .cat { background: rgba(255,255,255,.15); color: #fff; }
.ev-mhead .ev-date { background: rgba(255,255,255,.14); }
.modal-body { padding: 22px 26px 26px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg); margin-bottom: 20px; }
.tabs button { padding: 10px; border: 0; border-radius: 10px; background: transparent; font-family: var(--head); font-weight: 500; color: var(--muted); transition: background .35s, color .35s, box-shadow .35s; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--teal); box-shadow: 0 6px 16px -10px rgba(0,0,0,.3); }
.doc-links { display: grid; gap: 10px; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.doc-link .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--copper-t); color: var(--copper); }
.doc-link .t { flex: 1; font-weight: 600; line-height: 1.35; } .doc-link small { display: block; font-weight: 400; color: var(--muted); }
.viewer-body { height: 70vh; background: var(--sand); }
.viewer-body iframe { width: 100%; height: 100%; border: 0; }
.viewer-body img { max-height: 100%; margin: auto; }
.viewer-body .empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.viewer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 20px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 4000; padding: 14px 22px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--sh-l); transform: translate(-50%, 160%); transition: transform .6s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; color: rgba(255,255,255,.75); padding: clamp(60px, 8vw, 100px) 0 26px; background: var(--teal-dd); isolation: isolate; }
.f-bg { position: absolute; inset: 0; z-index: -1; }
.f-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(.4); }
.f-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,41,43,.7), var(--teal-dd) 70%); }
.f-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.f-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 6px; max-width: 24ch; }
.f-cta p { margin: 0; } .f-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding: clamp(44px, 6vw, 64px) 0 30px; }
.footer-logo { display: inline-block; padding: 12px 18px; border-radius: 16px; background: var(--bg); margin-bottom: 18px; transition: transform .5s var(--ease); }
.footer-logo:hover { transform: translateY(-4px); }
.footer-logo img { width: 210px; }
.footer-about p { font-size: .94rem; max-width: 40ch; }
.site-footer h3 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #F2C9A6; margin: 0 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer ul a { display: inline-block; transition: color .3s, transform .4s var(--ease); }
.site-footer ul a:hover { color: #fff; transform: translateX(5px); }
.f-contact li { display: flex; gap: 12px; font-size: .94rem; }
.f-contact i { color: #F2C9A6; margin-top: 6px; width: 16px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); transition: background .3s, transform .5s var(--ease); }
.socials a:hover { background: var(--copper); transform: translateY(-4px) rotate(-6deg); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 50px; height: 50px; border-radius: 14px; border: 0; background: var(--copper); color: #fff; box-shadow: var(--sh); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal); transform: translateY(-4px); }

/* ---------- prose / 404 / account ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose li { margin-bottom: 6px; }
.nf { padding: clamp(60px, 10vw, 120px) 0; }
.nf-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.nf-tower { position: relative; justify-self: center; display: flex; flex-direction: column-reverse; gap: 8px; width: 170px; padding: 12px; border: 3px solid var(--teal); border-radius: 12px 12px 6px 6px; }
.nf-tower i { height: 20px; border-radius: 4px; background: var(--line); animation: flick 3s ease-in-out infinite; animation-delay: calc(var(--f) * .25s); }
.nf-tower b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: 6px 14px; border-radius: 10px; background: var(--copper); color: #fff; font-family: var(--head); font-size: 2rem; box-shadow: var(--sh); }
@keyframes flick { 50% { background: #E8B892; } }
.account-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(circle at 10% 10%, rgba(136,85,54,.14), transparent 40%), radial-gradient(circle at 90% 90%, rgba(43,87,90,.18), transparent 45%), var(--bg); }
.rp-card { width: 100%; max-width: 470px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-l); overflow: hidden; animation: rowIn .8s var(--ease) both; }
.rp-head { padding: 28px 30px 8px; text-align: center; border-top: 6px solid var(--teal); }
.rp-head img { width: 180px; margin: 0 auto; }
.rp-body { padding: 16px 30px 32px; }
.rp-body h1 { font-size: 1.6rem; }
.rp-back { display: block; text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.done-ic { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; background: var(--teal-t); color: var(--teal); font-size: 1.8rem; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) { .main-nav a { padding: 8px 9px; font-size: .88rem; } .brand img { width: 160px; } }
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: block; }
  .quick { grid-template-columns: 1fr 1fr; }
  .welcome-grid, .stack-wrap, .updates-grid, .faq-grid, .visit-grid, .story, .duties, .gate, .portal-top, .contact-grid, .cal-layout, .nf-grid { grid-template-columns: 1fr; }
  .stack-head, .faq-side, .docs-side { position: static; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .rules { grid-template-columns: 1fr 1fr; }
  .am-grid { grid-template-columns: 1fr 1fr; } .am-card, .am-card:nth-child(4), .am-card:nth-child(5) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-cats { display: flex; overflow-x: auto; padding-bottom: 6px; }
  .docs-cat { width: auto; white-space: nowrap; background: var(--white); border-color: var(--line); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hb-scroll { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .utility { display: none; }   /* address + email live in the mobile menu and footer */
  .bar, .site-header.scrolled .bar { height: 64px; gap: 10px; } .brand img, .site-header.scrolled .brand img { width: 140px; }
  .btn-pay span, .btn-login span { display: none; } .btn-pay, .btn-login { padding: 12px 14px; }
  .role-pill span { display: none; } .role-pill { padding: 12px 14px; }
  .hero-banner { min-height: 90svh; }
  .hb-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; width: 100%; }
  .quick, .rules, .am-grid, .row-2 { grid-template-columns: 1fr; }
  .counters, .facts, .up-col .board-grid { grid-template-columns: 1fr 1fr; }
  .facts div:last-child { grid-column: span 2; }
  .w-media { min-height: 400px; }
  .stack-card { grid-template-columns: 1fr; top: calc(84px + var(--n) * 12px); }
  .sc-media { min-height: 180px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .faq-a p { padding-left: 22px; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .modal-head { padding: 20px 60px 16px 20px; } .modal-body { padding: 18px 20px 22px; }
  .to-top { right: 12px; bottom: 12px; width: 46px; height: 46px; }
  .map-card { aspect-ratio: 4/4.5; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal], .hb-in, .pb-in { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  [data-letters] .ch { opacity: 1 !important; filter: none !important; transform: none !important; }
  .hl path { stroke-dashoffset: 0 !important; }
  .rows-track { animation: none !important; }
}
@media print { .utility, .site-header, .mobile-nav, .to-top, .loader, .progress-rail { display: none !important; } }
