/* ============================================================
   Study Library — white-label template
   Modern dark premium theme · vanilla CSS
   ============================================================ */

:root {
  --bg: #0b0e11;
  --bg-alt: #0f1318;
  --surface: #141920;
  --surface-2: #1a2029;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e9edf2;
  --muted: #9aa5b1;
  --accent: #e8b14b;
  --accent-2: #f4d089;
  --accent-ink: #1a1204;
  --grad: linear-gradient(100deg, var(--accent), var(--accent-2));
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.container { width: min(1120px, 92%); margin-inline: auto; }
.container-narrow { width: min(780px, 92%); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.18rem; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 34rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: var(--grad);
  color: var(--accent-ink);
  box-shadow: 0 8px 28px rgba(232, 177, 75, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(232, 177, 75, 0.4); color: var(--accent-ink); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.22); color: var(--text); background: rgba(255,255,255,0.07); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.scrolled {
  background: rgba(11, 14, 17, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(7.5rem, 14vh, 10rem) 0 clamp(3.5rem, 8vh, 6rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-1 { width: 480px; height: 480px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(232,177,75,0.35), transparent 65%); }
.orb-2 { width: 420px; height: 420px; bottom: -200px; left: -140px; background: radial-gradient(circle, rgba(72,110,180,0.3), transparent 65%); animation-delay: -7s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.08); }
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black, transparent);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy .lead { margin-top: 1.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-stats {
  display: flex;
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--text);
  display: inline;
}
.hero-stats dd { color: var(--muted); font-size: 0.87rem; margin-top: 0.15rem; }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  transition: transform 0.5s ease;
}
.hero-media:hover { transform: rotate(0deg) scale(1.015); }
.hero-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.hero-media figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.2rem 1.2rem 0.9rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vh, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(2.5rem, 6vh, 3.8rem); }
.section-head .sub { color: var(--muted); margin-top: 0.8rem; }

/* ---------- Amenity cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 177, 75, 0.35);
  background: var(--surface-2);
}
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(232, 177, 75, 0.1);
  color: var(--accent);
  margin-bottom: 1rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Shifts ---------- */
.shift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.shift-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.shift-card:hover { transform: translateY(-5px); border-color: rgba(232, 177, 75, 0.35); }
.shift-card.featured { border-color: rgba(232, 177, 75, 0.45); background: linear-gradient(180deg, rgba(232, 177, 75, 0.07), var(--surface)); }
.shift-emoji { font-size: 1.9rem; display: block; margin-bottom: 0.7rem; }
.shift-time {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  margin: 0.35rem 0 0.55rem;
}
.shift-card p:last-child { color: var(--muted); font-size: 0.92rem; }

/* ---------- Plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.5rem 1.6rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.plan:hover { transform: translateY(-5px); border-color: rgba(232, 177, 75, 0.35); }
.plan.featured {
  border-color: rgba(232, 177, 75, 0.55);
  background: linear-gradient(180deg, rgba(232, 177, 75, 0.09), var(--surface));
  box-shadow: 0 16px 44px rgba(232, 177, 75, 0.12);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--grad);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}
.plan h3 { font-size: 1.3rem; }
.plan-term { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.15rem; }
.plan-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  margin: 0.9rem 0 1rem;
  line-height: 1;
}
.plan-price span { display: block; font-family: var(--font-body); font-size: 0.82rem; color: var(--muted); margin-top: 0.45rem; }
.plan ul { list-style: none; margin-bottom: 1.4rem; flex: 1; }
.plan li {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.32rem 0 0.32rem 1.5rem;
  position: relative;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.plan .btn { justify-content: center; width: 100%; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.g-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: var(--surface);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.g-item.wide { grid-column: span 2; aspect-ratio: auto; }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.g-item:hover img { transform: scale(1.045); filter: brightness(1.08); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  background: rgba(5, 7, 9, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(232, 177, 75, 0.4); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 18px;
  height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: 0.94rem; }

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  filter: saturate(0.9);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.location-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
}
.location-info h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.addr { color: var(--muted); margin-bottom: 1.2rem; }
.loc-list { list-style: none; margin-bottom: 1.6rem; flex: 1; }
.loc-list li { display: flex; gap: 0.7rem; padding: 0.35rem 0; color: var(--muted); }
.location-info .btn { align-self: flex-start; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(4rem, 9vh, 6rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(232, 177, 75, 0.14), transparent),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta-band h2 { margin-bottom: 0.7rem; }
.cta-band p { color: var(--muted); margin-bottom: 1.8rem; }
.cta-band .hero-cta { justify-content: center; margin-top: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 3.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-tag { color: var(--muted); font-size: 0.92rem; margin-top: 0.9rem; max-width: 20rem; }
.footer h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer li { padding: 0.28rem 0; color: var(--muted); font-size: 0.93rem; }
.footer li a { color: var(--muted); }
.footer li a:hover { color: var(--accent); }
.socials { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.socials a:hover { color: var(--accent); border-color: rgba(232, 177, 75, 0.5); transform: translateY(-3px); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  padding-block: 1.3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); color: #fff; box-shadow: 0 14px 38px rgba(37, 211, 102, 0.55); }

/* ---------- Mobile bottom app bar ---------- */
.bottom-nav {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 95;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  background: rgba(13, 16, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 0.45rem 0.4rem calc(0.55rem + env(safe-area-inset-bottom));
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0.3rem 0;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, transform 0.25s ease;
}
.bn-item svg { width: 22px; height: 22px; }
.bn-item.active { color: var(--accent); }
.bn-item:active { transform: scale(0.92); }
.bn-join {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: -26px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px rgba(232, 177, 75, 0.45), 0 0 0 5px var(--bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bn-join:active { transform: scale(0.92); }
.bn-join:hover { color: var(--accent-ink); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.d-1 { transition-delay: 0.1s; }
.d-2 { transition-delay: 0.2s; }
.d-3 { transition-delay: 0.3s; }
.d-4 { transition-delay: 0.4s; }

/* Stagger cards inside grids */
.cards-grid .reveal:nth-child(2), .shift-grid .reveal:nth-child(2), .plans-grid .reveal:nth-child(2), .gallery-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards-grid .reveal:nth-child(3), .shift-grid .reveal:nth-child(3), .plans-grid .reveal:nth-child(3), .gallery-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards-grid .reveal:nth-child(4), .plans-grid .reveal:nth-child(4), .gallery-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.cards-grid .reveal:nth-child(5), .gallery-grid .reveal:nth-child(5) { transition-delay: 0.08s; }
.cards-grid .reveal:nth-child(6), .gallery-grid .reveal:nth-child(6) { transition-delay: 0.16s; }
.cards-grid .reveal:nth-child(7) { transition-delay: 0.24s; }
.cards-grid .reveal:nth-child(8) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .shift-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { padding-bottom: 78px; }        /* room for the bottom app bar */
  .bottom-nav { display: grid; }
  .wa-float { display: none; }          /* replaced by the bottom bar's Join button */

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    inset-inline: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(11, 14, 17, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 5% 1.2rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 0.75rem 0; width: 100%; font-size: 1.05rem; }
  .nav-links .btn { margin-top: 0.8rem; }

  .shift-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-stats { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .cards-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-item.wide { grid-column: span 1; }
}
