/* v2: full name + logo, announcements, gallery, hidden shop */

/* Products are hidden for now. To show them again, delete this one rule. */
.shop-only { display: none !important; }

/* ---------- header with full name ---------- */
.header-inner { padding-top: 10px; padding-bottom: 10px; }
.brand { gap: 14px; }
.brand img { width: 76px; height: 76px; object-fit: contain; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(36, 29, 43, .12); }
.brand-text strong { font-size: 1.12rem; line-height: 1.2; }
.brand-text span { font-size: .78rem; margin-top: 3px; text-transform: none; letter-spacing: .02em; color: var(--primary); font-weight: 600; }
@media (max-width: 1240px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px;
    box-shadow: 0 12px 24px rgba(36, 29, 43, .08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a.nav-cta { margin: 14px 0 0; text-align: center; border-radius: var(--radius-control); border: 0; }
}
@media (max-width: 900px) { .brand-text span { display: block; } }
@media (max-width: 560px) {
  .brand img { width: 58px; height: 58px; }
  .brand-text strong { font-size: .95rem; }
  .brand-text span { font-size: .72rem; }
  .header-inner { gap: 10px; }
}

.hero h1 { font-size: clamp(2rem, 4.6vw, 3.9rem); max-width: 22ch; }

/* ---------- announcements ---------- */
.ann-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(18px, 2.6vw, 32px); }
.ann-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.ann-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.ann-card .tile-media { border-radius: 0; aspect-ratio: 16 / 10; }
.ann-card .tile-media img { transition: transform .5s ease; }
a.ann-card:hover .tile-media img { transform: scale(1.04); }
.ann-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ann-date { font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ann-body h3 { margin: 0; font-size: 1.3rem; }
.ann-body p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.ann-card.skeleton .bar { margin: 18px 22px 22px; }
.ann-ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-deep), var(--primary)); }
.ann-ph img { width: 42%; height: auto; opacity: .9; border-radius: 50%; }

.ann-detail { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--pad) clamp(56px, 8vw, 110px); }
.ann-detail .crumbs { margin-bottom: 22px; }
.ann-detail h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: .3em; }
.ann-detail .ann-date { display: block; margin-bottom: 28px; }
.ann-detail .ann-hero { width: 100%; border-radius: var(--radius-lg); margin-bottom: 32px; background: var(--bg-alt); }
.ann-content { font-size: 1.12rem; }
.ann-content img { border-radius: var(--radius-md); margin: 1em 0; }
.ann-back { margin-top: 40px; display: inline-block; }

/* ---------- gallery ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.mosaic a { display: block; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-alt); position: relative; }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(4) { grid-row: span 2; }
.mosaic a:nth-child(6) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic a:hover img { transform: scale(1.05); }
@media (max-width: 800px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .mosaic a:nth-child(4), .mosaic a:nth-child(6) { grid-row: auto; grid-column: auto; }
}

.masonry { columns: 4 260px; column-gap: 14px; }
.masonry button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; background: var(--bg-alt); break-inside: avoid; position: relative; }
.masonry img { width: 100%; height: auto; transition: transform .6s ease, opacity .4s; }
.masonry button:hover img { transform: scale(1.04); }
.masonry button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(29, 20, 36, .35)); opacity: 0; transition: opacity .3s; }
.masonry button:hover::after { opacity: 1; }
.masonry .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; font-size: .9rem; text-align: left; z-index: 1; opacity: 0; transition: opacity .3s; }
.masonry button:hover .cap { opacity: 1; }
.masonry .ph-tile { height: 240px; animation: pulse 1.4s ease-in-out infinite; }
.masonry .ph-tile:nth-child(3n) { height: 320px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(18, 12, 24, .94); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #e9dff0; font-size: .95rem; text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 64px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}
body.lb-open { overflow: hidden; }
/* mobile polish */
@media (max-width: 640px) {
  .masonry { columns: 2; column-gap: 8px; }
  .masonry button { margin-bottom: 8px; border-radius: var(--radius-sm); }
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(0, 0, 0, .4); }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .wa-float { bottom: 76px; }
}
