/* ==========================================================================
   CLUB BRIO DE AGOHO — Members' Portal
   brio.css · shared styles for brio-home / brio-login / brio-portal
   ========================================================================== */

:root {
  --ink: #07141a;
  --deep: #0b2029;
  --sea: #12303a;
  --sea-2: #1c4350;
  --gold: #c8a96a;
  --gold-hi: #e9d6a6;
  --gold-lo: #9c8049;
  --ivory: #f7f2e8;
  --paper: #fbf8f1;
  --sand: #ece4d3;
  --line: rgba(11, 32, 41, .12);
  --line-gold: rgba(200, 169, 106, .35);
  --text: #16282f;
  --muted: #5d6f74;
  --ok: #3f7d6a;
  --warn: #b6803a;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(7, 20, 26, .06), 0 12px 32px -12px rgba(7, 20, 26, .18);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
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 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-hi); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shared atoms ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--plain::before { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold-hi); border-radius: 0;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn--dark { border-color: var(--deep); color: var(--deep); }
.btn--dark:hover { background: var(--deep); color: var(--gold-hi); }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 18px; font-size: 11px; letter-spacing: .2em; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo img { width: 44px; height: 44px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-family: var(--serif); font-weight: 500; font-size: 25px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); }
.logo__text small { margin-top: 7px; font-size: 9.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); opacity: .85; }
.logo--dark .logo__text b { color: var(--deep); }
.logo--dark .logo__text small { color: var(--gold-lo); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .12s; }
.js .reveal[data-d="2"] { transition-delay: .24s; }
.js .reveal[data-d="3"] { transition-delay: .36s; }

.field { display: block; margin-bottom: 26px; }
.field > span { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(11, 32, 41, .3);
  border-radius: 0; font-size: 17px; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-lo); }
.field.has-error input { border-color: #a8482f; }
.field__err { display: none; font-size: 13px; color: #a8482f; margin-top: 6px; }
.field.has-error .field__err { display: block; }
.field__wrap { position: relative; }
.field__toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--muted); padding: 6px; }
.field__toggle:hover { color: var(--deep); }

/* ==========================================================================
   FRONT PAGE
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 64px); transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(7, 20, 26, .92); backdrop-filter: blur(14px); padding-block: 14px; border-color: var(--line-gold); }
.nav__links { display: flex; align-items: center; gap: 38px; }
.nav__links a { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(247, 242, 232, .78); transition: color .3s; }
.nav__links a:hover { color: var(--gold-hi); }
.nav__links .btn { color: var(--gold-hi); }
.nav__links .btn:hover { color: var(--ink); }
.nav__burger { display: none; color: var(--gold-hi); }

.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; color: var(--ivory); isolation: isolate;
  /* Resort hero photo (hotlinked). To host it yourself, save it as assets/brio-hero.webp and use that path instead.
     The SVG underneath is a fallback if the photo can't load. */
  background:
    url("https://briodeagoho.ph/wp-content/uploads/2026/07/hero-c2.webp") center / cover no-repeat,
    var(--ink) url("assets/brio-hero.svg") center bottom / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 20, 26, .55) 0%, rgba(7, 20, 26, 0) 22%, rgba(7, 20, 26, 0) 60%, rgba(7, 20, 26, .7) 100%),
    linear-gradient(90deg, rgba(7, 20, 26, .78), rgba(7, 20, 26, .2) 70%, rgba(7, 20, 26, 0));
}
.hero__inner { padding: 160px clamp(20px, 5vw, 64px) 140px; max-width: 1280px; width: 100%; margin: 0 auto; }
.hero h1 { font-size: clamp(46px, 7.4vw, 108px); font-weight: 400; margin: 28px 0 28px; max-width: 12ch; }
.hero h1 em { font-style: italic; color: var(--gold-hi); }
.hero p { max-width: 46ch; font-size: 18px; color: rgba(247, 242, 232, .8); font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; }
.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .36em; text-transform: uppercase; color: var(--gold-hi); opacity: .8;
}
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.section { padding: clamp(80px, 11vw, 160px) clamp(20px, 5vw, 64px); }
.wrap { max-width: 1200px; margin: 0 auto; }
.section--dark { background: var(--deep); color: var(--ivory); }
.section--sand { background: var(--sand); }
.section h2 { font-size: clamp(36px, 4.6vw, 64px); margin: 22px 0 22px; }
.section h2 em { font-style: italic; color: var(--gold-lo); }
.section--dark h2 em { color: var(--gold-hi); }
.lede { max-width: 54ch; font-size: 18px; font-weight: 300; color: var(--muted); }
.section--dark .lede { color: rgba(247, 242, 232, .7); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--line); }
.pillar { padding: 42px 38px 46px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 38px; }
.pillar:last-child { border-right: 0; }
.pillar .icon { width: 30px; height: 30px; color: var(--gold-lo); margin-bottom: 26px; stroke-width: 1.2; }
.pillar h3 { font-size: 30px; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 16px; }
.pillar .num { font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: var(--gold-lo); display: block; margin-bottom: 18px; }

.showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.mock { background: var(--paper); color: var(--text); border: 1px solid var(--line-gold); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); padding: 8px; transform: rotate(-1.2deg); }
.mock__in { border: 1px solid var(--line); padding: 28px; }
.mock__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mock__head h4 { font-size: 26px; }
.mock__head small { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lo); }
.mock__row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mock__row:last-child { border: 0; }
.mock__row .icon { color: var(--gold-lo); }
.mock__row b { font-weight: 500; display: block; font-size: 15.5px; }
.mock__row span { font-size: 13px; color: var(--muted); }
.mock__row em { margin-left: auto; font-style: normal; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lo); }

.checks { list-style: none; padding: 0; margin: 38px 0 0; display: grid; gap: 16px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; color: rgba(247, 242, 232, .82); }
.checks .icon { color: var(--gold); margin-top: 3px; }

.quote { text-align: center; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.18; max-width: 22ch; margin: 28px auto 0; }
.quote cite { display: block; margin-top: 34px; font-style: normal; font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-lo); }

.concierge { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-gold); margin-top: 56px; }
.concierge > div { padding: 44px; }
.concierge > div + div { border-left: 1px solid var(--line-gold); }
.concierge h4 { font-size: 28px; margin-bottom: 10px; }
.concierge p { color: rgba(247, 242, 232, .7); margin-bottom: 22px; }
.concierge a.line { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--gold-hi); }
.concierge a.line:hover { color: #fff; }

.footer { background: var(--ink); color: rgba(247, 242, 232, .6); padding: 64px clamp(20px, 5vw, 64px) 40px; font-size: 14px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: center; padding-bottom: 40px; border-bottom: 1px solid rgba(200, 169, 106, .2); }
.footer__links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer__links a { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; }
.footer__links a:hover { color: var(--gold-hi); }
.footer__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 13px; }

/* ---------- living backgrounds: parallax + slow zoom ---------- */
.fx { position: relative; overflow: hidden; isolation: isolate; background: var(--deep); color: var(--ivory); }
.fx::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fx.quote::after { background: linear-gradient(180deg, rgba(7, 20, 26, .55), rgba(7, 20, 26, .35) 50%, rgba(7, 20, 26, .6)); }
#concierge.fx::after { background: linear-gradient(180deg, rgba(7, 20, 26, .82), rgba(7, 20, 26, .6) 45%, rgba(7, 20, 26, .85)); }
.fx__bg { position: absolute; inset: -14% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.hero-bg-zoom { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform-origin: 60% 50%; animation: brioZoom 24s ease-in-out infinite alternate; will-change: transform; }
@keyframes brioZoom { from { transform: scale(1); } to { transform: scale(1.15); } }
.fx.quote cite, .fx.quote .eyebrow { color: var(--gold-hi); }
.fx.quote blockquote { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.fx.quote { padding-block: clamp(120px, 18vw, 240px); }
.concierge { background: rgba(7, 20, 26, .35); backdrop-filter: blur(6px); }

/* ==========================================================================
   LOGIN
   ========================================================================== */
.auth { height: 100svh; overflow: hidden; position: relative; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth__art {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 44px calc(48% + 24px) 56px clamp(28px, 4vw, 64px); color: var(--ivory); isolation: isolate;
  background: var(--ink) url("assets/brio-hero.svg") 50% 100% / cover no-repeat; overflow: hidden;
}
.slides, .slide { position: absolute; inset: 0; z-index: -2; }
.slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; }
.slide.is-on { opacity: 1; animation: kb 12s ease-out both; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.07); } }
.msgs { display: grid; margin-top: 22px; }
.msgs .msg { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity 1s ease, transform 1s ease; }
.msgs .msg.is-on { opacity: 1; transform: none; transition-delay: .5s; }
.dots { display: flex; gap: 8px; margin-top: 26px; }
.dots i { width: 22px; height: 2px; background: var(--ivory); opacity: .3; transition: opacity .6s, width .6s; }
.dots i.is-on { width: 40px; opacity: 1; background: var(--gold-hi); }
.auth__art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 20, 26, .6), rgba(7, 20, 26, .3) 55%, rgba(7, 20, 26, .45)); }
.auth__art blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.15; max-width: 16ch; margin: 22px 0 0; }
.auth__art small { display: block; margin-top: 26px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-hi); opacity: .8; }
.auth__art .logo__text small { margin-top: 7px; font-size: 9.5px; letter-spacing: .42em; color: var(--gold); opacity: .85; }
.auth__panel { grid-column: 2; position: relative; z-index: 1; display: flex; flex-direction: column; overflow-y: auto; height: 100svh; padding: 48px clamp(24px, 6vw, 88px); background: transparent; }
.auth__back { position: static; flex: none; align-self: flex-end; margin-bottom: 28px; color: var(--ivory); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.auth__back:hover { color: var(--gold-hi); }
.auth__panel .auth__card { padding: 40px 38px; color: #fff; background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); border: 1px solid rgba(255,255,255,.35); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.4); }
.auth__panel .auth__card h1, .auth__panel .auth__card h3, .auth__panel .auth__card .intro, .auth__panel .auth__card > p, .auth__card p, .auth__card .field > span, .auth__card .check, .auth__card .auth__note { color: #fff; }
.auth__card h1 em, .auth__card .eyebrow, .auth__card .link, .auth__card .auth__demo { color: #fff !important; }
.auth__card .link { text-decoration: underline; text-underline-offset: 3px; }
.auth__panel .intro, .auth__card .auth__note p { opacity: .85; }
.auth__card .field input { color: #fff; border-bottom-color: rgba(255,255,255,.55); }
.auth__card .field input::placeholder { color: rgba(255,255,255,.55); }
.auth__card .field input:focus { border-color: #fff; }
.auth__card .field__toggle, .auth__card .auth__note .icon { color: #fff; }
.auth__card .auth__note { border-top-color: rgba(255,255,255,.3); }
.auth__panel .btn { background: rgba(255,255,255,.9); color: var(--ink); border-color: transparent; border-radius: 10px; }
.auth__panel .btn:hover { background: #fff; color: var(--ink); }
.auth__card { width: 100%; max-width: 440px; margin: auto; padding-top: 40px; }
.auth__card h1 { font-size: clamp(40px, 4vw, 54px); margin: 20px 0 14px; }
.auth__card h1 em { font-style: italic; color: var(--gold-lo); }
.auth__card > p, .auth__panel .intro { color: var(--muted); margin-bottom: 44px; font-weight: 300; font-size: 17px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; margin: -6px 0 34px; font-size: 14px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--muted); }
.check input { appearance: none; width: 16px; height: 16px; border: 1px solid rgba(11, 32, 41, .4); display: grid; place-items: center; margin: 0; }
.check input:checked { background: var(--deep); border-color: var(--deep); }
.check input:checked::after { content: ""; width: 8px; height: 4px; border-left: 1.5px solid var(--gold-hi); border-bottom: 1.5px solid var(--gold-hi); transform: rotate(-45deg) translate(1px, -1px); }
.link { color: var(--gold-lo); border-bottom: 1px solid var(--line-gold); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.link:hover { color: var(--deep); border-color: var(--deep); }
.auth__note { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; gap: 14px; }
.auth__note .icon { color: var(--gold-lo); margin-top: 2px; }
.auth__demo { margin-top: 18px; font-size: 12.5px; color: var(--gold-lo); letter-spacing: .04em; }
.auth__panel .btn { background: var(--deep); color: var(--gold-hi); border-color: var(--deep); }
.auth__panel .btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading span::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 12px; border: 1.5px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   PORTAL (app page)
   ========================================================================== */
.portal { background: var(--ivory); }
.shell { display: grid; grid-template-columns: 288px 1fr; min-height: 100svh; }

.side {
  position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding: 34px 24px 26px; overflow-y: auto;
  background: linear-gradient(180deg, var(--ink), var(--deep)); color: rgba(247, 242, 232, .75); border-right: 1px solid var(--line-gold);
}
.side .logo img { width: 38px; height: 38px; }
.side .logo__text b { font-size: 20px; }
.side__label { margin: 44px 14px 12px; font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); opacity: .75; }
.side nav { display: grid; gap: 2px; }
.side nav a {
  display: flex; align-items: center; gap: 16px; padding: 13px 14px; font-size: 14px; letter-spacing: .08em; border-left: 2px solid transparent;
  transition: background .3s, color .3s, border-color .3s;
}
.side nav a:hover { background: rgba(200, 169, 106, .07); color: var(--gold-hi); }
.side nav a.active { background: rgba(200, 169, 106, .12); color: var(--gold-hi); border-color: var(--gold); }
.side nav a .badge { margin-left: auto; font-size: 11px; padding: 1px 8px; background: var(--gold); color: var(--ink); border-radius: 20px; font-weight: 500; }
.side__help { margin-top: auto; padding: 24px 20px; border: 1px solid var(--line-gold); background: rgba(200, 169, 106, .05); }
.side__help h4 { font-size: 22px; color: var(--gold-hi); margin-bottom: 6px; }
.side__help p { font-size: 13.5px; margin-bottom: 14px; opacity: .8; }
.side__help a { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--gold-hi); padding: 3px 0; }
.side__out { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.side__out:hover { opacity: 1; color: var(--gold-hi); }

.main { min-width: 0; }
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 18px clamp(20px, 3.4vw, 52px);
  background: rgba(247, 242, 232, .9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.top__menu { display: none; }
.search { flex: 1; max-width: 520px; position: relative; }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; padding: 12px 18px 12px 46px; background: var(--paper); border: 1px solid var(--line); border-radius: 40px; font-size: 15px; }
.search input:focus { outline: none; border-color: var(--gold-lo); }
.top__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.iconbtn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--deep); transition: background .3s; }
.iconbtn:hover { background: rgba(11, 32, 41, .06); }
.iconbtn i { position: absolute; top: 11px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ivory); }
.me { display: flex; align-items: center; gap: 12px; padding: 4px 6px 4px 4px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--gold-hi); font-family: var(--serif); font-size: 18px; letter-spacing: .06em; border: 1px solid var(--gold); }
.me div { line-height: 1.2; }
.me b { display: block; font-weight: 500; font-size: 14.5px; }
.me small { font-size: 12px; color: var(--muted); }
.notif { position: absolute; right: clamp(20px, 3.4vw, 52px); top: 74px; width: 360px; max-width: calc(100vw - 32px); background: var(--paper); border: 1px solid var(--line-gold); box-shadow: var(--shadow); z-index: 30; }
.notif h4 { font-size: 22px; padding: 20px 22px 12px; }
.notif li { list-style: none; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.notif li small { display: block; color: var(--muted); font-size: 12px; }
.notif ul { margin: 0; padding: 0; }

.content { padding: clamp(28px, 4vw, 56px) clamp(20px, 3.4vw, 52px) 96px; max-width: 1360px; }
.view { display: none; }
.view.active { display: block; animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.pagehead .eyebrow { color: var(--gold-lo); }
.pagehead h1 { font-size: clamp(38px, 4.4vw, 62px); margin-top: 14px; }
.pagehead h1 em { font-style: italic; color: var(--gold-lo); }
.pagehead p { color: var(--muted); max-width: 52ch; margin-top: 12px; font-weight: 300; font-size: 17px; }

.grid { display: grid; gap: 28px; }
.grid--hero { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.grid--stats { grid-template-columns: repeat(4, 1fr); margin: 28px 0; }
.grid--two { grid-template-columns: 1.5fr 1fr; align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card__head { display: flex; justify-content: space-between; align-items: center; padding: 26px 30px 10px; }
.card__head h3 { font-size: 28px; }
.card__head a, .card__head button { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-lo); }
.card__head a:hover, .card__head button:hover { color: var(--deep); }
.card__body { padding: 8px 30px 26px; }

/* member card */
.mcard {
  position: relative; overflow: hidden; color: var(--ivory); padding: 36px 40px; min-height: 290px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(200, 169, 106, .28), transparent 55%),
    linear-gradient(135deg, #0b2029 0%, #12303a 55%, #0b2029 100%);
  border: 1px solid var(--gold); box-shadow: 0 30px 60px -28px rgba(7, 20, 26, .65);
}
.mcard::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line-gold); pointer-events: none; }
.mcard::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 260px; height: 260px; background: url("assets/brio-mark.svg") center / contain no-repeat; opacity: .12; }
.mcard__top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.mcard__tier { font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); text-align: right; }
.mcard__tier b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: .08em; color: var(--gold-hi); margin-top: 4px; text-transform: none; }
.mcard__name { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin-top: 34px; }
.mcard__meta { position: relative; z-index: 1; display: flex; gap: 40px; flex-wrap: wrap; margin-top: 26px; }
.mcard__meta small { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); opacity: .85; margin-bottom: 4px; }
.mcard__meta span { font-size: 17px; letter-spacing: .08em; }

.welcome { display: flex; flex-direction: column; justify-content: center; padding: 10px 6px 10px 12px; }
.welcome h2 { font-size: clamp(36px, 3.6vw, 52px); margin: 16px 0 16px; }
.welcome h2 em { font-style: italic; color: var(--gold-lo); }
.welcome p { color: var(--muted); font-weight: 300; font-size: 17px; max-width: 42ch; }
.welcome .btn { align-self: flex-start; margin-top: 28px; }

.stat { padding: 26px 28px; }
.stat small { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.1; margin: 10px 0 4px; }
.stat span { font-size: 13.5px; color: var(--muted); }
.stat .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; }
.meter { height: 3px; background: var(--sand); margin-top: 14px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold)); }

/* document list */
.docs { list-style: none; margin: 0; padding: 0; }
.doc {
  display: grid; grid-template-columns: 46px 1fr auto auto; align-items: center; gap: 18px; padding: 18px 30px; border-top: 1px solid var(--line);
  transition: background .3s;
}
.doc:hover { background: rgba(200, 169, 106, .08); }
.doc__ico { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-gold); color: var(--gold-lo); background: var(--ivory); }
.doc__t { min-width: 0; }
.doc__t b { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; line-height: 1.3; }
.doc__t span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pill { display: inline-block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--line-gold); color: var(--gold-lo); white-space: nowrap; }
.pill--new { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 500; }
.doc__act { display: flex; gap: 4px; }
.act { width: 40px; height: 40px; display: grid; place-items: center; color: var(--deep); border: 1px solid transparent; transition: all .3s; }
.act:hover { border-color: var(--gold-lo); background: var(--deep); color: var(--gold-hi); }
.doc--full { grid-template-columns: 46px 1fr 150px 120px 90px auto; }
.doc--full .d, .doc--full .s { font-size: 14px; color: var(--muted); }
.docs__empty { padding: 60px 30px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
.docs__empty h4 { font-size: 28px; color: var(--text); margin-bottom: 6px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 30px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 18px; font-size: 12.5px; letter-spacing: .1em; border: 1px solid var(--line); border-radius: 40px; color: var(--muted); transition: all .3s; }
.chip:hover { border-color: var(--gold-lo); color: var(--deep); }
.chip.on { background: var(--deep); border-color: var(--deep); color: var(--gold-hi); }
.chip small { opacity: .6; margin-left: 4px; }
.sel { padding: 9px 14px; background: transparent; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; }
.thead { display: grid; grid-template-columns: 46px 1fr 150px 120px 90px 90px; gap: 18px; padding: 14px 30px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--ivory); }

/* announcements */
.news { list-style: none; margin: 0; padding: 0; }
.news li { padding: 22px 30px; border-top: 1px solid var(--line); }
.news small { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lo); }
.news h4 { font-size: 26px; margin: 6px 0 6px; }
.news p { color: var(--muted); font-size: 15px; }
.event { display: flex; gap: 20px; align-items: center; padding: 18px 30px; border-top: 1px solid var(--line); }
.event time { width: 64px; text-align: center; padding: 8px 0; border: 1px solid var(--line-gold); background: var(--ivory); flex: none; }
.event time b { display: block; font-family: var(--serif); font-size: 28px; line-height: 1; font-weight: 500; }
.event time span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-lo); }
.event h5 { margin: 0; font-size: 15.5px; font-weight: 500; }
.event p { font-size: 13px; color: var(--muted); }

/* forms in portal */
.formcard { padding: 34px 38px 38px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.req { list-style: none; margin: 0; padding: 0; }
.req li { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 30px; border-top: 1px solid var(--line); }
.req b { font-weight: 500; display: block; }
.req small { color: var(--muted); font-size: 13px; }
.status { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; padding: 5px 12px; border: 1px solid; white-space: nowrap; }
.status--prog { color: var(--warn); border-color: rgba(182, 128, 58, .5); }
.status--done { color: var(--ok); border-color: rgba(63, 125, 106, .5); }

.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; padding: 8px 30px 28px; }
.kv div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.kv small { display: block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.kv span { font-size: 17px; }
.switch { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 30px; border-top: 1px solid var(--line); }
.switch b { font-weight: 500; display: block; }
.switch small { color: var(--muted); font-size: 13.5px; }
.switch input { appearance: none; flex: none; width: 46px; height: 26px; border-radius: 26px; background: var(--sand); position: relative; cursor: pointer; transition: background .3s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.switch input:checked { background: var(--deep); }
.switch input:checked::after { transform: translateX(20px); background: var(--gold-hi); }

/* modal preview */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(7, 20, 26, .78); backdrop-filter: blur(6px); animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.modal__box { width: 100%; max-width: 760px; max-height: calc(100svh - 48px); display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--gold); animation: rise .5s var(--ease); }
.modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px 16px 28px; background: var(--deep); color: var(--gold-hi); }
.modal__bar b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.modal__bar div { display: flex; gap: 6px; }
.modal__bar .act { color: var(--gold-hi); }
.modal__bar .act:hover { background: var(--gold); color: var(--ink); }
.modal__scroll { overflow-y: auto; padding: 34px; }
.paper { background: #fff; padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.paper__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--gold); margin-bottom: 34px; }
.paper__head img { width: 54px; }
.paper__head small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-lo); text-align: right; line-height: 1.8; }
.paper h2 { font-size: 36px; margin-bottom: 8px; }
.paper .ref { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.paper p { font-size: 15px; color: #33474d; margin-bottom: 16px; }
.paper table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14.5px; }
.paper td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.paper td:last-child { text-align: right; }
.paper .sig { display: flex; justify-content: space-between; gap: 40px; margin-top: 56px; }
.paper .sig div { flex: 1; border-top: 1px solid var(--text); padding-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.paper::after { content: "SAMPLE"; position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-24deg); font-family: var(--serif); font-size: clamp(60px, 12vw, 130px); letter-spacing: .1em; color: rgba(200, 169, 106, .14); pointer-events: none; }

.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); z-index: 200; display: flex; align-items: center; gap: 14px; padding: 16px 26px; background: var(--deep); color: var(--gold-hi); border: 1px solid var(--gold); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .5s var(--ease); font-size: 14.5px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.scrim { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .grid--stats { grid-template-columns: repeat(2, 1fr); }
  .grid--hero, .grid--two { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav__links a:not(.btn) { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 34px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .showcase, .concierge { grid-template-columns: 1fr; }
  .concierge > div + div { border-left: 0; border-top: 1px solid var(--line-gold); }
  .auth { grid-template-columns: 1fr; position: relative; }
  .auth__art { position: absolute; inset: 0; padding: 0; }
  .auth__art::after { background: rgba(7, 20, 26, .35); }
  .auth__art > *:not(.slides) { display: none; }
  .auth__panel { position: relative; z-index: 1; grid-area: 1 / 1; flex-direction: column; background: transparent; padding: 24px 16px; }
  .auth__back { position: static; align-self: flex-start; color: var(--ivory); margin-bottom: 12px; }
  .auth__card h1 { font-size: 36px; }
  .auth__panel .auth__card { padding: 32px 26px; }
  .auth__panel .intro { margin-bottom: 28px; }
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: 0; z-index: 90; width: 300px; transform: translateX(-100%); transition: transform .5s var(--ease); }
  .side.open { transform: none; }
  .scrim.open { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(7, 20, 26, .6); }
  .top__menu { display: grid; }
  .me div { display: none; }
}
@media (max-width: 720px) {
  .grid--stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 20px; } .stat b { font-size: 32px; }
  .doc, .doc--full { grid-template-columns: 40px 1fr auto; gap: 12px; padding: 16px 18px; }
  .doc__ico { width: 40px; height: 40px; }
  .doc .pill:not(.pill--new), .doc--full .d, .doc--full .s, .thead { display: none; }
  .row2, .kv { grid-template-columns: 1fr; }
  .mcard { padding: 28px 26px; }
  .mcard__meta { gap: 24px; }
  .toolbar { padding: 18px; }
  .card__head, .card__body, .news li, .event, .req li, .switch { padding-inline: 18px; }
  .formcard { padding: 26px 20px; }
  .modal__scroll { padding: 14px; }
  .hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .fx__bg { transform: none !important; }
}
@media print {
  .side, .top, .toast, .modal__bar .act { display: none !important; }
}

/* login: intro line in black */
.auth__panel .auth__card .intro { color: #000; opacity: 1; font-weight: 500; text-shadow: 0 1px 6px rgba(255, 255, 255, .25); }

/* login: highlighted error messages */
.auth__card .field.has-error input { border-bottom-color: var(--gold-hi); }
.auth__card .field__err {
  margin-top: 10px; padding: 8px 12px; border-radius: 6px; border-left: 3px solid #8a6d2f;
  background: linear-gradient(90deg, var(--gold-hi), var(--gold)); color: #1a1205 !important; font-size: 13px; font-weight: 500; line-height: 1.4;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); animation: errIn .3s ease;
}
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.logo .logo__full { width: auto; height: 52px; display: block; }
.side .logo .logo__full { height: 44px; }
.footer .logo .logo__full { height: 60px; }
.auth__art .logo img.logo__full, .side .logo img.logo__full { width: auto; object-fit: contain; }
.auth__art .logo img.logo__full { height: 60px; }
.side .logo img.logo__full { height: 44px; }
