/* ============================================================
   SITE.CSS — Grace Gallery 2026
   Loaded after boto-style.css. Adds the pieces Boto's template
   didn't ship with (brand wordmark, memory statement, album
   cards, password gate, highlights/full split, select mode)
   while reusing Boto's fonts, colors, spacing rhythm, and the
   existing .site-btn / .section__title language.
   ============================================================ */

:root{
  --ink: #211C17;
  --ink-soft: #5A4F45;
  --paper: #FAF6EF;
  --paper-deep: #F0E7D6;
  --gold: #A9781F;
  --gold-bright: #C9A227;
  --gold-soft: #D9B872;
  --wine: #6E2B3A;
  --line: #E7DCC9;
}

body{ background: var(--paper); }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform: translateY(0); }
.reveal-stagger.in{ transition-delay: calc(var(--stagger, 0) * 70ms); }

/* ---------- Tassel motif (used as a small emotional flourish) ---------- */
.tassel-icon{ display:inline-block; width:20px; height:20px; vertical-align:-4px; color: var(--gold); }
.tassel-icon svg{ width:100%; height:100%; }

/* ---------- Brand wordmark (replaces img logo) ---------- */
.site-logo-text{
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 500;
  font-size: 24px; color: var(--ink); line-height:1.1; display:inline-block;
}
.site-logo-text .yr{
  display:block; font-family: 'Inter', sans-serif; font-style:normal; font-weight:600;
  font-size: 11px; letter-spacing: .16em; color: var(--gold); margin-top:2px;
}

/* ---------- Header polish ---------- */
.header{ background: var(--paper); border-bottom: 1px solid var(--line); }
.header__switches a{ color: var(--ink); }
.main__menu .nav__menu > li > a{ color: var(--ink-soft); font-weight:600; letter-spacing:.03em; }
.main__menu .nav__menu > li > a.menu--active,
.main__menu .nav__menu > li > a:hover{ color: var(--wine); }
.lock-link{ color: var(--ink-soft) !important; font-size: 13px; }
.lock-link:hover{ color: var(--wine) !important; }

/* ---------- Hero captions ---------- */
.hero-text-slider .text-item h2{
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--ink);
}
.hero-text-slider .text-item p{ color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }

.hero__section{ position: relative; }
.hero-cta{
  position:relative; z-index:5; text-align:center; margin-top: -6px; padding-bottom: 54px;
  display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
}
.hero-cta .site-btn{ min-width: 200px; }
.hero-cta .site-btn.outline{
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.hero-cta .site-btn.outline:hover{ background: var(--ink); color: #fff; }

/* ---------- Memory statement ---------- */
.memory-statement{ text-align:center; padding: 78px 0 66px; position:relative; }
.memory-statement blockquote{
  margin:0 auto; max-width:620px; font-family:'Fraunces', serif; font-style:italic;
  font-weight:400; font-size: clamp(19px,2.4vw,27px); line-height:1.55; color: var(--ink);
  position:relative;
}
.memory-statement .quote-mark{
  display:block; font-family:'Fraunces', serif; font-size:64px; font-style:italic; font-weight:600;
  color: var(--gold-soft); line-height:1; margin-bottom:-6px; opacity:.85;
}
.memory-statement .rule{ width:60px; height:2px; background: var(--gold); margin: 0 auto 26px; }

/* ---------- Section titles (extend Boto's .section__title) ---------- */
.section__title h2{ font-family:'Fraunces', serif; font-style:italic; font-weight:500; color: var(--ink); }
.section__title p{ color: var(--ink-soft); }
.section__title:after{ background: var(--gold); left:50%; transform:translateX(-50%); }
.section-eyebrow{
  display:block; text-align:center; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase;
  color: var(--wine); font-weight:600; margin-bottom: 10px;
}

.public-section{ padding: 70px 0; }
.public-section.alt{ background: var(--paper-deep); }

/* ---------- Gallery grid (Highlights + private collections) ---------- */
.gallery__item{ position:relative; display:block; overflow:hidden; border-radius:4px; }
.gallery__item img{ width:100%; display:block; transition: transform .6s ease, filter .5s ease;
  filter: saturate(1.08) contrast(1.05) brightness(0.99) sepia(0.025); }
.gallery__item:hover img{ transform: scale(1.05); }
.gallery__item::after{
  content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,14,10,0) 60%, rgba(20,14,10,0.45) 100%);
  opacity:0; transition: opacity .3s ease;
}
.gallery__item:hover::after{ opacity:1; }
.gallery__row{ margin: 0 -6px; }
.gallery__row [class*="col-"]{ padding: 0 6px; margin-bottom: 12px; }

.grid-toolbar{ display:flex; align-items:center; justify-content:space-between; margin: 0 0 22px; flex-wrap:wrap; gap:12px; }
.photo-count-pill{ font-size:12.5px; color: var(--ink-soft); background: var(--paper-deep); padding:6px 13px; border-radius:999px; }

/* ---------- Album cards ---------- */
.album-cards{ display:grid; grid-template-columns: repeat(3,1fr); gap:26px; }
@media (max-width:900px){ .album-cards{ grid-template-columns:1fr; max-width:460px; margin:0 auto; } }
.album-card{
  position:relative; display:block; border-radius:6px; overflow:hidden;
  box-shadow: 0 14px 34px rgba(43,36,32,0.12); transition: transform .35s ease, box-shadow .35s ease;
}
.album-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 46px rgba(43,36,32,0.18); }
.album-card .cover{ position:relative; height:380px; overflow:hidden; }
.album-card .cover img{ width:100%; height:100%; object-fit:cover; object-position: center 18%; transition: transform .7s ease;
  filter: saturate(1.1) contrast(1.06) brightness(0.97) sepia(0.03); }
.album-card:hover .cover img{ transform: scale(1.06); }
.album-card .cover::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,14,10,0) 35%, rgba(20,14,10,0.8) 100%); }
.album-card .badge{
  position:absolute; top:16px; right:16px; z-index:2; display:flex; align-items:center; gap:6px;
  background: rgba(20,14,10,0.45); backdrop-filter: blur(6px); color:#fff; font-size:11px;
  letter-spacing:.08em; text-transform:uppercase; padding:6px 11px; border-radius:999px;
}
.album-card .info{ position:absolute; left:0; right:0; bottom:0; z-index:2; padding:20px 22px 22px; color:#fff; }
.album-card .info .name{ font-family:'Fraunces', serif; font-style:italic; font-weight:500; font-size:27px; }
.album-card .info .meta{ display:flex; justify-content:space-between; align-items:center; margin-top:14px; font-size:12.5px; }
.album-card .info .enter{ font-weight:600; border-bottom: 1px solid var(--gold-soft); padding-bottom:2px; }

/* ---------- Gallery hero (per-graduate page) ---------- */
.grad-hero{
  padding: 150px 0 46px; text-align:center; background-size: cover; background-position: center 20%;
  position:relative;
}
.grad-hero::before{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(250,246,239,0.94), rgba(250,246,239,0.97)); }
.grad-hero .inner{ position:relative; z-index:2; }
.grad-hero h1{ font-family:'Fraunces', serif; font-style:italic; font-weight:500; font-size: clamp(32px,5vw,50px); color: var(--ink); margin: 10px 0 14px; }
.grad-hero .note{ max-width:540px; margin:0 auto 26px; color: var(--ink-soft); font-size:15px; }
.grad-hero .actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ---------- Highlights / Full Collection labels ---------- */
.subheading{ display:flex; align-items:center; gap:16px; margin: 44px 0 24px; }
.subheading h3{ font-family:'Fraunces', serif; font-style:italic; font-weight:500; font-size:24px; color: var(--ink); white-space:nowrap; }
.subheading .rule{ flex:1; height:1px; background: var(--line); }
.subheading .tag{ font-size:11px; letter-spacing:.08em; text-transform:uppercase; color: var(--wine); background: rgba(110,43,58,0.07); padding:5px 11px; border-radius:999px; white-space:nowrap; }

/* ---------- Password gate ---------- */
.gate-wrap{ min-height: 90vh; display:flex; align-items:center; justify-content:center; padding: 140px 20px 60px;
  background: radial-gradient(700px 450px at 15% 10%, rgba(184,134,43,0.08), transparent 60%), var(--paper); }
.gate-card{ width:100%; max-width:420px; background:#fff; border-radius:8px; box-shadow: 0 20px 50px rgba(43,36,32,0.14);
  padding: 42px 34px 34px; text-align:center; border: 1px solid var(--line); }
.gate-icon{ width:56px; height:56px; border-radius:50%; background: var(--paper-deep); margin:0 auto 16px;
  display:flex; align-items:center; justify-content:center; color: var(--gold); }
.gate-card h1{ font-family:'Fraunces', serif; font-style:italic; font-weight:500; font-size:26px; margin:0 0 6px; color: var(--ink); }
.gate-card p.lead{ color: var(--ink-soft); font-size:14px; margin-bottom:24px; }
.gate-form input{ width:100%; padding:13px 15px; border-radius:4px; border:1px solid var(--line); background: var(--paper);
  font-size:15px; font-family:'Inter',sans-serif; color:var(--ink); outline:none; margin-bottom:14px; }
.gate-form input:focus{ border-color: var(--gold); }
.gate-error{ color: var(--wine); font-size:13px; min-height:18px; margin-top:6px; }
.gate-back{ display:inline-block; margin-top:20px; font-size:13px; color: var(--ink-soft); }
.gate-back:hover{ color: var(--wine); }

/* ---------- Select photos mode ---------- */
.selection-bar{
  position:sticky; top: 84px; z-index:40; margin: 0 0 22px; background:#fff; border:1px solid var(--line);
  border-radius: 999px; padding:10px 18px; display:none; align-items:center; justify-content:space-between;
  gap:14px; box-shadow: 0 6px 20px rgba(43,36,32,0.08); flex-wrap:wrap;
}
.selection-bar.active{ display:flex; }
.selection-bar .count{ font-size:13px; color: var(--ink-soft); }
.gallery__item .select-check{
  position:absolute; top:10px; left:10px; z-index:3; width:24px; height:24px; border-radius:6px;
  background: rgba(20,14,10,0.45); border:2px solid rgba(255,255,255,0.85); display:none;
  align-items:center; justify-content:center;
}
.select-mode .select-check{ display:flex; }
.gallery__item.selected .select-check{ background: var(--gold); border-color: var(--gold); }
.select-check svg{ width:13px; height:13px; opacity:0; }
.gallery__item.selected .select-check svg{ opacity:1; }
.gallery__item.selected img{ outline: 3px solid var(--gold); outline-offset:-3px; }

/* ---------- Select photos mode ---------- */
.select-toggle{
  background:transparent; border:1px solid var(--ink); color: var(--ink); padding: 9px 16px; border-radius:999px;
  font-size:13px; font-weight:600;
}
.select-toggle:hover{ background: var(--ink); color:#fff; }

.share-btn{
  display:inline-flex; align-items:center; gap:7px; padding: 8px 15px; border-radius:999px;
  border:1px solid var(--line); background:#fff; color: var(--ink); font-size:12.5px; font-weight:600;
}
.share-btn:hover, .share-btn:disabled:hover{ border-color: var(--gold); color: var(--gold); }
.share-btn:disabled{ opacity:.5; pointer-events:none; }
.share-btn i{ font-size:14px; }

/* ---------- Fresco lightbox: subtle photo action bar ---------- */
.fr-caption{ padding: 0 !important; }
.fr-actions{
  display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap;
  padding: 12px 10px 4px;
}
.fr-actions .fr-btn{
  display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.20); color:#fff;
  font-size:12px; font-weight:600; font-family:'Inter',sans-serif; letter-spacing:.01em;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.fr-actions .fr-btn:hover, .fr-actions .fr-btn:focus{ background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.42); transform: translateY(-1px); outline:none; }
.fr-actions .fr-btn.fr-dl{ background: rgba(169,120,31,.72); border-color: rgba(169,120,31,.78); }
.fr-actions .fr-btn.fr-dl:hover, .fr-actions .fr-btn.fr-dl:focus{ background: var(--gold-bright); border-color: var(--gold-bright); }
.fr-actions .fr-btn i{ font-size:13px; }
@media (max-width:576px){
  .fr-actions{ gap:6px; padding-top:10px; }
  .fr-actions .fr-btn{ width:40px; height:40px; padding:0; justify-content:center; border-radius:50%; }
  .fr-actions .fr-btn span{ display:none; }
  .selection-bar{ border-radius:18px; }
}

/* ---------- Share popover (fallback for browsers without native share) ---------- */
.share-popover{
  position:fixed; z-index:100010; width:255px; background:#fff; border-radius:16px;
  box-shadow: 0 20px 50px rgba(33,28,23,0.28); border:1px solid var(--line);
  opacity:0; transform: translateY(8px) scale(.98); pointer-events:none;
  transition: opacity .18s ease, transform .18s ease; overflow:hidden;
}
.share-popover.open{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto; }
.share-popover .sp-title{
  padding: 13px 16px 10px; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--ink-soft); border-bottom: 1px solid var(--line);
}
.share-popover .sp-item{
  width:100%; border:0; background:#fff; font-family:'Inter',sans-serif; text-align:left;
  display:flex; align-items:center; gap:12px; padding:11px 16px; font-size:14px; color: var(--ink);
  transition: background .15s ease; cursor:pointer;
}
.share-popover .sp-item:hover{ background: var(--paper-deep); }
.share-popover .sp-icon{
  width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:14px; flex-shrink:0;
}
.share-popover .sp-icon svg{ width:15px; height:15px; }
.sp-icon.native{ background: var(--wine); }
.sp-icon.wa{ background:#25D366; }
.sp-icon.em{ background: var(--ink-soft); }
.sp-icon.cp{ background: var(--gold); }
.share-popover-backdrop{
  position:fixed; inset:0; z-index:100009; background: rgba(33,28,23,0.15); opacity:0; pointer-events:none;
  transition: opacity .18s ease;
}
.share-popover-backdrop.open{ opacity:1; pointer-events:auto; }

/* ---------- Footer ---------- */
.footer__section{ background: var(--ink) !important; padding: 44px 0 26px; }
.footer-note{ text-align:center; color: rgba(250,246,239,0.75); font-size:14px; max-width:520px; margin: 0 auto 18px; }
.footer-links{ display:flex; gap:20px; justify-content:center; margin-bottom:22px; flex-wrap:wrap; }
.footer-links a{ font-size:13px; color: rgba(250,246,239,0.7); }
.footer-links a:hover{ color: var(--gold-soft); }
.footer__copyright__text p{ color: rgba(250,246,239,0.45) !important; font-size:12px; }
.footer__copyright__text a{ color: rgba(250,246,239,0.65) !important; }

/* ---------- Back to top ---------- */
.back-to-top{
  position:fixed; right:20px; bottom:20px; z-index:50; width:44px; height:44px; border-radius:50%;
  background: var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; border:none;
  box-shadow: 0 10px 26px rgba(43,36,32,0.25); opacity:0; pointer-events:none; transform: translateY(10px);
  transition: all .3s ease;
}
.back-to-top.show{ opacity:1; pointer-events:auto; transform: translateY(0); }
.back-to-top:hover{ background: var(--wine); }

@media (max-width:576px){
  .grad-hero{ padding-top:120px; }
  .selection-bar{ top: 70px; }
}

/* ---------- Toast ---------- */
.site-toast{
  position:fixed; bottom:26px; left:50%; transform: translateX(-50%) translateY(16px);
  background: var(--ink); color:#fff; padding:11px 20px; border-radius:999px; font-size:13.5px;
  opacity:0; pointer-events:none; transition: all .3s ease; z-index:400; box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}
.site-toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }


/* ---------- Patch 2: dynamic gallery helpers ---------- */
.gg-hidden-photo{ display:none; }
.gg-more-wrap .site-btn{ min-width:190px; }
.empty-gallery{
  text-align:center; max-width:580px; margin: 20px auto 40px; padding:42px 28px;
  border:1px solid var(--line); background:rgba(255,255,255,.42); border-radius:8px;
}
.empty-gallery h3{ font-family:'Fraunces', serif; font-style:italic; color:var(--ink); margin-bottom:10px; }
.empty-gallery p{ color:var(--ink-soft); margin:0; }
.album-cover-placeholder{
  width:100%; height:100%; min-height:320px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(33,28,23,.92), rgba(110,43,58,.88)); color:#fff;
  font-family:'Fraunces', serif; font-size:34px; font-style:italic;
}

/* ---------- Patch 3: download/share polish ---------- */
.site-btn[download], .share-gallery-btn{ white-space:nowrap; }


/* ---------- Patch 5: dynamic hero media + Memory Films ---------- */
.is-hidden{ display:none !important; }
.slide-item.hero-media-video .hero-video-wrap{
  position:relative; width:min(82vw, 860px); height:570px; padding:65px 0;
  overflow:hidden; border-radius:2px; background:#111; transition:padding .4s ease;
}
.slick-center.slide-item.hero-media-video .hero-video-wrap{ padding:0; }
.hero-media-slide video,
.hero-video-wrap video{
  width:100%; height:100%; object-fit:cover; display:block;
  filter: saturate(1.08) contrast(1.05) brightness(.92) sepia(.025);
}
.hero-video-wrap::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,14,10,.08), rgba(20,14,10,.24)); pointer-events:none; }
.hero-media-video{ cursor:default; }
.motion-section{ background:linear-gradient(180deg, var(--paper), #fffaf1); }
.motion-meta{
  display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap;
  color:var(--ink-soft); font-size:13px; margin:-8px 0 28px;
}
.motion-meta code{ color:var(--wine); background:rgba(110,43,58,.08); padding:2px 6px; border-radius:999px; }
.motion-count{
  color:var(--ink); background:var(--paper-deep); border:1px solid var(--line);
  padding:6px 13px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
}
.motion-card{
  background:#fff; border:1px solid var(--line); border-radius:8px; overflow:hidden;
  box-shadow:0 14px 34px rgba(43,36,32,.10); margin-bottom:24px;
  transition:transform .3s ease, box-shadow .3s ease;
}
.motion-card:hover{ transform:translateY(-4px); box-shadow:0 20px 44px rgba(43,36,32,.16); }
.motion-card-main{ width:100%; border:0; background:transparent; padding:0; cursor:pointer; text-align:left; display:block; }
.motion-thumb{ position:relative; display:block; height:260px; overflow:hidden; background:#15110e; }
.motion-thumb video{ width:100%; height:100%; object-fit:cover; display:block; filter:saturate(1.06) contrast(1.04) brightness(.86) sepia(.025); transition:transform .7s ease; }
.motion-card:hover .motion-thumb video{ transform:scale(1.04); }
.motion-thumb::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,14,10,.05), rgba(20,14,10,.50)); }
.play-badge{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:2;
  width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.88); color:var(--wine); box-shadow:0 12px 34px rgba(0,0,0,.22);
}
.play-badge i{ margin-left:4px; }
.motion-title{
  display:block; padding:17px 18px 3px; color:var(--ink); font-family:'Fraunces',serif;
  font-style:italic; font-size:22px; line-height:1.25;
}
.motion-actions{ display:flex; gap:8px; padding:14px 16px 17px; flex-wrap:wrap; }
.motion-action{
  border:1px solid var(--line); background:var(--paper); color:var(--ink-soft); border-radius:999px;
  padding:8px 12px; font-size:12.5px; font-weight:700; display:inline-flex; align-items:center; gap:7px;
  transition:all .2s ease; cursor:pointer;
}
.motion-action:hover{ border-color:var(--gold); color:var(--gold); background:#fff; }
.motion-modal{ position:fixed; inset:0; z-index:100020; display:none; }
.motion-modal.open{ display:block; }
body.motion-modal-open{ overflow:hidden; }
.motion-modal-backdrop{ position:absolute; inset:0; background:rgba(14,10,8,.82); backdrop-filter:blur(8px); }
.motion-modal-panel{
  position:relative; z-index:2; width:min(1080px,92vw); max-height:92vh; margin:4vh auto; background:#100d0b;
  border:1px solid rgba(255,255,255,.12); border-radius:12px; overflow:hidden; box-shadow:0 30px 90px rgba(0,0,0,.45);
}
.motion-modal-video{ width:100%; max-height:72vh; display:block; background:#000; }
.motion-modal-close{
  position:absolute; top:12px; right:12px; z-index:3; width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.38); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.motion-modal-footer{
  display:flex; justify-content:space-between; align-items:center; gap:18px; padding:16px 18px; color:#fff;
  background:linear-gradient(180deg, rgba(16,13,11,.96), rgba(16,13,11,1)); flex-wrap:wrap;
}
.motion-modal-kicker{ font-size:11px; text-transform:uppercase; letter-spacing:.14em; color:var(--gold-soft); margin-bottom:4px; }
.motion-modal-title{ margin:0; color:#fff; font-family:'Fraunces',serif; font-style:italic; font-weight:500; font-size:22px; }
.motion-modal-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.motion-modal-action{
  border:1px solid rgba(255,255,255,.20); background:rgba(255,255,255,.07); color:#fff; border-radius:999px;
  padding:8px 12px; font-size:12.5px; font-weight:700; display:inline-flex; align-items:center; gap:7px; cursor:pointer;
}
.motion-modal-action:hover{ background:rgba(255,255,255,.16); }
@media (max-width:576px){
  .slide-item.hero-media-video .hero-video-wrap{ width:92vw; height:420px; padding:0; }
  .motion-thumb{ height:220px; }
  .motion-actions{ gap:6px; }
  .motion-action{ padding:8px 10px; }
  .motion-modal-panel{ width:100vw; margin:0; height:100vh; max-height:none; border-radius:0; display:flex; flex-direction:column; }
  .motion-modal-video{ flex:1; max-height:none; object-fit:contain; }
  .motion-modal-footer{ padding:13px 12px; }
  .motion-modal-action span{ display:none; }
  .motion-modal-action{ width:40px; height:40px; justify-content:center; padding:0; }
}


/* Patch 6 — custom private collection password screen */
.gg-auth-body {
  min-height: 100vh;
  margin: 0;
  background: #111;
  color: #fff;
}
.gg-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 18px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.gg-auth-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(110deg, rgba(14,10,8,.90), rgba(25,19,16,.72), rgba(0,0,0,.76)), var(--auth-cover);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  z-index: -2;
}
.gg-auth-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(220,180,105,.24), transparent 34%), radial-gradient(circle at 78% 86%, rgba(130,54,42,.28), transparent 36%);
  z-index: -1;
}
.gg-auth-card {
  width: min(560px, 100%);
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(20,17,15,.62);
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
  border-radius: 30px;
}
.gg-auth-logo {
  display: inline-block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  letter-spacing: .02em;
  margin-bottom: 30px;
  font-weight: 600;
}
.gg-auth-logo:hover { color: #fff; }
.gg-auth-logo span {
  color: #d7b46a;
  font-size: .58em;
  margin-left: 4px;
  vertical-align: super;
}
.gg-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #ead6a3;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 18px;
}
.gg-auth-card h1 {
  color: #fff;
  font-size: clamp(36px, 6vw, 62px);
  line-height: .98;
  margin-bottom: 18px;
}
.gg-auth-card p {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.gg-auth-error {
  background: rgba(145, 48, 44, .22);
  border: 1px solid rgba(255, 148, 136, .35);
  color: #ffe2dc;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}
.gg-auth-form label {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  display: block;
  margin-bottom: 9px;
}
.gg-password-row {
  display: flex;
  gap: 10px;
}
.gg-password-row input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #fff;
  padding: 0 18px;
  outline: none;
}
.gg-password-row input::placeholder { color: rgba(255,255,255,.42); }
.gg-password-row button {
  height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: #d7b46a;
  color: #20170f;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.gg-auth-links {
  margin-top: 22px;
}
.gg-auth-links a {
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.gg-auth-links a:hover { color: #fff; }
@media (max-width: 575px) {
  .gg-auth-card { border-radius: 24px; }
  .gg-password-row { flex-direction: column; }
  .gg-password-row button { width: 100%; }
}


/* Grace Gallery cookie/privacy notice */
.gg-cookie-notice {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  display: none;
  justify-content: center;
  pointer-events: none;
}
.gg-cookie-notice.is-visible {
  display: flex;
}
.gg-cookie-card {
  width: min(720px, 100%);
  background: rgba(18, 17, 16, 0.94);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
  border-radius: 18px;
  padding: 18px 20px;
  backdrop-filter: blur(14px);
  pointer-events: auto;
}
.gg-cookie-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
  color: #fff;
}
.gg-cookie-card p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.55;
}
.gg-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}
.gg-cookie-actions button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.gg-cookie-actions button:hover {
  transform: translateY(-1px);
}
.gg-cookie-accept {
  background: #fff;
  color: #141414;
}
.gg-cookie-close {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.gg-cookie-link {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: auto;
}
@media (max-width: 575px) {
  .gg-cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .gg-cookie-card {
    padding: 16px;
    border-radius: 16px;
  }
  .gg-cookie-actions {
    align-items: stretch;
  }
  .gg-cookie-actions button {
    flex: 1 1 auto;
  }
  .gg-cookie-link {
    margin-left: 0;
    width: 100%;
  }
}


/* Grace Gallery: progressive photo reveal */
.gg-hidden-photo {
  display: none !important;
}
.gg-more-wrap {
  margin-top: 34px;
  text-align: center;
}
.gg-gallery-status {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(40, 34, 26, 0.62);
}
.gg-more-wrap .site-btn {
  min-width: 190px;
}


/* Grace Gallery: mobile hero stability */
@media (max-width: 767px) {
  .hero__section {
    overflow: hidden;
  }

  .hero-slider .slick-list,
  .hero-slider .slick-track {
    min-height: 420px;
  }

  .hero-slider .slick-track {
    transition-duration: 560ms !important;
  }

  .hero-slider .slide-item,
  .hero-slider .hero-media-slide {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .hero-slider .slide-item a,
  .hero-slider .hero-media-slide a,
  .hero-slider .hero-video-wrap {
    display: block;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 2px;
    background: #15110e;
  }

  .hero-slider .slide-item img,
  .hero-media-slide img,
  .hero-video-wrap video {
    width: 100%;
    height: 420px;
    max-width: none;
    object-fit: cover;
    display: block;
    padding: 0 !important;
  }
}

@media (max-width: 420px) {
  .hero-slider .slick-list,
  .hero-slider .slick-track,
  .hero-slider .slide-item a,
  .hero-slider .hero-media-slide a,
  .hero-slider .hero-video-wrap,
  .hero-slider .slide-item img,
  .hero-media-slide img,
  .hero-video-wrap video {
    height: 390px;
    min-height: 390px;
  }
}


/* Grace Gallery: ensure View More Photos is always visible */
.gg-more-wrap {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  display: block;
}

.gg-more-wrap .site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}


/* Grace Gallery: Featured photo action */
.fr-actions .fr-feature {
  background: rgba(255,255,255,0.10);
}

.fr-actions .fr-feature:hover {
  background: rgba(255,255,255,0.18);
}

.footer__copyright__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
