/* ==========================================================================
   Ringling Professional Center Association — public site
   Direction: warm editorial noir. Charcoal + terracotta (from the logo),
   sand accents, oversized grotesk type with italic serif highlights,
   bento layouts, grain texture and motion throughout.
   ========================================================================== */

:root {
  --brand: #C4572B;
  --brand-600: #A9471F;
  --brand-700: #8C3A18;
  --brand-300: #E4865C;
  --brand-50: #FBEEE6;
  --brand-100: #F5D9C9;
  --sand: #E8D5B5;
  --sand-300: #D6BD93;
  --sand-50: #F4ECE0;
  --night: #141110;
  --night-2: #1E1A17;
  --night-3: #2A2420;
  --ink: #1E1A17;
  --ink-2: #3E3630;
  --muted: #7A6F65;
  --line: #E6DCCD;
  --line-dark: rgba(255, 255, 255, .1);
  --bg: #F7F2EB;
  --paper: #FFFCF8;
  --ok: #2E8B57;
  --err: #C0392B;

  --font-head: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 2px 10px rgba(20, 17, 16, .06);
  --shadow: 0 18px 44px -18px rgba(20, 17, 16, .28);
  --shadow-lg: 0 40px 90px -30px rgba(20, 17, 16, .45);
  --shadow-brand: 0 16px 34px -12px rgba(196, 87, 43, .6);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.04; margin: 0 0 .5em; letter-spacing: -.035em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
em, .hl { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--brand); letter-spacing: -.01em; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid rgba(196, 87, 43, .6); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 80px); position: relative; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 60ch; line-height: 1.7; }
.center .lead { margin-inline: auto; }
.dark { background: var(--night); color: #CFC5BA; position: relative; isolation: isolate; }
.dark h1, .dark h2, .dark h3 { color: #FBF6EF; }
.dark .lead, .dark .muted { color: #A99D91; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .07; pointer-events: none; }
.bg-sand { background: var(--sand-50); }

.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before, .kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow i { display: none; }
.eyebrow .num { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.dark .eyebrow, .dark .kicker { color: var(--brand-300); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head.split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.center h2 { margin-inline: auto; }

/* ------------------------------- buttons ------------------------------- */
.btn { --bg: var(--brand); --fg: #fff; --fill: var(--night); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 8px 8px 24px; min-height: 54px; border-radius: 99px; font-weight: 600; font-size: .96rem; line-height: 1.1; background: var(--bg); color: var(--fg); border: 1px solid transparent; overflow: hidden; isolation: isolate; white-space: nowrap; transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .35s, border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--fill); transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); }
.btn:hover::before { transform: translateY(0); }
.btn > i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); font-size: .85rem; transition: transform .5s var(--ease), background .35s; }
.btn > i:first-child { width: auto; height: auto; background: none; }
.btn:hover > i:not(:first-child) { transform: rotate(-45deg); background: var(--brand); }
.btn-dark { --bg: var(--night); --fill: var(--brand); }
.btn-dark:hover > i:not(:first-child) { background: rgba(255,255,255,.2); }
.btn-dark:hover { box-shadow: 0 16px 34px -12px rgba(0,0,0,.55); }
.btn-outline { --bg: transparent; --fg: var(--ink); --fill: var(--ink); border-color: rgba(30,26,23,.2); }
.btn-outline > i:not(:first-child) { background: rgba(30,26,23,.08); }
.btn-outline:hover { --fg: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.dark .btn-outline, .hero .btn-outline { --fg: #fff; --fill: #fff; border-color: rgba(255,255,255,.25); }
.dark .btn-outline > i:not(:first-child), .hero .btn-outline > i:not(:first-child) { background: rgba(255,255,255,.12); }
.dark .btn-outline:hover, .hero .btn-outline:hover { --fg: var(--night); }
.btn-light { --bg: #fff; --fg: var(--ink); --fill: var(--sand); }
.btn-light > i:not(:first-child) { background: var(--brand-50); color: var(--brand); }
.btn-sm { min-height: 42px; padding: 6px 18px; font-size: .86rem; }
.btn-block { width: 100%; padding-inline: 20px; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.btn.no-ic { padding-inline: 26px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 28px; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .5s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow i { transition: transform .4s var(--ease); color: var(--brand); }
.link-arrow:hover i { transform: rotate(-45deg); }
.dark .link-arrow { color: #fff; }
.text-btn { color: var(--brand); font-weight: 600; font-size: .9rem; }
.text-btn:hover { text-decoration: underline; }

/* ------------------------------- custom cursor ------------------------------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(196,87,43,.7); transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brand); transition: opacity .3s; }
.cursor.on, .cursor-dot.on { opacity: 1; }
.cursor.hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(196,87,43,.14); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ------------------------------- loader (home only) ------------------------------- */
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--night); color: #fff; overflow: hidden; transition: transform 1s var(--ease-io) .1s; }
.loader::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .06; }
.loader.done { transform: translateY(-100%); }
.loader-inner { position: absolute; inset: 0; display: grid; place-items: center; }
.loader-logo { width: 220px; opacity: 0; filter: brightness(0) invert(1); animation: loaderLogo 1.2s var(--ease) .15s forwards; }
.loader-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 42px; height: 1px; background: rgba(255,255,255,.14); }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s linear; }
.loader-count { position: absolute; right: var(--gutter); bottom: 58px; font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 14vw, 11rem); line-height: .8; letter-spacing: -.06em; color: #fff; }
.loader-tag { position: absolute; left: var(--gutter); bottom: 62px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #9A8E82; }
@keyframes loaderLogo { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: var(--brand); }

/* ------------------------------- header ------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-block: 16px; transition: padding .5s var(--ease), transform .6s var(--ease); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 8px 8px 8px 22px; border-radius: 99px; border: 1px solid transparent; transition: background .5s, border-color .5s, box-shadow .5s; }
.site-header.scrolled { padding-block: 10px; }
.site-header.scrolled .bar { background: rgba(255, 252, 248, .84); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); border-color: rgba(30,26,23,.08); box-shadow: var(--shadow); }
.site-header.hide { transform: translateY(-130%); }
.brand-logo img { width: 160px; height: auto; transition: filter .5s, transform .4s var(--ease); }
.brand-logo:hover img { transform: scale(1.03); }
.site-header:not(.scrolled) .brand-logo img { filter: brightness(0) invert(1); }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; border-radius: 99px; border: 1px solid transparent; transition: background .5s, border-color .5s; }
.main-nav a { position: relative; display: block; padding: 10px 16px; border-radius: 99px; font-weight: 500; font-size: .93rem; line-height: 1.3; color: var(--ink-2); white-space: nowrap; overflow: hidden; transition: color .35s, background .35s; }
.main-nav a span { display: block; transition: transform .45s var(--ease); }
.main-nav a span::after { content: attr(data-t); position: absolute; left: 0; right: 0; top: 100%; text-align: center; color: var(--brand); }
.main-nav a:hover span { transform: translateY(-100%); }
.main-nav a.active { background: var(--night); color: #fff; }
.main-nav a.active span::after { color: var(--sand); }
.site-header:not(.scrolled) .main-nav ul { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header:not(.scrolled) .main-nav a { color: #E9E1D7; }
.site-header:not(.scrolled) .main-nav a span::after { color: var(--brand-300); }
.site-header:not(.scrolled) .main-nav a.active { background: #fff; color: var(--night); }
.site-header:not(.scrolled) .main-nav a.active span::after { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 46px; padding: 6px 20px; font-size: .9rem; }
.header-actions .btn > i:first-child { font-size: .85rem; }
.site-header:not(.scrolled) .btn-pay { --bg: rgba(255,255,255,.08); --fill: #fff; border-color: rgba(255,255,255,.18); }
.site-header:not(.scrolled) .btn-pay:hover { --fg: var(--night); }
.user-chip { display: none; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 99px; background: var(--sand-50); font-size: .86rem; font-weight: 600; color: var(--ink); }
.site-header:not(.scrolled) .user-chip { background: rgba(255,255,255,.1); color: #fff; }
.user-chip .av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .74rem; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: #fff; position: relative; }
.site-header:not(.scrolled) .nav-toggle { background: #fff; color: var(--night); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 50%; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease), background .2s; }
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle { background: var(--brand) !important; color: #fff !important; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 150; background: var(--night); color: #fff; padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; gap: 28px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s; visibility: hidden; overflow-y: auto; }
.nav-open .mobile-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; display: grid; }
.mobile-nav li { overflow: hidden; }
.mobile-nav a.m-link { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-size: clamp(2rem, 9vw, 3rem); font-weight: 700; letter-spacing: -.04em; padding: 6px 0; color: #fff; transform: translateY(110%); transition: transform .8s var(--ease), color .3s; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-nav a.m-link i { font-size: 1.1rem; color: var(--brand); transform: rotate(-45deg); }
.mobile-nav a.m-link.active, .mobile-nav a.m-link:hover { color: var(--brand-300); }
.nav-open .mobile-nav a.m-link { transform: none; }
.nav-open .mobile-nav li:nth-child(2) a { transition-delay: .05s; } .nav-open .mobile-nav li:nth-child(3) a { transition-delay: .1s; }
.nav-open .mobile-nav li:nth-child(4) a { transition-delay: .15s; } .nav-open .mobile-nav li:nth-child(5) a { transition-delay: .2s; }
.mobile-nav .m-actions { display: grid; gap: 10px; }
.mobile-nav .m-contact { font-size: .9rem; color: #A99D91; display: grid; gap: 6px; }
.nav-open .site-header { z-index: 160; transform: none; }
.nav-open .site-header .bar { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
.nav-open .brand-logo img { filter: brightness(0) invert(1) !important; }

/* ------------------------------- reveal ------------------------------- */
[data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="blur"] { filter: blur(12px); transform: translateY(20px); }
[data-reveal="clip"] { opacity: 1; }
[data-reveal="clip"]::after { content: ""; position: absolute; inset: 0; z-index: 5; background: var(--brand); transform-origin: 50% 0; transition: transform 1.2s var(--ease-io); transition-delay: var(--d, 0s); pointer-events: none; }
[data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="clip"].in::after { transform: scaleY(0); }
[data-reveal="clip"].in img { transform: none; }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.img-reveal { position: relative; overflow: hidden; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 40ms + var(--d, 0s)); }
.split.in .w > span { transform: none; }

/* ------------------------------- ticker / marquee ------------------------------- */
.ticker { position: relative; z-index: 3; background: var(--brand); color: #fff; padding-block: 18px; transform: rotate(-2deg) scale(1.04); margin-block: -28px; box-shadow: 0 20px 40px -20px rgba(196,87,43,.7); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: -.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; }
.ticker span::after { content: "\2726"; font-size: .8em; color: var(--sand); }
.ticker em { color: var(--night); font-size: 1.15em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex: none; height: 92px; min-width: 190px; padding: 16px 28px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
.marquee-item img { max-height: 50px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .45s, opacity .45s; }
.marquee-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.marquee-item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------- HERO (home) ------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #CFC5BA; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 16px) 0 56px; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -240px; top: -300px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(196,87,43,.42), transparent 62%); animation: glow 12s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .07; pointer-events: none; }
.hero-lines { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 88px 88px; -webkit-mask-image: radial-gradient(ellipse at 25% 45%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 25% 45%, #000 15%, transparent 70%); }
@keyframes glow { to { transform: translate(-140px, 140px) scale(1.15); } }
.hero > .container { width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero .eyebrow { color: var(--sand); }
.hero h1 { color: #FBF6EF; font-size: clamp(2.8rem, min(6vw, 10vh), 6rem); line-height: .96; letter-spacing: -.055em; margin-bottom: .3em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: left bottom; transition: transform 1.2s var(--ease); }
.hero h1 em { color: var(--brand-300); padding-right: .08em; }
.is-ready .hero h1 .line > span { transform: none; }
.is-ready .hero h1 .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero h1 .line:nth-child(3) > span { transition-delay: .2s; }
.hero .lead { color: #B3A79B; margin-bottom: clamp(20px, 3.5vh, 34px); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.collage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.02; max-height: calc(100svh - 190px); margin-left: auto; }
.ph { position: absolute; overflow: hidden; border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75); background: var(--night-3); will-change: transform; }
.ph img { width: 100%; height: 100%; object-fit: cover; scale: 1.16; transition: scale 1.2s var(--ease); }
.ph:hover img { scale: 1.26; }
.ph-1 { left: 8%; top: 5%; width: 58%; height: 55%; }
.ph-2 { right: 0; top: 28%; width: 44%; height: 46%; border-radius: 220px 220px 26px 26px; }
.ph-3 { left: 0; bottom: 3%; width: 47%; height: 35%; }
.glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; color: #fff; animation: floaty 7s ease-in-out infinite; z-index: 2; }
.float-card i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.float-card b { display: block; font-family: var(--font-head); font-size: 1rem; letter-spacing: -.01em; line-height: 1.2; }
.float-card span { font-size: .78rem; color: #CFC5BA; }
.fc-1 { right: 4%; bottom: 12%; }
.fc-2 { left: 46%; top: 0; animation-delay: -3.5s; }
.fc-2 i { background: #fff; color: var(--night); }
.spin-badge { position: absolute; right: 40%; bottom: -1%; width: 116px; height: 116px; z-index: 3; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--night); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.spin-badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 16s linear infinite; }
.spin-badge text { font-family: var(--font-body); font-size: 9.4px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; fill: var(--night); }
.spin-badge i { font-size: 1.2rem; color: var(--brand); transform: rotate(-45deg); transition: transform .5s var(--ease); }
.spin-badge:hover i { transform: rotate(0); }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.hero-meta { display: flex; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; margin-top: clamp(20px, 4vh, 44px); padding-top: clamp(16px, 3vh, 26px); border-top: 1px solid rgba(255,255,255,.1); }
.hero-meta > div { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: #A99D91; }
.hero-meta > div > i { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); color: var(--brand-300); }
.hero-meta b { display: block; color: #fff; font-weight: 600; }
.hero-meta span > span { display: block; }
.scroll-cue { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--brand-300); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ------------------------------- page hero (inner) ------------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--night); color: #CFC5BA; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(56px, 8vw, 110px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/page-hero.png") center/cover no-repeat; opacity: .32; transform: scale(1.1); animation: kenburns 18s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 85% 0%, rgba(196,87,43,.38), transparent 55%), linear-gradient(180deg, rgba(20,17,16,.5), var(--night) 96%); }
@keyframes kenburns { to { transform: scale(1); } }
.page-hero .banner { position: relative; }
.page-hero h1 { color: #FBF6EF; font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -.06em; line-height: .92; margin-bottom: 22px; }
.page-hero h1 .hl, .page-hero h1 em { color: var(--brand-300); }
.page-hero p { color: #B3A79B; max-width: 54ch; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.page-hero .wave-deco { display: none; }
.crumbs { display: inline-flex; align-items: center; gap: 10px; list-style: none; margin: 10px 0 0; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #CFC5BA; font-size: .86rem; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .45; }
.crumbs li[aria-current] { color: var(--brand-300); font-weight: 600; }

/* ------------------------------- bento (about) ------------------------------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 34px); transition: box-shadow .6s var(--ease), border-color .4s; min-width: 0; }
.tile:hover { box-shadow: var(--shadow); }
.tile-intro { grid-column: span 7; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.tile-intro h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); max-width: 15ch; margin: 0; }
.tile-intro p { max-width: 54ch; color: var(--muted); margin: 0; }
.tile-photo { grid-column: span 5; padding: 0; min-height: 380px; border: 0; background: var(--night-3); }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.18; transition: scale 1.2s var(--ease); }
.tile-photo:hover img { scale: 1.27; }
.tile-photo .tag { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 14px 18px; border-radius: 16px; color: #fff; font-size: .88rem; }
.tile-photo .tag b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.tile-stat { grid-column: span 3; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; }
.tile-stat b { font-family: var(--font-head); font-size: clamp(3rem, 5.2vw, 4.6rem); letter-spacing: -.06em; line-height: 1; color: var(--ink); }
.tile-stat span { color: var(--muted); font-size: .92rem; }
.tile-stat i { color: var(--brand); font-size: 1.2rem; }
.tile-stat.accent { background: var(--brand); border-color: var(--brand); }
.tile-stat.accent b, .tile-stat.accent i { color: #fff; }
.tile-stat.accent span { color: #FBE3D5; }
.tile-stat.ink { background: var(--night); border-color: var(--night); }
.tile-stat.ink b { color: #fff; }
.tile-stat.ink i { color: var(--brand-300); }
.tile-stat.ink span { color: #A99D91; }
.tile-links { grid-column: span 6; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--sand-50); }
.qlink { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 18px; min-height: 124px; border-radius: 18px; background: var(--paper); text-align: left; overflow: hidden; transition: background .45s, transform .45s var(--ease); }
.qlink i.ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); transition: background .45s, color .45s; }
.qlink b { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); letter-spacing: -.02em; transition: color .45s; }
.qlink small { display: block; color: var(--muted); font-size: .8rem; transition: color .45s; }
.qlink .go { position: absolute; top: 20px; right: 20px; color: var(--muted); transition: transform .5s var(--ease), color .45s; }
.qlink:hover { background: var(--night); transform: translateY(-3px); }
.qlink:hover b { color: #fff; }
.qlink:hover small { color: #A99D91; }
.qlink:hover i.ic { background: var(--brand); color: #fff; }
.qlink:hover .go { color: var(--brand-300); transform: rotate(-45deg); }

/* ------------------------------- buildings explorer ------------------------------- */
.explorer { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.explorer > * { min-width: 0; }
.bld-tabs { display: grid; gap: 8px; }
.bld-tab { display: flex; align-items: center; gap: 16px; width: 100%; padding: 10px 18px 10px 10px; border-radius: 22px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.02); color: #CFC5BA; text-align: left; transition: background .45s, border-color .45s, color .45s, transform .45s var(--ease); }
.bld-tab .l { width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; background: rgba(255,255,255,.06); color: #fff; transition: background .45s, color .45s, transform .6s var(--ease); }
.bld-tab b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: -.01em; transition: color .45s; }
.bld-tab small { color: #9A8E82; font-size: .82rem; }
.bld-tab .arr { margin-left: auto; color: #6E645B; transition: transform .45s var(--ease), color .45s; }
.bld-tab:hover { border-color: rgba(255,255,255,.22); transform: translateX(6px); }
.bld-tab[aria-selected="true"] { background: #FBF6EF; border-color: #FBF6EF; }
.bld-tab[aria-selected="true"] b { color: var(--night); }
.bld-tab[aria-selected="true"] small { color: var(--muted); }
.bld-tab[aria-selected="true"] .l { background: var(--brand); transform: rotate(-8deg); }
.bld-tab[aria-selected="true"] .arr { color: var(--brand); transform: rotate(-45deg); }
.bld-panel { border-radius: var(--r-xl); overflow: hidden; background: var(--night-2); border: 1px solid var(--line-dark); animation: panelIn .7s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.bld-photo { position: relative; aspect-ratio: 295 / 118; overflow: hidden; background: var(--night-3); }
.bld-photo img { position: absolute; left: -9.6%; top: -20.5%; width: 119.4%; max-width: none; height: auto; transition: transform 1.4s var(--ease); }
.bld-panel:hover .bld-photo img { transform: scale(1.05); }
.bld-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,26,23,.1) 30%, rgba(30,26,23,.96)); }
.bld-photo .big { position: absolute; z-index: 1; left: clamp(20px, 3vw, 34px); bottom: 8px; font-family: var(--font-head); font-weight: 800; font-size: clamp(3.6rem, 8vw, 7rem); line-height: .8; letter-spacing: -.07em; color: #fff; }
.bld-photo .big em { font-size: .3em; letter-spacing: 0; color: var(--brand-300); margin-left: 12px; vertical-align: middle; }
.bld-list { padding: 8px clamp(12px, 2vw, 22px) 16px; display: grid; }
.unit-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 11px 8px; border-bottom: 1px solid var(--line-dark); border-radius: 12px; transition: background .35s, padding .45s var(--ease); }
.unit-row:last-child { border-bottom: 0; }
.unit-row:hover { background: rgba(255,255,255,.04); padding-left: 16px; }
.unit-row .u { font-family: var(--font-head); font-weight: 700; color: var(--sand); font-size: .95rem; }
.unit-row .n b { display: block; color: #FBF6EF; font-weight: 600; line-height: 1.3; }
.unit-row .n a:hover b { color: var(--brand-300); }
.unit-row .n small { color: #9A8E82; }
.unit-row .n .vac { color: #6E645B; font-style: italic; }
.unit-row .lg { width: 112px; height: 42px; border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 4px 8px; }
.unit-row .lg img { max-height: 32px; max-width: 96px; width: auto; }
.unit-row .lg.empty { background: transparent; }

.tenant-table { width: 100%; border-collapse: collapse; }
.tenant-table tr { border-bottom: 1px solid var(--line); transition: background .3s; }
.tenant-table tr:hover { background: var(--sand-50); }
.tenant-table td { padding: 12px 14px; vertical-align: middle; }
.tenant-table td.unit { width: 96px; font-weight: 700; font-family: var(--font-head); color: var(--brand); }
.tenant-table .tn b { color: var(--ink); display: block; }
.tenant-table .tn small { color: var(--muted); }
.tenant-table .tn .vacant { color: var(--muted); font-style: italic; }
.tenant-table td.logo { width: 150px; }
.tenant-table td.logo img { max-height: 40px; max-width: 130px; width: auto; }
.tenant-table td.act { width: 56px; text-align: right; }
.round-go { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--brand); transition: all .4s var(--ease); }
a.round-go:hover { background: var(--brand); color: #fff; transform: rotate(-45deg); }

/* ------------------------------- board ------------------------------- */
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.board-card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); min-height: 330px; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s; }
.board-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--night); clip-path: circle(0 at 100% 0); transition: clip-path .9s var(--ease-io); }
.board-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--night); }
.board-card:hover::before { clip-path: circle(150% at 100% 0); }
.board-card .av { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: auto; font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--brand); background: var(--brand-50); transition: background .5s, color .5s, transform .7s var(--ease); }
.board-card:hover .av { background: var(--brand); color: #fff; transform: rotate(-10deg) scale(1.05); }
.board-card h3 { margin: 44px 0 8px; font-size: clamp(1.5rem, 2.2vw, 1.95rem); transition: color .5s; }
.board-card:hover h3 { color: #fff; }
.role-tag { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.board-card:hover .role-tag { color: var(--brand-300); }
.board-card p { font-size: .94rem; color: var(--muted); margin: 0; transition: color .5s; }
.board-card:hover p { color: #A99D91; }

/* ------------------------------- gallery ------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid.masonry { grid-auto-rows: 250px; }
.gallery-grid.masonry .g-item:nth-child(6n+1) { grid-row: span 2; }
.gallery-grid.masonry .g-item:nth-child(6n+5) { grid-column: span 2; }
.gallery-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 60px; cursor: grab; scrollbar-width: none; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-strip.dragging .g-item { pointer-events: none; }
.gallery-strip .g-item { flex: none; width: clamp(250px, 29vw, 390px); aspect-ratio: 4 / 5; scroll-snap-align: start; }
.gallery-strip .g-item:nth-child(even) { margin-top: 50px; margin-bottom: -50px; }
.g-item { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--night-3); cursor: zoom-in; aspect-ratio: 4/3; }
.gallery-grid.masonry .g-item { aspect-ratio: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; scale: 1.18; transition: scale 1.2s var(--ease); pointer-events: none; -webkit-user-drag: none; user-select: none; }
.g-item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(20,17,16,.82), transparent 55%); opacity: 0; transition: opacity .6s var(--ease); }
.g-item figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff; font-weight: 500; font-size: .92rem; transform: translateY(18px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.g-item .zoom { position: absolute; z-index: 2; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--night); transform: scale(0) rotate(-90deg); transition: transform .6s var(--ease); }
.g-item:hover img { scale: 1.28; }
.g-item:hover::before { opacity: 1; }
.g-item:hover figcaption { transform: none; opacity: 1; }
.g-item:hover .zoom { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: rgba(14,12,11,.94); opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 18px; transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox figcaption { color: #CFC5BA; margin-top: 14px; font-size: .92rem; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: var(--brand); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ------------------------------- FAQ ------------------------------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-wrap > * { min-width: 0; }
.faq-wrap .sticky { position: sticky; top: 120px; }
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; gap: 18px; align-items: center; text-align: left; padding: 24px 4px; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.25rem); letter-spacing: -.02em; color: var(--ink); transition: color .35s, padding .45s var(--ease); }
.faq-q:hover { color: var(--brand); padding-left: 10px; }
.faq-q .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s; }
.faq-item.open .faq-q { color: var(--brand); }
.faq-item.open .faq-q .ic { transform: rotate(135deg); background: var(--brand); border-color: var(--brand); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 60px 24px 4px; margin: 0; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ------------------------------- CTA ------------------------------- */
.cta-big { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--brand); color: #FBE3D5; padding: clamp(40px, 7vw, 100px) clamp(24px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.cta-big::before { content: ""; position: absolute; width: 540px; height: 540px; right: -150px; bottom: -280px; z-index: -1; border-radius: 50%; border: 90px solid rgba(255,255,255,.08); }
.cta-big::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .08; }
.cta-big h2 { color: #fff; font-size: clamp(2.4rem, 6vw, 5.6rem); letter-spacing: -.06em; margin-bottom: 14px; max-width: 13ch; }
.cta-big h2 em { color: var(--night); }
.cta-big p { max-width: 50ch; margin: 0 0 26px; }
.cta-big .hero-cta .btn-dark { --fill: #fff; }
.cta-big .hero-cta .btn-dark:hover { --fg: var(--night); }
.cta-circle { width: clamp(150px, 16vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; align-content: center; text-align: center; font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; transition: background .5s, color .5s, transform .5s var(--ease); }
.cta-circle i { display: block; font-size: 1.4rem; margin: 0 auto 8px; transform: rotate(-45deg); transition: transform .5s var(--ease), color .4s; }
.cta-circle:hover { background: #fff; color: var(--night); }
.cta-circle:hover i { transform: rotate(0); color: var(--brand); }

/* ------------------------------- forms ------------------------------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; position: relative; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--brand); }
.input, .field input, .field select, .field textarea { width: 100%; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .3s, box-shadow .3s; outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(196,87,43,.14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; left: -9999px !important; 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; }
.form-msg.ok { background: #E7F4EC; color: #1E6B40; }
.form-msg.err { background: #FBEAE7; color: #9B2C1F; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; color: var(--muted); display: grid; place-items: center; }
.pw-eye:hover { background: var(--sand-50); color: var(--brand); }

.contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 40px; padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s; }
.c-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand); transform: translateY(101%); transition: transform .7s var(--ease); }
.c-tile i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); transition: background .5s, transform .6s var(--ease); }
.c-tile b { display: block; font-family: var(--font-head); font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; transition: color .5s; }
.c-tile span { color: var(--muted); word-break: break-word; transition: color .5s; }
.c-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-brand); }
.c-tile:hover::before { transform: none; }
.c-tile:hover i { background: #fff; transform: rotate(-12deg); }
.c-tile:hover b { color: #fff; }
.c-tile:hover span { color: #FBE3D5; }
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.contact-split > * { min-width: 0; }
.contact-split .form-side { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--night); color: #B3A79B; padding: clamp(26px, 4.5vw, 56px); }
.contact-split .form-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0, rgba(196,87,43,.38), transparent 50%); }
.contact-split .form-side h2 { color: #fff; }
.contact-split .form-side .eyebrow { color: var(--brand-300); background: none; border: 0; padding: 0; }
.contact-card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); color: var(--ink-2); margin-top: 26px; }
.contact-split .faq-side { border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); padding: clamp(26px, 4.5vw, 56px); }
.contact-split .faq-side h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.map-wrap { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--sand-50); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.15); transition: filter .8s; }
.map-wrap:hover iframe { filter: none; }

/* ------------------------------- modal ------------------------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14,12,11,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card { position: relative; width: 100%; max-width: 470px; max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); border-radius: 32px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .5s var(--ease), transform .7s var(--ease); overscroll-behavior: contain; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-card.wide { max-width: 820px; }
.modal-card.xl { max-width: 1040px; height: calc(100vh - 32px); display: flex; flex-direction: column; }
.modal-head { position: relative; padding: 28px 30px 24px; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.modal-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0, rgba(196,87,43,.55), transparent 60%); }
.modal-head h3 { color: #fff; margin: 0; font-size: 1.75rem; letter-spacing: -.04em; }
.modal-head p { margin: 4px 0 0; color: #B3A79B; font-size: .9rem; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .3s, transform .5s var(--ease); z-index: 2; }
.modal-close:hover { background: var(--brand); transform: rotate(90deg); }
.modal-body { padding: 26px 30px 30px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 99px; background: var(--sand-50); margin-bottom: 22px; }
.tabs button { padding: 11px; border-radius: 99px; font-weight: 600; color: var(--muted); transition: background .35s, color .35s; }
.tabs button[aria-selected="true"] { background: var(--night); color: #fff; }
.tab-panel[hidden] { display: none; }
.doc-links { display: grid; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.doc-link:last-child { border-bottom: 0; }
.doc-link .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.doc-link .t { flex: 1; min-width: 0; font-weight: 600; color: var(--ink); }
.doc-link .t small { display: block; font-weight: 400; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.viewer-body { flex: 1; min-height: 0; background: #EDE6DC; display: grid; place-items: center; overflow: auto; }
.viewer-body iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.viewer-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty i { font-size: 2.2rem; color: var(--sand-300); margin-bottom: 12px; }

/* ------------------------------- calendar + document library ------------------------------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px); min-width: 0; }
.panel.sand { background: var(--sand-50); border-color: var(--sand); }
.panel h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.ev-layout { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
.ev-layout > *, .ev-side > * { min-width: 0; }
.ev-side { display: grid; gap: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.cal-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.ev-ctrl { display: flex; gap: 8px; }
.ev-ctrl button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .35s, color .35s, transform .45s var(--ease), border-color .35s; }
.ev-ctrl button:hover { background: var(--night); border-color: var(--night); color: #fff; transform: scale(1.06); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-wd { text-align: center; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 0 10px; }
.cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; font-size: .95rem; font-weight: 500; color: var(--ink); background: var(--bg); border: 1px solid transparent; transition: background .3s, color .3s, transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.cal-day.out { background: transparent; color: var(--muted); opacity: .4; }
.cal-day.today { border-color: var(--night); font-weight: 700; background: #fff; }
.cal-day.has { cursor: pointer; background: var(--night); color: #fff; font-weight: 700; }
.cal-day.has:hover, .cal-day.has:focus-visible { background: var(--brand); transform: translateY(-4px) rotate(-3deg); box-shadow: var(--shadow-brand); }
.cal-dots { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); display: flex; gap: 3px; }
.cal-dots i { width: 5px; height: 5px; border-radius: 50%; }
.cal-day.has .cal-dots i.dot-meeting { background: var(--sand) !important; }
.cal-day.has:hover .cal-dots i { background: #fff !important; }
.cal-key { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.cal-key span { display: flex; align-items: center; gap: 8px; }
.cal-key i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dot-meeting { background: var(--night) !important; }
.dot-maintenance { background: #8C4A32 !important; }
.dot-social { background: var(--sand-300) !important; }
.dot-notice { background: var(--brand) !important; }
.ev-list { display: grid; gap: 10px; max-height: 480px; overflow-y: auto; padding: 2px 6px 4px 2px; }
.ev-row { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .45s var(--ease), box-shadow .45s, border-color .35s; }
.ev-row:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.ev-date { width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--brand); color: #fff; display: grid; place-items: center; align-content: center; line-height: 1; transition: background .4s, transform .5s var(--ease); }
.ev-row:hover .ev-date { background: var(--night); transform: rotate(-6deg); }
.ev-date b { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em; }
.ev-date span { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #FBE3D5; margin-top: 3px; font-weight: 600; }
.ev-row.past .ev-date { background: var(--night-3); }
.ev-row.past .ev-date span { color: var(--sand); }
.ev-row-txt { flex: 1; min-width: 0; }
.ev-row-txt b { display: block; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ev-row-txt span { font-size: .84rem; color: var(--muted); }
.cat { flex: none; align-self: center; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.cat-meeting { background: rgba(30,26,23,.08); color: var(--ink); }
.cat-maintenance { background: rgba(140,74,50,.13); color: #8C4A32; }
.cat-social { background: rgba(214,189,147,.35); color: #7A5A2B; }
.cat-notice { background: var(--brand-50); color: var(--brand-700); }
.ev-empty { margin: 0; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.ev-modal-card { max-width: 560px; padding: clamp(24px, 4vw, 40px); }
.ev-modal-card .modal-close { background: var(--sand-50); color: var(--ink); }
.ev-modal-card .modal-close:hover { background: var(--brand); color: #fff; }
.ev-modal-head { display: flex; gap: 18px; align-items: flex-start; padding-right: 48px; margin-bottom: 22px; }
.ev-modal-head .ev-date { width: 72px; height: 72px; }
.ev-modal-head .ev-date b { font-size: 1.7rem; }
.ev-modal-head h3 { margin: 10px 0 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.ev-modal-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
.ev-modal-row .ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); }
.ev-modal-row small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ev-modal-row b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.ev-modal-desc { color: var(--muted); margin: 16px 0 0; white-space: pre-line; }
.gate-box { text-align: center; max-width: 64ch; margin-inline: auto; }
.gate-box .lock { width: 84px; height: 84px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--brand-300); font-size: 1.8rem; animation: floaty 5s ease-in-out infinite; }
.gate-box .hero-cta { justify-content: center; margin-top: 28px; }
.docs-layout { display: grid; gap: clamp(22px, 3vw, 40px); grid-template-columns: minmax(0, 270px) minmax(0, 1fr); align-items: start; }
.docs-layout > * { min-width: 0; }
.docs-side { position: sticky; top: 110px; padding: 14px; border-radius: var(--r-lg); background: var(--night); }
.docs-side .kicker { color: var(--brand-300); margin: 6px 8px 14px; }
.docs-cats { display: grid; gap: 4px; }
.docs-cat { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; font-weight: 500; color: #CFC5BA; transition: background .35s, color .35s, transform .45s var(--ease); }
.docs-cat:hover { background: rgba(255,255,255,.06); color: #fff; transform: translateX(4px); }
.docs-cat[aria-pressed="true"] { background: var(--brand); color: #fff; }
.docs-cat b { font-size: .74rem; font-weight: 600; min-width: 26px; text-align: center; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.1); }
.docs-search { position: relative; margin-bottom: 18px; }
.docs-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.docs-search input { width: 100%; padding: 18px 18px 18px 50px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); outline: none; transition: border-color .3s, box-shadow .3s; }
.docs-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(196,87,43,.14); }
.docs-subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.docs-subtab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink-2); font-size: .86rem; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.docs-subtab:hover { border-color: var(--night); }
.docs-subtab.active { background: var(--night); color: #fff; border-color: var(--night); }
.docs-subtab b { font-size: .72rem; font-weight: 600; opacity: .6; }
.docs-count { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.docs-list { display: grid; gap: 10px; }
.doc { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; transition: transform .5s var(--ease), box-shadow .5s, border-color .35s; animation: rowIn .6s var(--ease) both; animation-delay: var(--d, 0s); }
.doc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); transform: scaleY(0); transition: transform .5s var(--ease); }
.doc:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.doc:hover::before { transform: none; }
.doc .ext { flex: none; width: 48px; height: 56px; display: grid; place-items: center; border-radius: 10px; background: var(--night); font-size: .64rem; font-weight: 700; letter-spacing: .06em; color: var(--sand); transition: background .4s, color .4s, transform .5s var(--ease); }
.doc:hover .ext { background: var(--brand); color: #fff; transform: rotate(-6deg); }
.doc-meta { flex: 1; min-width: 0; }
.doc-meta b { display: block; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; line-height: 1.35; }
.doc-meta span { font-size: .8rem; color: var(--muted); }
.doc .arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line); transition: transform .5s var(--ease), background .35s, color .35s, border-color .35s; }
.doc:hover .arrow { background: var(--night); border-color: var(--night); color: #fff; transform: rotate(-45deg); }
.docs-empty { padding: 40px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }
@keyframes rowIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ------------------------------- footer ------------------------------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: #A99D91; padding-top: clamp(64px, 9vw, 120px); }
.site-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .06; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(26px, 4vw, 56px); }
.footer-grid h4 { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid ul a { display: inline-block; color: #A99D91; transition: color .35s, transform .45s var(--ease); }
.footer-grid ul a:hover { color: var(--brand-300); transform: translateX(6px); }
.footer-about img { width: 180px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .9; }
.footer-about p { font-size: .93rem; max-width: 36ch; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact i { color: var(--brand-300); margin-top: 5px; width: 16px; }
.footer-word { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.5rem, 15vw, 15rem); line-height: .78; letter-spacing: -.07em; text-align: center; white-space: nowrap; user-select: none; margin: clamp(40px, 6vw, 80px) 0 -.08em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); background-image: linear-gradient(90deg, var(--brand), var(--sand)); background-repeat: no-repeat; background-size: 0% 100%; -webkit-background-clip: text; background-clip: text; transition: background-size 1.4s var(--ease); }
.footer-word:hover { background-size: 100% 100%; }
.footer-bottom { padding-block: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: #7E7369; position: relative; }
.footer-bottom a:hover { color: #fff; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .45s, transform .6s var(--ease), background .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand); }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--brand-300); stroke-width: 2; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 500; transform: translate(-50%, 30px); opacity: 0; background: var(--night); color: #fff; padding: 13px 22px; border-radius: 99px; box-shadow: var(--shadow-lg); font-size: .92rem; transition: all .5s var(--ease); pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--night); color: #CFC5BA; padding-top: var(--header-h); }
.nf h1 { color: #fff; }
.nf b { display: block; font-family: var(--font-head); font-size: clamp(8rem, 26vw, 18rem); line-height: .85; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 2px var(--brand); }
.nf .lead { color: #A99D91; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 1.6em; }

/* ------------------------------- responsive ------------------------------- */
@media (max-width: 1180px) {
  .main-nav, .header-actions .btn-pay, .header-actions .user-chip { display: none !important; }
  .nav-toggle { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tile-intro, .tile-photo { grid-column: span 12; }
  .tile-stat { grid-column: span 6; }
  .tile-links { grid-column: span 12; }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-grid, .explorer, .faq-wrap, .contact-split, .ev-layout, .docs-layout, .cta-big { grid-template-columns: 1fr; }
  .collage { max-width: 520px; margin: 20px auto 0; max-height: none; }
  .scroll-cue { display: none; }
  .faq-wrap .sticky, .docs-side { position: static; }
  .bld-tabs { grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .bld-tab { scroll-snap-align: start; }
  .bld-tab:hover { transform: none; }
  .docs-cats { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid.masonry .g-item:nth-child(6n+5) { grid-column: auto; }
  .contact-tiles { grid-template-columns: 1fr; }
  .c-tile { gap: 22px; }
  .cta-circle { justify-self: start; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .header-actions .btn-signin { display: none; }
  .brand-logo img { width: 136px; }
  .site-header .bar { padding-left: 16px; }
  .tile-stat { grid-column: span 12; min-height: 150px; }
  .tile-links { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid.masonry { grid-auto-rows: 240px; }
  .gallery-grid.masonry .g-item:nth-child(6n+1) { grid-row: auto; }
  .gallery-strip .g-item:nth-child(even) { margin-top: 0; margin-bottom: 0; }
  .gallery-strip { padding-bottom: 10px; }
  .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .unit-row { grid-template-columns: 62px minmax(0, 1fr); }
  .unit-row .lg { display: none; }
  .tenant-table td.logo { display: none; }
  .float-card, .spin-badge { display: none; }
  .cal-grid { gap: 3px; }
  .cal-day { font-size: .82rem; border-radius: 9px; }
  .cal-dots { bottom: 3px; }
  .cal-dots i { width: 4px; height: 4px; }
  .ev-row .cat, .doc .cat, .doc .arrow { display: none; }
  .faq-a p { padding-right: 4px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  [data-reveal="clip"]::after { display: none; }
  .hero h1 .line > span, .split .w > span { transform: none; }
}
