:root {
  --forest: #174e35;
  --forest-2: #246343;
  --leaf: #58a86f;
  --lime: #a7cf4a;
  --mist: #edf6ef;
  --mint: #dceee1;
  --paper: #fbfdfb;
  --white: #fff;
  --ink: #183126;
  --muted: #62756b;
  --line: #dce7df;
  --shadow: 0 20px 50px rgba(30, 75, 50, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 2%, rgba(167, 207, 74, .09), transparent 24rem),
    var(--paper);
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 200; background: var(--forest); color: white; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 20px; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(251, 253, 251, .90); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(220, 231, 223, .85); }
.nav-shell { width: min(1240px, calc(100% - 40px)); min-height: 82px; margin: auto; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: .95rem; letter-spacing: -.01em; }
.brand small { color: var(--forest-2); font-size: .82rem; margin-top: 4px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 29px; }
.main-nav a { position: relative; color: #3f5549; font-size: .91rem; font-weight: 650; }
.main-nav a:not(.pesta-nav)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--leaf); transition: right .25s ease; }
.main-nav a:hover::after { right: 0; }
.main-nav .pesta-nav { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; }
.main-nav .pesta-nav:hover { background: var(--mist); border-color: #c8ddce; }
.login-button { border: 0; background: var(--forest); color: white; height: 44px; padding: 0 17px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.login-button svg { width: 18px; height: 18px; }
.login-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 78, 53, .22); background: #0f432c; }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--forest); transition: .25s; }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 78px; padding-block: 72px 66px; }
.eyebrow, .section-kicker { color: var(--forest-2); font-weight: 800; font-size: .73rem; letter-spacing: .15em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow span { width: 26px; height: 2px; background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 25px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.25rem, 6vw, 5.6rem); line-height: .98; font-weight: 500; letter-spacing: -.055em; }
h1 em { color: var(--forest-2); font-weight: 500; }
.hero-copy > p { max-width: 590px; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { min-height: 50px; padding: 0 21px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; font-size: .91rem; font-weight: 780; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, border .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--forest); color: white; box-shadow: 0 12px 26px rgba(23, 78, 53, .18); }
.button.primary:hover { background: #0f432c; box-shadow: 0 16px 32px rgba(23, 78, 53, .24); }
.button.secondary { background: transparent; border-color: #cbdcd0; color: var(--forest); }
.button.secondary:hover { background: var(--white); border-color: var(--leaf); }
.button.cream { background: #f4f8e9; color: var(--forest); }
.button.full { width: 100%; }
.hero-note { display: flex; align-items: center; gap: 14px; margin-top: 39px; }
.hero-note p { margin: 0; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.avatar-stack { display: flex; }
.avatar-stack span { width: 35px; height: 35px; margin-left: -8px; display: grid; place-items: center; border-radius: 50%; background: #a7cfb4; color: var(--forest); border: 3px solid var(--paper); font-size: .7rem; font-weight: 800; }
.avatar-stack span:first-child { margin-left: 0; background: #c8e0cf; }
.avatar-stack span:nth-child(2) { background: #94c5a2; }
.avatar-stack span:nth-child(3) { background: #dceba6; }
.avatar-stack span:last-child { background: var(--forest); color: white; }

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; isolation: isolate; }
.logo-stage { position: relative; width: min(410px, 78vw); aspect-ratio: .86; display: grid; place-items: center; overflow: hidden; border-radius: 210px 210px 48px 48px; background: linear-gradient(155deg, #ddecdf, #eef7df 64%, #d3ead9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), var(--shadow); }
.logo-stage::before { content: ""; position: absolute; width: 145%; height: 145%; border: 1px solid rgba(23,78,53,.11); border-radius: 50%; top: 15%; left: -65%; }
.logo-stage::after { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,.38); right: -22px; top: 58px; }
.logo-stage img { position: relative; z-index: 2; width: 235px; filter: drop-shadow(0 20px 28px rgba(23,78,53,.12)); }
.stage-label { position: absolute; z-index: 2; top: 39px; color: var(--forest); font-size: .65rem; font-weight: 900; letter-spacing: .22em; }
.hero-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(88,168,111,.25); z-index: -1; }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 570px; height: 570px; border-style: dashed; animation: spin 35s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 13px 16px 13px 13px; background: rgba(255,255,255,.94); border: 1px solid rgba(210,227,215,.9); border-radius: 17px; box-shadow: 0 16px 32px rgba(33,77,52,.13); }
.float-card span:not(.icon-box):not(.date-box) { display: flex; flex-direction: column; line-height: 1.32; }
.float-card small { color: var(--muted); font-size: .67rem; }
.float-card strong { font-size: .82rem; }
.float-info { top: 105px; left: -26px; animation: bob 5s ease-in-out infinite; }
.float-agenda { right: -25px; bottom: 82px; animation: bob 5s 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.icon-box, .date-box { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--mist); color: var(--forest); }
.date-box { line-height: 1; }
.date-box b { font-size: 1rem; }
.date-box small { font-size: .52rem; letter-spacing: .08em; }

.quick-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 13px 35px rgba(43,81,57,.06); overflow: hidden; }
.quick-strip > * { min-height: 104px; padding: 21px 24px; border: 0; border-right: 1px solid var(--line); background: transparent; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; transition: background .2s; }
.quick-strip > *:last-child { border-right: 0; }
.quick-strip > *:hover { background: var(--mist); }
.quick-strip svg { color: var(--forest-2); }
.quick-strip span { display: flex; flex: 1; flex-direction: column; line-height: 1.35; }
.quick-strip small { color: var(--muted); font-size: .7rem; }
.quick-strip strong { font-size: .9rem; }
.quick-strip b { color: var(--leaf); font-weight: 500; }

.content-section { padding-block: 115px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 38px; }
.section-heading h2, .about-copy h2, .contact-section h2, .resident-top h2 { margin: 5px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.08; font-weight: 500; letter-spacing: -.035em; }
.section-heading > a { margin-bottom: 6px; color: var(--forest-2); font-size: .85rem; font-weight: 750; }
.section-heading > a span { margin-left: 7px; }
.news-grid { display: grid; grid-template-columns: 1.45fr .78fr .78fr; gap: 18px; }
.news-card { position: relative; min-height: 346px; padding: 27px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card.featured { color: white; background: linear-gradient(140deg, #1d593c 0%, #327a50 100%); border-color: transparent; }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 25px; }
.news-meta time { color: var(--muted); font-size: .67rem; }
.featured .news-meta time { color: rgba(255,255,255,.67); }
.tag { padding: 5px 10px; border-radius: 999px; color: var(--forest); background: #e9f5d1; font-size: .62rem; font-weight: 850; letter-spacing: .05em; }
.tag.pale { background: var(--mist); }
.news-card h3 { margin-bottom: 12px; font-size: 1.14rem; line-height: 1.4; letter-spacing: -.012em; }
.news-card.featured h3 { max-width: 470px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; font-weight: 500; }
.news-card p { color: var(--mutednt, var(--muted)); font-size: .84rem; line-height: 1.7; }
.news-card.featured p { color: rgba(255,255,255,.72); max-width: 470px; }
.news-card .text-link { margin-top: auto; padding: 0; border: 0; background: transparent; color: var(--forest-2); display: flex; align-items: center; gap: 8px; width: fit-content; font-size: .79rem; font-weight: 800; cursor: pointer; }
.news-card.featured .text-link { color: #e8f7bd; }
.feature-mark { position: absolute; right: -8px; bottom: -82px; color: rgba(255,255,255,.055); font-family: Georgia, serif; font-size: 16rem; line-height: 1; }
.news-icon { width: 48px; height: 48px; margin-bottom: 24px; display: grid; place-items: center; color: var(--forest); background: var(--mint); border-radius: 14px; }
.news-icon.warm { background: #eef2d8; }

.resident-preview { display: none; margin-bottom: 108px; }
.resident-mode .resident-preview { display: block; }
.resident-panel { padding: 44px; color: white; background: linear-gradient(135deg, #123e2b, #286546); border-radius: 30px; box-shadow: 0 25px 60px rgba(18,62,43,.2); }
.resident-top { display: flex; justify-content: space-between; align-items: start; gap: 30px; margin-bottom: 31px; }
.section-kicker.light { color: #cfe792; }
.resident-top p { margin: 9px 0 0; color: rgba(255,255,255,.68); }
.secure-badge { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.07); display: flex; align-items: center; gap: 7px; font-size: .72rem; }
.secure-badge svg { width: 15px; height: 15px; }
.resident-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.resident-grid button { position: relative; min-height: 178px; padding: 20px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; display: flex; align-items: flex-start; flex-direction: column; text-align: left; cursor: pointer; transition: background .2s, transform .2s; }
.resident-grid button:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.portal-icon { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.11); border-radius: 12px; margin-bottom: 24px; }
.portal-icon svg { width: 19px; height: 19px; }
.resident-grid small { color: rgba(255,255,255,.58); font-size: .7rem; }
.resident-grid strong { font-size: .88rem; }
.resident-grid button > b { position: absolute; right: 19px; bottom: 15px; color: #cae98a; font-weight: 500; }

.agenda-section { padding-block: 105px; background: var(--mist); border-block: 1px solid #dbeadf; }
.agenda-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: start; }
.agenda-list { display: flex; flex-direction: column; }
.agenda-item { display: grid; grid-template-columns: 75px 1fr 45px; gap: 21px; align-items: center; padding: 22px 6px; border-bottom: 1px solid #d4e4d9; }
.agenda-item:first-child { border-top: 1px solid #d4e4d9; }
.agenda-item time { width: 68px; height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: white; border: 1px solid #d9e7dc; border-radius: 17px; line-height: 1; }
.agenda-item time b { color: var(--forest); font-family: Georgia, serif; font-size: 1.85rem; font-weight: 500; }
.agenda-item time span { margin-top: 7px; color: var(--muted); font-size: .57rem; letter-spacing: .12em; }
.agenda-item h3 { margin: 3px 0 6px; font-size: 1.02rem; }
.agenda-item p { margin: 0; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: .72rem; }
.agenda-item p svg { width: 14px; height: 14px; }
.agenda-item p i { width: 3px; height: 3px; background: #b1c2b7; border-radius: 50%; margin-inline: 3px; }
.agenda-type { color: var(--forest-2); font-size: .61rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.agenda-type.blue { color: #3d668a; }
.agenda-type.amber { color: #926a24; }
.agenda-item > button { width: 40px; height: 40px; border: 1px solid #cadae0; border-radius: 50%; background: transparent; color: var(--forest); cursor: pointer; transition: .2s; }
.agenda-item > button:hover { color: white; background: var(--forest); border-color: var(--forest); }
.calendar-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 16px 40px rgba(28,68,43,.06); }
.calendar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.calendar-top > span { display: flex; flex-direction: column; line-height: 1.25; }
.calendar-top small { color: var(--muted); font-size: .64rem; letter-spacing: .13em; }
.calendar-top strong { font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.calendar-top button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; text-align: center; }
.calendar-grid.labels { color: #8a9b91; margin-bottom: 9px; font-size: .55rem; font-weight: 850; }
.calendar-grid.days span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: .69rem; }
.calendar-grid.days .today { box-shadow: inset 0 0 0 1px var(--leaf); color: var(--forest); font-weight: 800; }
.calendar-grid.days .event { color: white; background: var(--forest); font-weight: 800; }
.calendar-card > p { margin: 24px 0 0; color: var(--muted); font-size: .65rem; display: flex; align-items: center; gap: 7px; }
.calendar-card > p i { width: 7px; height: 7px; background: var(--forest); border-radius: 50%; }

.activity-grid { display: grid; grid-template-columns: 1.45fr .78fr .78fr; gap: 18px; }
.activity-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.activity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.activity-card > div:last-child { padding: 25px; }
.pesta-card { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 355px; }
.pesta-card > div:last-child { display: flex; flex-direction: column; justify-content: center; }
.activity-art { position: relative; overflow: hidden; min-height: 100%; color: white; background: linear-gradient(145deg, #9e2131 0 48%, #f7f2e9 48% 55%, #bd2938 55%); display: flex; align-items: center; justify-content: center; flex-direction: column; line-height: .8; }
.activity-art::before, .activity-art::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.activity-art::before { left: -92px; top: -60px; }
.activity-art::after { right: -112px; bottom: -75px; }
.activity-art strong { font-family: Georgia, serif; font-size: 7rem; font-weight: 500; letter-spacing: -.09em; }
.activity-art small { margin-left: 5px; font-size: .62rem; letter-spacing: .38em; }
.activity-art b { margin-top: 26px; font-size: .7rem; letter-spacing: .18em; }
.activity-label { color: #a52b38; font-size: .61rem; font-weight: 900; letter-spacing: .12em; }
.activity-card h3 { margin: 8px 0 8px; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.activity-card p { color: var(--muted); font-size: .8rem; }
.activity-link, .activity-card button { margin-top: auto; color: var(--forest-2); font-size: .76rem; }
.activity-link span, .activity-card button span { margin-left: 7px; }
.activity-card button { padding: 0; border: 0; background: transparent; font-weight: 800; cursor: pointer; }
.activity-card.small { display: flex; flex-direction: column; }
.activity-cover { min-height: 190px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: var(--forest); background: linear-gradient(145deg, #d9ecdd, #eff5d3); }
.activity-cover::after { content: ""; position: absolute; }
.activity-cover svg { width: 54px; height: 54px; stroke-width: 1.2; }
.activity-cover span { font-size: .57rem; font-weight: 900; letter-spacing: .18em; }
.cover-family { color: #426a55; background: linear-gradient(145deg, #d7e5e0, #e9f0e5); }
.cover-family svg { width: 60px; }

.about-section { padding-block: 110px; color: white; background: var(--forest); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; }
.about-copy p { max-width: 510px; color: rgba(255,255,255,.7); line-height: 1.8; margin: 21px 0 29px; }
.value-list { border-top: 1px solid rgba(255,255,255,.18); }
.value-list > div { display: grid; grid-template-columns: 48px 100px 1fr; gap: 19px; align-items: center; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.value-list span { color: #b9d875; font-size: .67rem; font-weight: 850; }
.value-list strong { font-family: Georgia, serif; font-size: 1.2rem; font-weight: 500; }
.value-list p { margin: 0; color: rgba(255,255,255,.62); font-size: .79rem; }

.contact-section { margin-block: 105px; padding: 52px 55px; border-radius: 28px; background: linear-gradient(135deg, #e4f0e7, #f1f6db); display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-section h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact-section p { margin: 10px 0 0; color: var(--muted); max-width: 560px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }

footer { border-top: 1px solid var(--line); padding-block: 26px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand img { width: 43px; height: 43px; }
.footer-grid > p { margin: 0; color: var(--muted); font-size: .72rem; }

.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,32,22,.58); backdrop-filter: blur(8px); }
.modal-card { position: relative; z-index: 1; width: min(440px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 38px; border-radius: 27px; background: white; box-shadow: 0 30px 80px rgba(10,40,23,.26); transform: translateY(18px) scale(.98); transition: transform .25s; }
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-close { position: absolute; right: 18px; top: 17px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--muted); font-size: 1.25rem; cursor: pointer; }
.modal-logo { width: 67px; height: 67px; margin-bottom: 22px; }
.modal-card h2 { margin: 4px 0 8px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1.2; }
.modal-card > p { color: var(--muted); font-size: .83rem; }
.login-card form { display: grid; gap: 15px; margin-top: 24px; }
.login-card label { display: grid; gap: 7px; color: #4e6257; font-size: .73rem; font-weight: 750; }
.login-card input { width: 100%; height: 51px; padding: 0 16px; color: var(--ink); background: #fbfdfb; border: 1px solid #d5e2d9; border-radius: 12px; outline: none; }
.login-card input:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(88,168,111,.12); }
.demo-note { display: block; margin-top: 16px; color: #809087; font-size: .67rem; text-align: center; }
.admin-demo-link { width: fit-content; margin: 15px auto 0; display: flex; align-items: center; gap: 7px; color: var(--forest-2); font-size: .72rem; font-weight: 800; }
.admin-demo-link:hover { text-decoration: underline; }
.detail-card { width: min(520px, 100%); }
.detail-card .button { margin-top: 10px; }
.toast { position: fixed; z-index: 180; right: 22px; bottom: 22px; max-width: min(360px, calc(100% - 44px)); padding: 13px 17px; color: white; background: #153f2d; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: 0 18px 45px rgba(20,60,40,.25); display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast span { width: 24px; height: 24px; display: grid; place-items: center; color: var(--forest); background: #dff0a5; border-radius: 50%; font-size: .72rem; font-weight: 900; }
.toast p { margin: 0; font-size: .77rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .84rem; }
  .hero { gap: 30px; }
  .float-info { left: 0; }
  .float-agenda { right: 0; }
  .news-grid, .activity-grid { grid-template-columns: 1.2fr .8fr; }
  .news-card:last-child, .activity-card:last-child { grid-column: 2; }
  .news-card.featured { grid-row: span 2; }
  .activity-card.pesta-card { grid-row: span 2; }
  .about-grid { gap: 70px; }
  .resident-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-shell { min-height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: .86rem; }
  .brand small { font-size: .75rem; }
  .menu-toggle { display: block; order: 2; }
  .login-button { order: 1; margin-left: auto; }
  .main-nav { position: fixed; left: 20px; right: 20px; top: 80px; margin: 0; padding: 13px; display: flex; align-items: stretch; flex-direction: column; gap: 0; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-12px); visibility: hidden; transition: .25s; }
  .main-nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
  .main-nav a { padding: 10px 12px; }
  .main-nav .pesta-nav { border: 0; background: var(--mist); margin-top: 4px; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .hero-note { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-visual { min-height: 500px; }
  .quick-strip { grid-template-columns: 1fr; }
  .quick-strip > * { min-height: 85px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-strip > *:last-child { border-bottom: 0; }
  .agenda-layout, .about-grid { grid-template-columns: 1fr; }
  .calendar-card { max-width: 450px; }
  .news-grid, .activity-grid { grid-template-columns: 1fr 1fr; }
  .news-card.featured, .activity-card.pesta-card { grid-column: 1 / -1; grid-row: auto; }
  .news-card:last-child, .activity-card:last-child { grid-column: auto; }
  .contact-section { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .nav-shell { width: calc(100% - 24px); gap: 8px; }
  .brand span { display: none; }
  .login-button { height: 40px; padding-inline: 13px; font-size: .78rem; }
  .login-button svg { display: none; }
  .hero { min-height: auto; padding-top: 48px; gap: 35px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-copy > p { font-size: .95rem; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 400px; overflow: hidden; margin-inline: -14px; }
  .logo-stage { width: 290px; border-radius: 150px 150px 37px 37px; }
  .logo-stage img { width: 170px; }
  .stage-label { top: 29px; font-size: .48rem; }
  .orbit-one { width: 360px; height: 360px; }
  .orbit-two { width: 410px; height: 410px; }
  .float-info { left: 2px; top: 74px; }
  .float-agenda { right: 2px; bottom: 44px; }
  .float-card { padding: 9px 11px 9px 9px; }
  .float-card .icon-box, .float-card .date-box { width: 36px; height: 36px; }
  .float-card strong { font-size: .68rem; }
  .float-card small { font-size: .55rem; }
  .quick-strip { margin-top: 20px; }
  .content-section, .agenda-section, .about-section { padding-block: 78px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 27px; }
  .section-heading h2, .about-copy h2, .resident-top h2 { font-size: 2.35rem; }
  .news-grid, .activity-grid { grid-template-columns: 1fr; }
  .news-card.featured, .news-card:last-child, .activity-card.pesta-card, .activity-card:last-child { grid-column: auto; }
  .news-card { min-height: 310px; }
  .pesta-card { grid-template-columns: 1fr; }
  .activity-art { min-height: 235px; }
  .resident-preview { margin-bottom: 76px; }
  .resident-panel { padding: 28px 20px; border-radius: 23px; }
  .resident-top { flex-direction: column; }
  .resident-grid { grid-template-columns: 1fr; }
  .resident-grid button { min-height: 145px; }
  .agenda-layout { gap: 35px; }
  .agenda-item { grid-template-columns: 61px 1fr 34px; gap: 13px; }
  .agenda-item time { width: 58px; height: 66px; }
  .agenda-item h3 { font-size: .9rem; }
  .agenda-item p { gap: 5px; }
  .agenda-item p i, .agenda-item p svg:nth-of-type(2), .agenda-item p svg:nth-of-type(2) + * { display: none; }
  .agenda-item > button { width: 32px; height: 32px; }
  .about-grid { gap: 55px; }
  .value-list > div { grid-template-columns: 35px 80px 1fr; gap: 9px; }
  .value-list p { font-size: .71rem; }
  .contact-section { margin-block: 70px; padding: 33px 24px; }
  .contact-actions { width: 100%; }
  .contact-actions .button { width: 100%; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-grid > p:nth-child(2) { display: none; }
  .modal-card { padding: 30px 23px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
