/* ==========================================================================
   RCCI — Rajshahi Chamber of Commerce and Industry
   Identity faithful to rajshahichamber.com: royal blue (#1E40AF) + slate,
   navy footer, Inter body — elevated with a modern touch:
   Plus Jakarta Sans display, blue→indigo gradient signature, soft depth.
   ========================================================================== */

:root {
    --blue:        #1e40af;   /* brand / primary */
    --blue-700:    #1d4ed8;
    --blue-600:    #2563eb;   /* accent / hover */
    --blue-500:    #3b82f6;
    --blue-50:     #eff4fe;   /* tint panels */
    --indigo:      #4338ca;
    --navy:        #0f172a;   /* footer, dark */
    --navy-800:    #1e293b;
    --ink:         #0f172a;   /* headings */
    --slate-700:   #334155;
    --slate-600:   #475569;   /* body text */
    --slate-500:   #64748b;   /* muted */
    --slate-300:   #cbd5e1;
    --slate-200:   #e2e8f0;   /* borders */
    --slate-100:   #f1f5f9;
    --slate-50:    #f8fafc;   /* section band */
    --white:       #ffffff;
    --amber:       #d99326;   /* rare warm accent (from the emblem) */

    --grad:  linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --grad-navy: linear-gradient(120deg, rgba(15,23,42,.94) 0%, rgba(30,64,175,.72) 100%);

    --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    --measure: 68ch;
    --wrap: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
    --shadow: 0 4px 6px -2px rgba(15,23,42,.05), 0 12px 24px -8px rgba(15,23,42,.12);
    --shadow-lg: 0 20px 40px -16px rgba(30,64,175,.28);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--slate-600);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blue-600); }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---- Type ---------------------------------------------------------------- */
h1, h2, h3, h4, h5 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.05em; }

.eyebrow {
    font-family: var(--sans);
    font-size: .74rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue); margin: 0;
    display: inline-flex; align-items: center;
}

.mono { font-family: var(--mono); }
.lead { font-size: 1.16rem; color: var(--slate-600); line-height: 1.6; }
.measure { max-width: var(--measure); }
.muted { color: var(--slate-500); }
.center { text-align: center; }

/* Modern gradient rule (replaces the old warp motif) */
.warp { height: 3px; border-radius: 3px; background: var(--grad); opacity: .9;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rule { height: 1px; background: var(--slate-200); border: 0; margin: 0; }
.brass-tick { width: 46px; height: 3px; border-radius: 3px; background: var(--grad); border: 0; margin: 0 0 22px; }

/* ---- Header -------------------------------------------------------------- */
.topline { height: 3px; background: var(--grad); }

.masthead { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.5) blur(10px); border-bottom: 1px solid var(--slate-200); }
.masthead__bar { display: flex; align-items: center; gap: 20px; min-height: 78px; padding-block: 10px; }

.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__mark { width: 50px; height: 50px; object-fit: contain; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--display); font-size: 1.35rem; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.brand__sub { font-size: .72rem; color: var(--slate-500); margin-top: 3px; font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.search { display: flex; align-items: stretch; height: 42px; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.search input { border: 0; outline: 0; padding: 0 14px; font-family: var(--sans); font-size: .86rem; width: 150px; color: var(--ink); background: transparent; }
.search button { border: 0; background: var(--blue); color: #fff; width: 42px; display: grid; place-items: center; cursor: pointer; transition: background .16s; }
.search button:hover { background: var(--blue-600); }
.search button svg { display: block; }
.btn-login { display: inline-flex; align-items: center; justify-content: center; height: 42px; font-weight: 600; font-size: .86rem; color: var(--blue); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 0 22px; background: #fff; transition: .16s; }
.btn-login:hover { border-color: var(--blue); background: var(--blue-50); }

/* Nav strip below the bar — clean white bar with an animated underline reveal */
.navstrip { background: #fff; border-bottom: 1px solid var(--slate-200); }
.nav { display: flex; align-items: stretch; gap: 4px; flex-wrap: wrap; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
    position: relative;
    font-size: .87rem; font-weight: 600; color: var(--slate-700);
    padding: 17px 16px 16px; display: inline-flex; align-items: center;
    transition: color .18s; white-space: nowrap;
}
.nav__link::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 10px; height: 2.5px; border-radius: 3px;
    background: var(--grad); transform: scaleX(0); transform-origin: center; transition: transform .26s var(--ease);
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--blue); }
.nav__link:hover::after, .nav__item:hover > .nav__link::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after { transform: scaleX(1); }

.nav__menu {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--slate-200); border-top: 2.5px solid var(--blue);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow); padding: 8px; margin-top: -1px; z-index: 30;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item:hover > .nav__menu, .nav__item:focus-within > .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { position: relative; display: block; padding: 10px 14px; border-radius: 7px; font-size: .86rem; color: var(--slate-700); font-weight: 500; transition: background .15s, color .15s, padding .15s; }
.nav__menu a:hover { background: var(--blue-50); color: var(--blue); padding-left: 18px; }

.nav-toggle { display: none; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); width: 46px; height: 42px; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--blue); margin: 0 auto; position: relative; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -6px; content: ""; }
.nav-toggle span::after { position: absolute; top: 6px; content: ""; }

/* ---- Hero (modern full-bleed with navy scrim) ---------------------------- */
.hero { position: relative; isolation: isolate; background: var(--navy); color: #e2e8f0; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); will-change: opacity; }
.hero__slide.is-active { opacity: 1; }

.hero__caption { display: flex; align-items: center; gap: 11px; color: #dbe4f0; font-size: .95rem; font-weight: 500; margin-top: 30px; min-height: 1.35em; max-width: 54ch; transition: opacity .22s var(--ease); }
.hero__caption::before { content: ""; width: 24px; height: 2px; background: #93c5fd; flex: none; }
.hero__caption.is-fading { opacity: 0; }
.hero__caption:empty { display: none; }
.hero__dots { display: flex; gap: 10px; position: absolute; left: 50%; bottom: 82px; transform: translateX(-50%); margin: 0; z-index: 3; }
@media (max-width: 720px) { .hero__dots { position: static; transform: none; margin: 22px auto 0; justify-content: center; } }
.hero__dot { width: 30px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; transition: background .22s var(--ease), width .22s var(--ease); }
.hero__dot:hover { background: rgba(255,255,255,.7); }
.hero__dot.is-active { background: #fff; width: 46px; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-navy); }
.hero__grid { display: block; }
.hero__body { padding: 96px 0 108px; max-width: 720px; }
.hero__eyebrow { color: #93c5fd; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg,#93c5fd,#e0e7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.2rem; color: #cbd5e1; max-width: 52ch; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__figure, .hero__warp { display: none; }

/* Ledger stat bar — white card overlapping hero bottom */
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ledger--3 { grid-template-columns: repeat(3, 1fr); }
.hero + .wrap .ledger, .ledger--float { margin-top: -52px; position: relative; z-index: 2; }
.ledger__cell { padding: 26px 28px; border-left: 1px solid var(--slate-200); }
.ledger__cell:first-child { border-left: 0; }
.ledger__num { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.ledger__label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); margin-top: 10px; font-weight: 600; }

/* ---- Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: .9rem; font-weight: 600; padding: 13px 24px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: .18s var(--ease); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(30,64,175,.6); }
.btn--primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--slate-300); }
.btn--ghost:hover { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.btn--brass { background: #fff; color: var(--blue); }
.btn--brass:hover { background: var(--blue-50); color: var(--blue); transform: translateY(-2px); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color:#fff; }
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---- Sections & page masthead ------------------------------------------- */
.section { padding: 76px 0; }
.section--tight { padding: 54px 0; }
.section--mist { background: var(--slate-50); border-block: 1px solid var(--slate-200); }
.section--pine { background: var(--navy); color: #cbd5e1; position: relative; overflow: hidden; }
.section--pine::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1000px 400px at 80% -10%, rgba(59,130,246,.25), transparent 60%); }
.section--pine h2, .section--pine h3 { color: #fff; }
.section--pine > * { position: relative; }

/* Membership CTA — a contained gradient card, kept visually separate from the footer */
.cta-join { padding: 72px 0; background: #fff; }
.cta-join__card { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; background: var(--grad-navy), var(--navy); border-radius: 20px; padding: 50px 54px; box-shadow: 0 26px 50px -22px rgba(15,23,42,.5); position: relative; overflow: hidden; }
.cta-join__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 320px at 88% -30%, rgba(147,197,253,.28), transparent 60%); pointer-events: none; }
.cta-join__card > * { position: relative; }
.cta-join__card h2 { color: #fff; margin-top: 12px; max-width: 20ch; }
@media (max-width: 640px) { .cta-join { padding: 48px 0; } .cta-join__card { padding: 36px 30px; } }

.pagehead {
    position: relative; overflow: hidden;
    padding: 16px 0 18px;
    background: linear-gradient(180deg, #d3e0f6 0%, #e3ebfa 100%);
    border-bottom: 1px solid #c3d3ee;
}
/* soft brand glow, top-right */
.pagehead::before {
    content: ""; position: absolute; top: -140px; right: -60px; width: 520px; height: 360px;
    background: radial-gradient(closest-side, rgba(59,130,246,.16), transparent 72%);
    pointer-events: none; z-index: 0;
}
/* gradient accent seam at the bottom-left */
.pagehead::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 132px; height: 3px; background: var(--grad); z-index: 2; }
/* concentric "seal" rings filling the empty right side */
.pagehead__rings {
    position: absolute; top: 50%; right: -70px; transform: translateY(-50%);
    width: 300px; height: 300px; z-index: 0; pointer-events: none;
    background: repeating-radial-gradient(circle at center, rgba(30,64,175,.12) 0 1.5px, transparent 1.5px 26px);
    -webkit-mask-image: radial-gradient(circle at center, #000 24%, transparent 70%);
            mask-image: radial-gradient(circle at center, #000 24%, transparent 70%);
    opacity: .75;
}
.pagehead__inner { position: relative; z-index: 1; }
.pagehead__eyebrow { margin-bottom: 8px; }
.pagehead h1 { max-width: 24ch; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.pagehead__sub { font-size: 1.02rem; color: var(--slate-500); max-width: 62ch; margin-top: 8px; }
/* legacy in-page breadcrumb (album detail) */
.crumb { font-size: .8rem; font-weight: 500; letter-spacing: .01em; color: var(--slate-500); margin-bottom: 24px; }
.crumb a { color: var(--blue); }
.crumb a:hover { color: var(--blue-600); }

.section-head { margin-bottom: 40px; max-width: 64ch; }
.section-head .eyebrow { margin-bottom: 16px; }

/* Prose */
.prose { max-width: var(--measure); font-size: 1.05rem; color: var(--slate-600); text-align: justify; text-justify: inter-word; hyphens: auto; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { margin: 1.5em 0 .5em; }
.prose h3 { margin: 1.3em 0 .4em; color: var(--blue); font-size: 1.25rem; }
.prose ul { padding-left: 1.15em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue-500); }
.prose strong { color: var(--ink); font-weight: 700; }

/* ---- Cards --------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; padding: 28px; position: relative; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-500); }
.card:hover::before { transform: scaleX(1); }
.card__idx { font-family: var(--mono); font-size: .74rem; font-weight: 500; color: var(--blue); letter-spacing: .06em; }
.card h3 { font-size: 1.2rem; margin: 14px 0 10px; }
.card h4 { font-size: 1.04rem; margin: 0 0 8px; }
.card p { font-size: .96rem; color: var(--slate-500); margin: 0; }
.card__ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue); font-size: 1.4rem; line-height: 1; }

.panel { background: #fff; border: 1px solid var(--slate-200); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel--accent { border-left: 4px solid var(--blue); }

/* ---- Roster (directors / staff) ------------------------------------------ */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.person { background: #fff; padding: 22px; display: flex; gap: 16px; align-items: center; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mono-avatar { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-size: 1.1rem; font-weight: 700; background: var(--blue-50); color: var(--blue); }
.person--lead .mono-avatar { background: var(--grad); color: #fff; }
.person__photo { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 14px; object-fit: cover; background: var(--blue-50); border: 1px solid var(--slate-200); }
.person--lead .person__photo { width: 64px; height: 64px; box-shadow: 0 0 0 2px var(--blue-500), 0 0 0 5px var(--blue-50); }
.person__name { font-weight: 700; font-size: .98rem; color: var(--ink); line-height: 1.25; font-family: var(--display); }
.person__role { font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-top: 4px; font-weight: 600; }
.person__meta { font-family: var(--mono); font-size: .78rem; color: var(--slate-500); margin-top: 5px; }
.person__sl { font-family: var(--mono); font-size: .72rem; color: var(--slate-300); margin-left: auto; align-self: flex-start; }

/* ---- Data table ---------------------------------------------------------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
table.data th { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--slate-200); background: var(--slate-50); font-weight: 700; }
table.data td { padding: 15px 20px; border-bottom: 1px solid var(--slate-100); color: var(--slate-600); }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--blue-50); }
table.data .num { font-family: var(--mono); color: var(--blue); }

/* ---- Timeline ------------------------------------------------------------ */
.timeline { position: relative; max-width: 820px; }
.timeline__item { position: relative; padding: 0 0 40px 40px; border-left: 2px solid var(--slate-200); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: -8px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--slate-200); }
.timeline__date { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--blue); text-transform: uppercase; font-weight: 500; }
.timeline__item h3 { font-size: 1.18rem; margin: 8px 0 8px; }
.timeline__item p { font-size: .98rem; color: var(--slate-500); margin: 0; max-width: 64ch; }

/* ---- News cards ---------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.newscard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.newscard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.newscard__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--slate-100); }
.newscard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.newscard:hover .newscard__img img { transform: scale(1.05); }
.newscard__tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(30,64,175,.9); backdrop-filter: blur(4px); padding: 5px 10px; border-radius: 100px; }
.newscard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.newscard__date { font-family: var(--mono); font-size: .74rem; color: var(--slate-500); }
.newscard__title { font-family: var(--display); font-size: 1.16rem; font-weight: 700; line-height: 1.25; color: var(--ink); margin: 8px 0 8px; }
.newscard:hover .newscard__title { color: var(--blue); }
.newscard__sum { font-size: .92rem; color: var(--slate-500); margin: 0 0 16px; flex: 1; }
.newscard__more { font-size: .8rem; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.newscard:hover .newscard__more span { transform: translateX(3px); }
.newscard__more span { transition: transform .2s var(--ease); }

/* ---- Notices ------------------------------------------------------------- */
.notice-list { display: grid; gap: 16px; }
.notice { background: #fff; padding: 24px 28px; display: grid; grid-template-columns: 130px 1fr auto; gap: 26px; align-items: start; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s; }
.notice:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.notice__date { font-family: var(--mono); font-size: .8rem; color: var(--slate-500); }
.notice__tag { display: inline-block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--blue-50); padding: 4px 9px; border-radius: 100px; margin-top: 8px; font-weight: 700; }
.notice h3 { font-size: 1.14rem; margin: 0 0 8px; }
.notice p { font-size: .95rem; color: var(--slate-500); margin: 0; max-width: 70ch; }

/* ---- Albums -------------------------------------------------------------- */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.album { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); background: var(--slate-100); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.album:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.album__cover { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.album__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.album:hover .album__cover img { transform: scale(1.05); }
.album__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.05) 20%, rgba(15,23,42,.5) 55%, rgba(15,23,42,.9)); }
.album__count { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: rgba(15,23,42,.55); backdrop-filter: blur(4px); padding: 6px 11px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
.album__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 20px 20px 18px; color: #fff; }
.album__name { font-family: var(--display); font-size: 1.25rem; font-weight: 700; line-height: 1.15; }
.album__desc { font-size: .86rem; color: #cbd5e1; margin-top: 6px; }
.album__open { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #93c5fd; }
.album:hover .album__open { color: #fff; }

/* ---- Gallery ------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery a { display: block; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; background: var(--slate-100); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; font-size: .84rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(15,23,42,.9)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Forms --------------------------------------------------------------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--slate-700); margin-bottom: 8px; }
.field .req { color: var(--blue); }
.input, .select, .textarea { width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--slate-300); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .16s, box-shadow .16s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field--full { grid-column: 1 / -1; }
.field-error { color: #dc2626; font-size: .82rem; margin-top: 6px; display: block; }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); font-size: .95rem; margin-bottom: 26px; }
.alert--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }

/* ---- Info list ----------------------------------------------------------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--slate-100); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-500); flex: 0 0 92px; padding-top: 3px; font-weight: 600; }
.info-list .v { color: var(--slate-600); }

.map-embed { width: 100%; aspect-ratio: 16/9; border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.badge { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-50); border: 1px solid #c7dafe; padding: 7px 14px; border-radius: 100px; }
.badge--brass { color: #fff; background: var(--grad); border: 0; }

.stub { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; }
.stub__mark { font-family: var(--display); font-size: 3rem; font-weight: 800; color: var(--blue); }

/* ---- Footer -------------------------------------------------------------- */
.footer { background: var(--navy); color: #94a3b8; padding: 66px 0 30px; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #93c5fd; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand-name { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: #fff; }
.footer__brand-sub { font-size: .74rem; letter-spacing: .04em; color: #93c5fd; margin-top: 6px; font-weight: 500; }
.footer p { font-size: .92rem; line-height: 1.6; margin-top: 16px; max-width: 34ch; }
.footer__col h5 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 18px; font-weight: 700; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 11px; font-size: .92rem; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .8rem; color: #64748b; }

/* ---- Utilities ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split--wide-left { grid-template-columns: 1.5fr 1fr; }
.stack-lg > * + * { margin-top: 24px; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
    .split, .split--wide-left { grid-template-columns: 1fr; gap: 34px; }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .albums { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .search { display: none; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .nav { display: none; }
    .navstrip { background: transparent; border-bottom: 0; }
    .nav-toggle { display: block; }
    .masthead.open .nav {
        display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--slate-200);
        padding: 8px 16px 18px; gap: 0; box-shadow: var(--shadow); max-height: 78vh; overflow-y: auto; z-index: 40;
    }
    .masthead.open .nav__item { display: block; }
    .masthead.open .nav__link { padding: 13px 4px; border-bottom: 1px solid var(--slate-100); width: 100%; }
    .masthead.open .nav__link::after { display: none; }
    .masthead.open .nav__link.is-active { border-left: 3px solid var(--blue); padding-left: 12px; }
    .masthead.open .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
    .ledger { grid-template-columns: 1fr 1fr; }
    .ledger--3 { grid-template-columns: 1fr; }
    .ledger--3 .ledger__cell { border-left: 0; }
    .ledger__cell:nth-child(3) { border-left: 0; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .notice { grid-template-columns: 1fr; gap: 10px; }
    .gallery { grid-template-columns: 1fr; }
    .albums { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; }
    .hero__body { padding: 66px 0 84px; }
    /* --- simple, clean mobile header --- */
    .masthead__bar { gap: 12px; min-height: 60px; }
    .brand__mark { width: 40px; height: 40px; }
    .brand__name { font-size: 1.02rem; }
    .brand__sub { display: none; }
    .header-actions { display: none; } /* hide search + Login button on mobile */
    .pagehead__rings { display: none; }
    .pagehead { padding: 32px 0 38px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
