/* =============================================


   OBSIDIAN STUDIO — styles.css (Salient style)


   ============================================= */





/* ---------- CSS VARIABLES ---------- */


:root {


  --bg:          #141b2d;


  --bg-2:        #19223a;


  --bg-3:        #1f2a43;


  --bg-card:     rgba(255,255,255,0.04);


  --border:      rgba(255,255,255,0.07);


  --border-soft: rgba(255,255,255,0.05);


  --accent:      #4a7cff;


  --accent-2:    #7eb3ff;


  --accent-glow: rgba(74,124,255,0.18);


  --text:        #e8edf5;


  --text-muted:  rgba(232,237,245,0.55);


  --text-dim:    rgba(232,237,245,0.28);


  --font-display: 'Poppins', sans-serif;


  --font-body:   'Inter', sans-serif;


  --radius:      12px;


  --radius-lg:   20px;


  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);


}





/* ---------- RESET & BASE ---------- */


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


html { scroll-behavior: smooth; }





body {


  background: var(--bg);


  color: var(--text);


  font-family: var(--font-body);


  font-size: 16px;


  line-height: 1.75;


  overflow-x: hidden;


}





a { color: inherit; text-decoration: none; }


ul { list-style: none; }


img { display: block; max-width: 100%; }





/* ---------- BOKEH BACKGROUND ---------- */


body::before {


  content: '';


  position: fixed;


  inset: 0;


  background:


    radial-gradient(ellipse 55% 55% at 15% 25%, rgba(74,124,255,0.1) 0%, transparent 60%),


    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(74,124,255,0.07) 0%, transparent 55%),


    radial-gradient(ellipse 30% 30% at 60% 20%, rgba(126,179,255,0.06) 0%, transparent 50%),


    radial-gradient(ellipse 25% 25% at 30% 80%, rgba(74,124,255,0.05) 0%, transparent 50%);


  pointer-events: none;


  z-index: 0;


}





/* ---------- SCROLLBAR ---------- */


::-webkit-scrollbar { width: 4px; }


::-webkit-scrollbar-track { background: var(--bg); }


::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }





/* =============================================


   NAVIGATION


   ============================================= */


.nav {


  position: fixed;


  top: 0; left: 0; right: 0;


  z-index: 100;


  display: flex;


  align-items: center;


  justify-content: space-between;


  padding: 1.4rem 3rem;


  background: rgba(20,27,45,0.6);


  backdrop-filter: blur(20px);


  -webkit-backdrop-filter: blur(20px);


  border-bottom: 1px solid var(--border-soft);


  animation: slideDown 0.7s ease both;


}





@keyframes slideDown {


  from { transform: translateY(-100%); opacity: 0; }


  to   { transform: translateY(0);     opacity: 1; }


}





.nav-logo {


  font-family: var(--font-display);


  font-size: 1.1rem;


  font-weight: 600;


  letter-spacing: 0.04em;


  color: var(--text);


  transition: color var(--transition);


}


.nav-logo:hover { color: var(--accent-2); }





.nav-links {


  display: flex;


  gap: 2.25rem;


  align-items: center;


}


.nav-links a {


  font-size: 0.85rem;


  font-weight: 400;


  letter-spacing: 0.01em;


  color: var(--text-muted);


  transition: color var(--transition);


  position: relative;


}


.nav-links a::after {


  content: '';


  position: absolute;


  bottom: -4px; left: 0;


  width: 0; height: 1.5px;


  background: var(--accent-2);


  border-radius: 2px;


  transition: width var(--transition);


}


.nav-links a:hover,


.nav-links a.active { color: var(--text); }


.nav-links a:hover::after,


.nav-links a.active::after { width: 100%; }





.menu-toggle {


  display: none;


  background: none;


  border: none;


  color: var(--text);


  font-size: 1.4rem;


  cursor: pointer;


}





.mobile-menu {


  display: none;


  position: fixed;


  top: 64px; left: 0; right: 0;


  background: rgba(20,27,45,0.97);


  backdrop-filter: blur(20px);


  border-bottom: 1px solid var(--border);


  padding: 1.5rem 2.5rem;


  flex-direction: column;


  gap: 1rem;


  z-index: 99;


}


.mobile-menu.open { display: flex; }


.mobile-menu a {


  font-size: 0.95rem;


  color: var(--text-muted);


  transition: color var(--transition);


}


.mobile-menu a:hover { color: var(--text); }





/* =============================================


   BUTTONS


   ============================================= */


.btn {


  display: inline-flex;


  align-items: center;


  gap: 0.5rem;


  padding: 0.75rem 1.75rem;


  border-radius: 999px;


  font-family: var(--font-body);


  font-size: 0.85rem;


  font-weight: 500;


  letter-spacing: 0.02em;


  cursor: pointer;


  transition: all var(--transition);


  border: none;


}


.btn-primary {


  background: var(--accent);


  color: #fff;


  box-shadow: 0 4px 20px rgba(74,124,255,0.35);


}


.btn-primary:hover {


  background: #5a8bff;


  transform: translateY(-2px);


  box-shadow: 0 8px 30px rgba(74,124,255,0.5);


}


.btn-ghost {


  background: transparent;


  color: var(--text-muted);


  border: 1px solid var(--border);


}


.btn-ghost:hover {


  color: var(--text);


  border-color: rgba(255,255,255,0.18);


  background: rgba(255,255,255,0.04);


}


.btn-outline {


  background: transparent;


  color: var(--text);


  border: 1px solid rgba(255,255,255,0.15);


}


.btn-outline:hover {


  background: rgba(255,255,255,0.05);


  transform: translateY(-2px);


}


.full-width { width: 100%; justify-content: center; }





/* Play button style */


.btn-play {


  display: inline-flex;


  align-items: center;


  gap: 0.75rem;


  background: none;


  border: none;


  color: var(--text-muted);


  font-size: 0.9rem;


  font-family: var(--font-body);


  cursor: pointer;


  transition: color var(--transition);


  padding: 0;


}


.btn-play:hover { color: var(--text); }


.play-icon {


  width: 44px; height: 44px;


  background: var(--accent);


  border-radius: 50%;


  display: flex;


  align-items: center;


  justify-content: center;


  font-size: 0.8rem;


  flex-shrink: 0;


  box-shadow: 0 4px 20px rgba(74,124,255,0.4);


  transition: transform var(--transition), box-shadow var(--transition);


}


.btn-play:hover .play-icon {


  transform: scale(1.08);


  box-shadow: 0 6px 28px rgba(74,124,255,0.6);


}





.hero-badge { display: none; }





/* =============================================


   HERO SECTION


   ============================================= */


.hero {


  min-height: 100vh;


  display: flex;


  align-items: center;


  padding: 8rem 3rem 5rem;


  position: relative;


  overflow: hidden;


  z-index: 1;


}





/* Low-poly canvas background */


#heroCanvas {


  position: absolute;


  inset: 0;


  width: 100%;


  height: 100%;


  pointer-events: none;


  z-index: 0;


}





/* Draw canvas wrapper — floats on the right like the old frosted card */


.hero-draw-wrap {


  position: absolute;


  right: 6%;


  top: 50%;


  transform: translateY(-50%);


  width: 480px;


  height: 460px;


  background: rgba(20,27,45,0.45);


  border: 1px solid rgba(255,255,255,0.09);


  border-radius: 20px;


  backdrop-filter: blur(10px);


  z-index: 2;


  overflow: hidden;


  cursor: crosshair;


}





#drawCanvas {


  position: absolute;


  inset: 0;


  width: 100%;


  height: 100%;


  border-radius: 20px;


}





.draw-hint {


  position: absolute;


  inset: 0;


  display: flex;


  align-items: center;


  justify-content: center;


  font-family: var(--font-display);


  font-size: 0.85rem;


  font-weight: 300;


  letter-spacing: 0.18em;


  text-transform: uppercase;


  color: rgba(255,255,255,0.18);


  pointer-events: none;


  transition: opacity 0.4s ease;


  user-select: none;


}


.draw-hint.hidden { opacity: 0; }





.draw-clear {


  position: absolute;


  top: 36px;


  right: 12px;


  background: rgba(255,255,255,0.06);


  border: 1px solid rgba(255,255,255,0.1);


  color: rgba(255,255,255,0.4);


  font-family: var(--font-body);


  font-size: 0.65rem;


  letter-spacing: 0.1em;


  text-transform: uppercase;


  padding: 0.3rem 0.7rem;


  border-radius: 999px;


  cursor: pointer;


  transition: opacity 0.3s ease, background 0.2s ease, color 0.2s ease;


}


.draw-clear:hover {


  background: rgba(255,255,255,0.12);


  color: rgba(255,255,255,0.8);


}





.hero-content {


  max-width: 620px;


  position: relative;


  z-index: 3;


  animation: fadeUp 0.9s 0.3s ease both;


  pointer-events: auto;


}





@keyframes fadeUp {


  from { opacity: 0; transform: translateY(28px); }


  to   { opacity: 1; transform: translateY(0); }


}





.hero-eyebrow {


  font-size: 0.72rem;


  font-weight: 600;


  letter-spacing: 0.14em;


  text-transform: uppercase;


  color: var(--text-muted);


  margin-bottom: 1.25rem;


}





.hero-title {


  font-family: var(--font-display);


  font-size: clamp(2.2rem, 5vw, 3.6rem);


  font-weight: 300;


  line-height: 1.22;


  letter-spacing: -0.01em;


  color: var(--text);


  margin-bottom: 1.5rem;


}


.title-italic {


  font-weight: 300;


  font-style: italic;


  color: var(--text);


}





.hero-sub {


  font-size: 0.95rem;


  font-weight: 300;


  color: var(--text-muted);


  max-width: 400px;


  margin-bottom: 2.5rem;


  line-height: 1.85;


}





.hero-cta {


  display: flex;


  align-items: center;


  gap: 1.5rem;


  flex-wrap: wrap;


  z-index: 1;


}





/* =============================================


   MARQUEE


   ============================================= */


.marquee-wrap {


  overflow: hidden;


  border-top: 1px solid var(--border-soft);


  border-bottom: 1px solid var(--border-soft);


  background: rgba(255,255,255,0.015);


  padding: 0.9rem 0;


  position: relative;


  z-index: 1;


}


.marquee-track {


  display: flex;


  white-space: nowrap;


  animation: marquee 35s linear infinite;


}


.marquee-track span {


  font-size: 0.68rem;


  font-weight: 500;


  letter-spacing: 0.18em;


  text-transform: uppercase;


  color: var(--text-dim);


}


@keyframes marquee {


  from { transform: translateX(0); }


  to   { transform: translateX(-50%); }


}





/* =============================================


   SECTIONS — shared


   ============================================= */


.section {


  padding: 6rem 3rem;


  max-width: 1200px;


  margin: 0 auto;


  position: relative;


  z-index: 1;


}





.section-header { margin-bottom: 3.5rem; }





.section-tag {


  display: inline-block;


  font-size: 0.68rem;


  font-weight: 600;


  letter-spacing: 0.18em;


  text-transform: uppercase;


  color: var(--accent-2);


  margin-bottom: 0.75rem;


}





.section-title {


  font-family: var(--font-display);


  font-size: clamp(1.8rem, 3.5vw, 2.8rem);


  font-weight: 300;


  line-height: 1.25;


  color: var(--text);


}


.section-title em {


  font-style: italic;


  font-weight: 300;


}





.section-footer {


  margin-top: 3rem;


  text-align: center;


}





/* =============================================


   SERVICES


   ============================================= */


.services-grid {


  display: grid;


  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));


  gap: 1px;


  background: var(--border-soft);


  border: 1px solid var(--border-soft);


  border-radius: var(--radius-lg);


  overflow: hidden;


}





.service-card {


  background: var(--bg-card);


  padding: 2.5rem 2rem;


  backdrop-filter: blur(8px);


  transition: background var(--transition);


  animation: fadeUp 0.6s var(--delay, 0s) ease both;


}


.service-card:hover { background: rgba(255,255,255,0.06); }





.service-num {


  display: block;


  font-family: var(--font-display);


  font-size: 1.8rem;


  font-weight: 300;


  color: var(--text-dim);


  line-height: 1;


  margin-bottom: 1.25rem;


  transition: color var(--transition);


}


.service-card:hover .service-num { color: var(--accent-2); }





.service-card h3 {


  font-family: var(--font-display);


  font-size: 0.98rem;


  font-weight: 600;


  margin-bottom: 0.75rem;


  color: var(--text);


}


.service-card p {


  font-size: 0.865rem;


  color: var(--text-muted);


  margin-bottom: 1.5rem;


  line-height: 1.75;


  font-weight: 300;


}


.card-link {


  font-size: 0.73rem;


  font-weight: 500;


  letter-spacing: 0.06em;


  color: var(--accent-2);


  transition: opacity var(--transition);


}


.card-link:hover { opacity: 0.7; }





/* =============================================


   FEATURED WORK


   ============================================= */


.featured-grid {


  display: grid;


  grid-template-columns: 1fr 1fr;


  grid-template-rows: 280px 280px;


  gap: 1rem;


}





.featured-card {


  border-radius: var(--radius-lg);


  overflow: hidden;


  position: relative;


  cursor: pointer;


}


.featured-card.large { grid-row: span 2; }





.featured-img {


  width: 100%; height: 100%;


  transition: transform 0.7s ease;


}


.featured-card:hover .featured-img { transform: scale(1.05); }





.featured-info {


  position: absolute;


  bottom: 0; left: 0; right: 0;


  padding: 1.5rem;


  background: linear-gradient(transparent, rgba(14,20,36,0.88));


}


.featured-info span {


  display: block;


  font-size: 0.63rem;


  font-weight: 600;


  letter-spacing: 0.15em;


  text-transform: uppercase;


  color: var(--accent-2);


  margin-bottom: 0.3rem;


}


.featured-info h3 {


  font-family: var(--font-display);


  font-size: 0.98rem;


  font-weight: 500;


}

/* =============================================
   MORSE TRAINER
============================================= */

.morse-thumb {
  background:
    radial-gradient(circle at top left, rgba(74,124,255,0.2), transparent 60%),
    linear-gradient(135deg, #1b2742, #141b2d);
}

.morse-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.morse-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.morse-target {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

.morse-input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.4rem;
  color: var(--accent-2);
  min-height: 2rem;
  margin-bottom: 2rem;
}

.morse-btn {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.morse-btn:hover {
  border-color: rgba(255,255,255,0.18);
}

.morse-btn.active {
  transform: scale(0.985);
  background: rgba(74,124,255,0.15);
  box-shadow: inset 0 0 40px rgba(74,124,255,0.15);
}

.morse-status {
  text-align: center;
  margin-top: 1.5rem;
  min-height: 1.5rem;
  color: var(--text-muted);
}

.morse-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.morse-control-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all var(--transition);
}

.morse-control-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
}

.morse-dictionary {
  margin-top: 1.5rem;
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.75rem;
}

.morse-dictionary.open {
  display: grid;
}

.morse-letter {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
}

.morse-letter strong {
  display: block;
  font-size: 1rem;
}

.morse-letter span {
  color: var(--accent-2);
  letter-spacing: 0.15rem;
}

.morse-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.morse-target-wrap {
  position: relative;
  width: 180px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.morse-target {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 600;
  line-height: 1;
  transition:
    transform 0.35s cubic-bezier(0.2,0.8,0.2,1),
    opacity 0.35s ease,
    filter 0.35s ease;
}

.morse-target.pop {
  transform: scale(1.12);
  filter: drop-shadow(0 0 18px rgba(126,179,255,0.35));
}

.morse-ghost {
  font-family: var(--font-display);
  font-size: 2rem;
  opacity: 0.12;
  transition: all 0.35s ease;
  user-select: none;
}

.morse-ghost-left {
  transform: translateX(-10px);
}

.morse-ghost-right {
  transform: translateX(10px);
}

.morse-target.correct {
  color: #7eb3ff;
}

.morse-target.wrong {
  color: #ff8a8a;
  transform: translateX(8px);
}

/* =============================================


   CTA STRIP


   ============================================= */


.cta-strip {


  background: linear-gradient(135deg, rgba(74,124,255,0.07), rgba(20,27,45,0.5));


  border-top: 1px solid var(--border-soft);


  border-bottom: 1px solid var(--border-soft);


  padding: 5rem 3rem;


  text-align: center;


  display: flex;


  flex-direction: column;


  align-items: center;


  gap: 2rem;


  position: relative;


  z-index: 1;


}


.cta-strip h2 {


  font-family: var(--font-display);


  font-size: clamp(1.5rem, 3.5vw, 2.4rem);


  font-weight: 300;


  color: var(--text);


}





/* =============================================


   FOOTER


   ============================================= */


.footer {


  padding: 2rem 3rem;


  border-top: 1px solid var(--border-soft);


  position: relative;


  z-index: 1;


}


.footer-inner {


  display: flex;


  align-items: center;


  justify-content: space-between;


  flex-wrap: wrap;


  gap: 1rem;


}


.footer-inner p {


  font-size: 0.78rem;


  color: var(--text-dim);


}


.footer-links {


  display: flex;


  gap: 1.5rem;


}


.footer-links a {


  font-size: 0.78rem;


  letter-spacing: 0.03em;


  color: var(--text-dim);


  transition: color var(--transition);


}


.footer-links a:hover { color: var(--text-muted); }





/* =============================================


   PAGE HEADER (inner pages)


   ============================================= */


.page-header {


  min-height: 52vh;


  padding: 10rem 3rem 5rem;


  position: relative;


  overflow: hidden;


  display: flex;


  align-items: flex-end;


  border-bottom: 1px solid var(--border-soft);


  z-index: 1;


}


.page-header::before {


  content: '';


  position: absolute;


  inset: 0;


  background:


    radial-gradient(ellipse 50% 70% at 10% 50%, rgba(74,124,255,0.08), transparent),


    radial-gradient(ellipse 35% 50% at 85% 30%, rgba(126,179,255,0.05), transparent);


  pointer-events: none;


}


.page-header-content {


  position: relative;


  z-index: 1;


  max-width: 680px;


  animation: fadeUp 0.8s 0.2s ease both;


}


.page-title {


  font-family: var(--font-display);


  font-size: clamp(2.5rem, 6vw, 4.5rem);


  font-weight: 300;


  line-height: 1.12;


  margin: 0.5rem 0 1rem;


  letter-spacing: -0.01em;


}


.page-title em {


  font-style: italic;


  font-weight: 300;


}


.page-subtitle {


  font-size: 0.92rem;


  font-weight: 300;


  color: var(--text-muted);


  max-width: 460px;


  line-height: 1.85;


}


.page-header-deco {


  position: absolute;


  right: 1rem;


  bottom: 1rem;


  font-family: var(--font-display);


  font-size: clamp(5rem, 14vw, 12rem);


  font-weight: 700;


  color: rgba(255,255,255,0.018);


  line-height: 1;


  pointer-events: none;


  user-select: none;


  letter-spacing: -0.03em;


}





/* =============================================


   ABOUT PAGE


   ============================================= */


.about-intro {


  display: grid;


  grid-template-columns: 1.5fr 1fr;


  gap: 5rem;


  align-items: start;


}


.large-text {


  font-family: var(--font-display);


  font-size: 1.2rem;


  font-weight: 300;


  line-height: 1.7;


  color: var(--text);


  margin-bottom: 1.5rem;


}


.about-text-col p {


  color: var(--text-muted);


  margin-bottom: 1rem;


  font-size: 0.9rem;


  font-weight: 300;


  line-height: 1.9;


}


.about-stats-col {


  display: grid;


  grid-template-columns: 1fr 1fr;


  gap: 1rem;


}


.stat-block {


  background: var(--bg-card);


  border: 1px solid var(--border-soft);


  border-radius: var(--radius);


  padding: 1.75rem 1.5rem;


  backdrop-filter: blur(8px);


  transition: border-color var(--transition);


}


.stat-block:hover { border-color: rgba(74,124,255,0.2); }


.stat-num {


  display: block;


  font-family: var(--font-display);


  font-size: 2.4rem;


  font-weight: 300;


  color: var(--accent-2);


  line-height: 1;


  margin-bottom: 0.35rem;


}


.stat-label {


  font-size: 0.68rem;


  font-weight: 600;


  letter-spacing: 0.1em;


  text-transform: uppercase;


  color: var(--text-dim);


}





.values-section { border-top: 1px solid var(--border-soft); }


.values-list { display: flex; flex-direction: column; }


.value-row {


  display: flex;


  gap: 3rem;


  align-items: flex-start;


  padding: 2.25rem 0;


  border-bottom: 1px solid var(--border-soft);


}


.value-num {


  font-size: 0.7rem;


  font-weight: 600;


  color: var(--accent-2);


  letter-spacing: 0.12em;


  padding-top: 4px;


  flex-shrink: 0;


}


.value-body h3 {


  font-family: var(--font-display);


  font-size: 0.98rem;


  font-weight: 600;


  margin-bottom: 0.5rem;


  color: var(--text);


}


.value-body p {


  font-size: 0.875rem;


  color: var(--text-muted);


  max-width: 560px;


  font-weight: 300;


  line-height: 1.85;


}





.team-section { border-top: 1px solid var(--border-soft); }


.team-grid {


  display: grid;


  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));


  gap: 1.25rem;


}


.team-card {


  background: var(--bg-card);


  border: 1px solid var(--border-soft);


  border-radius: var(--radius-lg);


  padding: 2rem 1.5rem;


  text-align: center;


  backdrop-filter: blur(8px);


  transition: transform var(--transition), border-color var(--transition);


}


.team-card:hover {


  transform: translateY(-5px);


  border-color: rgba(74,124,255,0.2);


}


.team-avatar {


  width: 72px; height: 72px;


  border-radius: 50%;


  margin: 0 auto 1.25rem;


}


.team-card h3 {


  font-size: 0.93rem;


  font-weight: 600;


  margin-bottom: 0.3rem;


  font-family: var(--font-display);


}


.team-card span {


  font-size: 0.68rem;


  font-weight: 500;


  letter-spacing: 0.1em;


  text-transform: uppercase;


  color: var(--text-dim);


}





/* =============================================


   WORK PAGE


   ============================================= */


.filter-bar {


  display: flex;


  gap: 0.5rem;


  padding: 2rem 3rem 0;


  max-width: 1200px;


  margin: 0 auto;


  flex-wrap: wrap;


}


.filter-btn {


  background: transparent;


  border: 1px solid var(--border);


  color: var(--text-muted);


  padding: 0.4rem 1rem;


  border-radius: 999px;


  font-family: var(--font-body);


  font-size: 0.75rem;


  font-weight: 500;


  letter-spacing: 0.04em;


  cursor: pointer;


  transition: all var(--transition);


}


.filter-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.18); }


.filter-btn.active {


  background: var(--accent);


  border-color: var(--accent);


  color: #fff;


  box-shadow: 0 4px 16px rgba(74,124,255,0.35);


}





.work-grid {


  display: grid;


  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));


  gap: 1.75rem;


}


.work-item { cursor: pointer; }


.work-item.hidden { display: none; }


.work-thumb {


  height: 240px;


  border-radius: var(--radius-lg);


  overflow: hidden;


  position: relative;


  margin-bottom: 1.25rem;


}


.work-overlay {


  position: absolute;


  inset: 0;


  background: rgba(14,20,36,0.6);


  backdrop-filter: blur(4px);


  display: flex;


  align-items: center;


  justify-content: center;


  opacity: 0;


  transition: opacity var(--transition);


}


.work-thumb:hover .work-overlay { opacity: 1; }


.work-overlay span {


  font-size: 0.78rem;


  font-weight: 500;


  letter-spacing: 0.08em;


  color: #fff;


}


.work-tag {


  display: inline-block;


  font-size: 0.63rem;


  font-weight: 600;


  letter-spacing: 0.14em;


  text-transform: uppercase;


  color: var(--accent-2);


  margin-bottom: 0.4rem;


}


.work-meta h3 {


  font-size: 0.98rem;


  font-weight: 600;


  font-family: var(--font-display);


  margin-bottom: 0.3rem;


}


.work-meta p {


  font-size: 0.83rem;


  color: var(--text-muted);


  font-weight: 300;


}





/* =============================================


   CONTACT PAGE


   ============================================= */


.contact-section {


  display: grid;


  grid-template-columns: 1fr 1.4fr;


  gap: 6rem;


  align-items: start;


}


.contact-info h2 {


  font-family: var(--font-display);


  font-size: 1.6rem;


  font-weight: 300;


  line-height: 1.4;


  margin-bottom: 1rem;


}


.contact-info > p {


  font-size: 0.88rem;


  font-weight: 300;


  color: var(--text-muted);


  margin-bottom: 2.5rem;


  line-height: 1.9;


}


.contact-details { margin-bottom: 2.5rem; }


.contact-detail-row {


  display: flex;


  flex-direction: column;


  gap: 0.2rem;


  padding: 0.9rem 0;


  border-bottom: 1px solid var(--border-soft);


}


.detail-label {


  font-size: 0.62rem;


  font-weight: 600;


  letter-spacing: 0.15em;


  text-transform: uppercase;


  color: var(--text-dim);


}


.contact-detail-row a,


.contact-detail-row span {


  font-size: 0.88rem;


  color: var(--text);


  transition: color var(--transition);


}


.contact-detail-row a:hover { color: var(--accent-2); }


.social-links {


  display: flex;


  gap: 1.25rem;


  flex-wrap: wrap;


}


.social-link {


  font-size: 0.75rem;


  font-weight: 500;


  letter-spacing: 0.06em;


  color: var(--text-dim);


  transition: color var(--transition);


}


.social-link:hover { color: var(--text-muted); }





/* FORM */


.contact-form-wrap {


  background: var(--bg-card);


  border: 1px solid var(--border-soft);


  border-radius: var(--radius-lg);


  padding: 2.5rem;


  backdrop-filter: blur(12px);


}


.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }


.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }


.form-group { display: flex; flex-direction: column; gap: 0.5rem; }


.form-group label {


  font-size: 0.68rem;


  font-weight: 600;


  letter-spacing: 0.1em;


  text-transform: uppercase;


  color: var(--text-muted);


}


.form-group input,


.form-group select,


.form-group textarea {


  background: rgba(255,255,255,0.04);


  border: 1px solid var(--border);


  border-radius: 8px;


  color: var(--text);


  font-family: var(--font-body);


  font-size: 0.88rem;


  font-weight: 300;


  padding: 0.75rem 1rem;


  transition: border-color var(--transition), background var(--transition);


  outline: none;


  appearance: none;


}


.form-group input::placeholder,


.form-group textarea::placeholder { color: var(--text-dim); }


.form-group input:focus,


.form-group select:focus,


.form-group textarea:focus {


  border-color: rgba(74,124,255,0.4);


  background: rgba(74,124,255,0.04);


}





.checkbox-group {


  display: flex;


  flex-wrap: wrap;


  gap: 0.75rem;


}


.checkbox-label {


  display: flex;


  align-items: center;


  gap: 0.4rem;


  font-size: 0.85rem !important;


  text-transform: none !important;


  letter-spacing: 0 !important;


  color: var(--text-muted);


  cursor: pointer;


}


.checkbox-label input { width: auto; accent-color: var(--accent); }





.form-note {


  font-size: 0.72rem;


  color: var(--text-dim);


  text-align: center;


  font-weight: 300;


}


.form-success {


  display: none;


  padding: 1rem;


  background: rgba(74,200,160,0.07);


  border: 1px solid rgba(74,200,160,0.2);


  border-radius: 8px;


  color: #4ec8a0;


  font-size: 0.85rem;


  text-align: center;


}


.form-success.visible { display: block; }





/* =============================================


   RESPONSIVE


   ============================================= */


@media (max-width: 900px) {


  .about-intro { grid-template-columns: 1fr; gap: 3rem; }


  .contact-section { grid-template-columns: 1fr; gap: 3rem; }


  .featured-grid { grid-template-columns: 1fr; grid-template-rows: auto; }


  .featured-card.large { grid-row: span 1; height: 300px; }


  .featured-card { height: 220px; }


}





@media (max-width: 680px) {


  .nav { padding: 1.25rem 1.5rem; }


  .nav-links { display: none; }


  .menu-toggle { display: block; }


  .hero { padding: 7rem 1.5rem 4rem; }


  .hero-draw-wrap { display: none; }


  .section { padding: 4rem 1.5rem; }


  .page-header { padding: 8rem 1.5rem 3rem; }


  .filter-bar { padding: 2rem 1.5rem 0; }


  .form-row { grid-template-columns: 1fr; }


  .footer-inner { flex-direction: column; text-align: center; }


  .hero-cta { flex-direction: column; align-items: flex-start; }


  .about-stats-col { grid-template-columns: 1fr 1fr; }


  .cta-strip { padding: 3rem 1.5rem; }


  .footer { padding: 2rem 1.5rem; }


}





/* =============================================


   ASK PAGE


   ============================================= */


.ask-section {


  display: grid;


  grid-template-columns: 1fr 340px;


  gap: 5rem;


  align-items: start;


}





.ask-wrap { display: flex; flex-direction: column; gap: 1.5rem; }





.ask-form {


  display: flex;


  flex-direction: column;


  gap: 1rem;


}





.ask-field-wrap {


  position: relative;


}





.ask-textarea {


  width: 100%;


  background: var(--bg-card);


  border: 1px solid var(--border);


  border-radius: var(--radius);


  color: var(--text);


  font-family: var(--font-body);


  font-size: 1rem;


  font-weight: 300;


  padding: 1.25rem 1.25rem 2.5rem;


  resize: none;


  outline: none;


  line-height: 1.75;


  transition: border-color var(--transition), background var(--transition);


  backdrop-filter: blur(8px);


}


.ask-textarea::placeholder { color: var(--text-dim); }


.ask-textarea:focus {


  border-color: rgba(74,124,255,0.4);


  background: rgba(74,124,255,0.03);


}





.ask-char-count {


  position: absolute;


  bottom: 0.75rem;


  right: 1rem;


  font-size: 0.68rem;


  color: var(--text-dim);


  pointer-events: none;


  transition: color 0.2s;


}





.ask-footer {


  display: flex;


  align-items: center;


  justify-content: space-between;


  gap: 1rem;


  flex-wrap: wrap;


}





.ask-note {


  font-size: 0.75rem;


  font-weight: 300;


  color: var(--text-dim);


  line-height: 1.6;


  max-width: 320px;


}





.ask-success {


  display: none;


  flex-direction: column;


  align-items: flex-start;


  gap: 0.75rem;


  padding: 2.5rem;


  background: var(--bg-card);


  border: 1px solid rgba(74,124,255,0.2);


  border-radius: var(--radius-lg);


  backdrop-filter: blur(8px);


}


.ask-success-icon {


  width: 44px; height: 44px;


  background: rgba(74,200,160,0.12);


  border: 1px solid rgba(74,200,160,0.25);


  border-radius: 50%;


  display: flex;


  align-items: center;


  justify-content: center;


  font-size: 1rem;


  color: #4ec8a0;


}


.ask-success h3 {


  font-family: var(--font-display);


  font-size: 1.1rem;


  font-weight: 600;


}


.ask-success p {


  font-size: 0.88rem;


  color: var(--text-muted);


  font-weight: 300;


}


.ask-success p a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }





.ask-error {


  font-size: 0.8rem;


  color: rgba(233,100,100,0.8);


  min-height: 1rem;


}





/* Sidebar */


.ask-sidebar {


  display: flex;


  flex-direction: column;


  gap: 2rem;


  position: sticky;


  top: 4rem;


}


.ask-sidebar-block {


  background: var(--bg-card);


  border: 1px solid var(--border-soft);


  border-radius: var(--radius);


  padding: 1.75rem;


  backdrop-filter: blur(8px);


}


.ask-sidebar-block .section-tag { margin-bottom: 1rem; }


.ask-steps {


  list-style: none;


  counter-reset: steps;


  display: flex;


  flex-direction: column;


  gap: 0.5rem;


}


.ask-steps li {


  counter-increment: steps;


  display: flex;


  gap: 0.75rem;


  font-size: 0.875rem;


  color: var(--text-muted);


  font-weight: 300;


  line-height: 1.6;


}


.ask-steps li::before {


  content: counter(steps);


  display: inline-flex;


  align-items: center;


  justify-content: center;


  min-width: 22px;


  height: 22px;


  background: rgba(74,124,255,0.12);


  border: 1px solid rgba(74,124,255,0.2);


  border-radius: 50%;


  font-size: 0.65rem;


  font-weight: 600;


  color: var(--accent-2);


  flex-shrink: 0;


  margin-top: 1px;


}


.ask-sidebar-link {


  font-size: 0.8rem;


  font-weight: 500;


  color: var(--accent-2);


  letter-spacing: 0.04em;


  transition: opacity var(--transition);


}


.ask-sidebar-link:hover { opacity: 0.7; }





/* =============================================


   Q&A PAGE


   ============================================= */


.qa-section { max-width: 760px; }





.qa-loading {


  display: flex;


  align-items: center;


  gap: 1rem;


  color: var(--text-muted);


  font-size: 0.9rem;


  padding: 4rem 0;


}


.qa-spinner {


  width: 18px; height: 18px;


  border: 2px solid var(--border);


  border-top-color: var(--accent);


  border-radius: 50%;


  animation: qa-spin 0.8s linear infinite;


  flex-shrink: 0;


}


@keyframes qa-spin { to { transform: rotate(360deg); } }





.qa-empty {


  display: none;


  flex-direction: column;


  align-items: flex-start;


  gap: 1.5rem;


  padding: 4rem 0;


  color: var(--text-muted);


  font-size: 0.9rem;


}





.qa-fetch-error {


  padding: 4rem 0;


  color: rgba(233,100,100,0.7);


  font-size: 0.88rem;


}





.qa-list {


  display: flex;


  flex-direction: column;


  gap: 0;


}





.qa-item {


  padding: 2.5rem 0;


  border-bottom: 1px solid var(--border-soft);


  animation: fadeUp 0.5s ease both;


}


.qa-item:first-child { border-top: 1px solid var(--border-soft); }





.qa-q, .qa-a {


  display: flex;


  gap: 1.25rem;


  align-items: flex-start;


  margin-bottom: 1.25rem;


}


.qa-a { margin-bottom: 0.75rem; }





.qa-label {


  display: inline-flex;


  align-items: center;


  justify-content: center;


  width: 28px; height: 28px;


  border-radius: 6px;


  font-size: 0.72rem;


  font-weight: 700;


  letter-spacing: 0.05em;


  flex-shrink: 0;


  margin-top: 1px;


}


.q-label {


  background: rgba(255,255,255,0.06);


  color: var(--text-muted);


}


.a-label {


  background: rgba(74,124,255,0.15);


  color: var(--accent-2);


  border: 1px solid rgba(74,124,255,0.2);


}





.qa-q p {


  font-size: 1rem;


  font-weight: 400;


  color: var(--text);


  line-height: 1.65;


}


.qa-a p {


  font-size: 0.93rem;


  font-weight: 300;


  color: var(--text-muted);


  line-height: 1.8;


}





.qa-date {


  font-size: 0.65rem;


  font-weight: 500;


  letter-spacing: 0.1em;


  text-transform: uppercase;


  color: var(--text-dim);


}





@media (max-width: 760px) {


  .ask-section { grid-template-columns: 1fr; gap: 3rem; }


  .ask-sidebar { position: static; }


  .ask-footer { flex-direction: column; align-items: flex-start; }


}


/* =============================================


   DRAW CANVAS — actions bar


   ============================================= */


.draw-actions {


  position: absolute;


  top: 12px;


  right: 12px;


  display: flex;


  gap: 0.5rem;


  align-items: center;


  opacity: 0;


  pointer-events: none;


  transition: opacity 0.3s ease;


}


.draw-actions.visible {


  opacity: 1;


  pointer-events: all;


}





.draw-submit {


  background: var(--accent);


  border: none;


  color: #fff;


  font-family: var(--font-body);


  font-size: 1rem;


  font-weight: 500;


  letter-spacing: 0.08em;


  padding: 0.3rem 0.8rem;


  border-radius: 999px;


  cursor: pointer;


  transition: all var(--transition);


  box-shadow: 0 2px 10px rgba(74,124,255,0.35);


}


.draw-submit:hover { background: #5a8bff; }


.draw-submit:disabled { opacity: 0.6; cursor: not-allowed; }





.draw-submit-status {


  position: absolute;


  bottom: 12px;


  left: 0; right: 0;


  text-align: center;


  font-size: 0.72rem;


  font-weight: 400;


  letter-spacing: 0.04em;


  pointer-events: none;


  opacity: 0;


  transition: opacity 0.3s;


}


.draw-submit-status.success { color: rgba(74,200,160,0.9); opacity: 1; }


.draw-submit-status.error   { color: rgba(233,100,100,0.8); opacity: 1; }





/* =============================================


   GALLERY PAGE


   ============================================= */


.gallery-section { max-width: 1200px; }





.gallery-loading {


  display: flex;


  align-items: center;


  gap: 1rem;


  color: var(--text-muted);


  font-size: 0.9rem;


  padding: 4rem 0;


}


.gallery-empty, .gallery-error {


  padding: 4rem 0;


  color: var(--text-muted);


  font-size: 0.9rem;


}


.gallery-empty a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }





.gallery-grid {


  display: grid;


  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));


  gap: 1rem;


}


.gallery-item {


  position: relative;


  border-radius: var(--radius);


  overflow: hidden;


  background: var(--bg-card);


  border: 1px solid var(--border-soft);


  aspect-ratio: 1;


  cursor: pointer;


  transition: transform var(--transition), border-color var(--transition);


}


.gallery-item:hover {


  transform: translateY(-3px);


  border-color: rgba(74,124,255,0.3);


}


.gallery-item img {


  width: 100%; height: 100%;


  object-fit: contain;


  padding: 0.5rem;


  display: block;


}


.gallery-item-overlay {


  position: absolute;


  inset: 0;


  background: rgba(14,20,36,0.7);


  display: flex;


  align-items: flex-end;


  padding: 0.75rem;


  opacity: 0;


  transition: opacity var(--transition);


}


.gallery-item:hover .gallery-item-overlay { opacity: 1; }


.gallery-item-overlay span {


  font-size: 0.65rem;


  font-weight: 500;


  letter-spacing: 0.1em;


  text-transform: uppercase;


  color: var(--text-muted);


}





/* Lightbox */


.lightbox {


  position: fixed;


  inset: 0;


  background: rgba(10,14,26,0.92);


  backdrop-filter: blur(12px);


  z-index: 999;


  display: none;


  align-items: center;


  justify-content: center;


  flex-direction: column;


  gap: 1rem;


  padding: 2rem;


}


.lightbox.open { display: flex; }


.lightbox img {


  max-width: min(700px, 90vw);


  max-height: 70vh;


  object-fit: contain;


  border-radius: var(--radius);


  border: 1px solid var(--border-soft);


}


.lightbox-close {


  position: absolute;


  top: 1.5rem; right: 1.5rem;


  background: rgba(255,255,255,0.06);


  border: 1px solid var(--border);


  color: var(--text-muted);


  width: 36px; height: 36px;


  border-radius: 50%;


  font-size: 0.9rem;


  cursor: pointer;


  display: flex;


  align-items: center;


  justify-content: center;


  transition: all var(--transition);


}


.lightbox-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }


.lightbox-date {


  font-size: 0.72rem;


  font-weight: 500;


  letter-spacing: 0.1em;


  text-transform: uppercase;


  color: var(--text-dim);


}





/* =============================================


   CHAT PAGE


   ============================================= */


.chat-section {


  max-width: 760px;


  padding-top: 3rem;


  padding-bottom: 3rem;


}





/* Nick gate */


.chat-nick-gate {


  display: flex;


  flex-direction: column;


  gap: 1rem;


  max-width: 400px;


}


.chat-nick-gate h2 {


  font-family: var(--font-display);


  font-size: 1.4rem;


  font-weight: 300;


}


.chat-nick-gate p {


  font-size: 0.85rem;


  color: var(--text-muted);


  font-weight: 300;


}


.chat-nick-row {


  display: flex;


  gap: 0.75rem;


}


.chat-nick-input {


  flex: 1;


  background: var(--bg-card);


  border: 1px solid var(--border);


  border-radius: 8px;


  color: var(--text);


  font-family: var(--font-body);


  font-size: 0.9rem;


  padding: 0.7rem 1rem;


  outline: none;


  transition: border-color var(--transition);


}


.chat-nick-input:focus { border-color: rgba(74,124,255,0.4); }


.chat-nick-input::placeholder { color: var(--text-dim); }


.chat-nick-error {


  font-size: 0.75rem;


  color: rgba(233,100,100,0.8);


  min-height: 1rem;


}





/* Chat room */


.chat-room { display: none; flex-direction: column; gap: 0; height: 70vh; }


.chat-room.active { display: flex; }





.chat-header {


  display: flex;


  align-items: center;


  justify-content: space-between;


  padding-bottom: 1rem;


  border-bottom: 1px solid var(--border-soft);


  margin-bottom: 0;


  flex-shrink: 0;


}


.chat-header-left { display: flex; align-items: center; gap: 0.75rem; }


.chat-you {


  font-size: 0.78rem;


  color: var(--text-muted);


}


.chat-you strong { color: var(--accent-2); }


.chat-online {


  display: flex;


  align-items: center;


  gap: 0.4rem;


  font-size: 0.7rem;


  color: var(--text-dim);


  letter-spacing: 0.06em;


}


.chat-online-dot {


  width: 6px; height: 6px;


  background: #4ec8a0;


  border-radius: 50%;


  animation: pulse-dot 2s ease infinite;


}


@keyframes pulse-dot {


  0%, 100% { opacity: 1; }


  50% { opacity: 0.4; }


}


.chat-leave {


  background: transparent;


  border: 1px solid var(--border);


  color: var(--text-dim);


  font-family: var(--font-body);


  font-size: 0.7rem;


  padding: 0.3rem 0.8rem;


  border-radius: 999px;


  cursor: pointer;


  transition: all var(--transition);


}


.chat-leave:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }





/* Messages */


.chat-messages {


  flex: 1;


  overflow-y: auto;


  padding: 1.25rem 0;


  display: flex;


  flex-direction: column;


  gap: 0.1rem;


  scrollbar-width: thin;


  scrollbar-color: var(--border) transparent;


}


.chat-messages::-webkit-scrollbar { width: 3px; }


.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }





.chat-msg {


  display: flex;


  flex-direction: column;


  padding: 0.35rem 0;


  animation: fadeUp 0.2s ease both;


}


.chat-msg-meta {


  display: flex;


  align-items: baseline;


  gap: 0.6rem;


  margin-bottom: 0.15rem;


}


.chat-msg-nick {


  font-size: 0.75rem;


  font-weight: 600;


  color: var(--accent-2);


  letter-spacing: 0.02em;


}


.chat-msg-nick.is-you { color: #4ec8a0; }


.chat-msg-time {


  font-size: 0.62rem;


  color: var(--text-dim);


  letter-spacing: 0.05em;


}


.chat-msg-text {


  font-size: 0.9rem;


  color: var(--text);


  font-weight: 300;


  line-height: 1.6;


  word-break: break-word;


}





.chat-system {


  text-align: center;


  font-size: 0.68rem;


  color: var(--text-dim);


  letter-spacing: 0.08em;


  padding: 0.5rem 0;


  font-style: italic;


}





.chat-date-divider {


  text-align: center;


  font-size: 0.65rem;


  color: var(--text-dim);


  letter-spacing: 0.1em;


  text-transform: uppercase;


  padding: 0.75rem 0 0.25rem;


  position: relative;


}


.chat-date-divider::before,


.chat-date-divider::after {


  content: '';


  position: absolute;


  top: 50%;


  width: 30%;


  height: 1px;


  background: var(--border-soft);


}


.chat-date-divider::before { left: 0; }


.chat-date-divider::after  { right: 0; }





/* Input bar */


.chat-input-bar {


  display: flex;


  gap: 0.75rem;


  align-items: flex-end;


  padding-top: 1rem;


  border-top: 1px solid var(--border-soft);


  flex-shrink: 0;


}


.chat-input {


  flex: 1;


  background: var(--bg-card);


  border: 1px solid var(--border);


  border-radius: 12px;


  color: var(--text);


  font-family: var(--font-body);


  font-size: 0.9rem;


  font-weight: 300;


  padding: 0.7rem 1rem;


  outline: none;


  resize: none;


  line-height: 1.5;


  max-height: 120px;


  transition: border-color var(--transition);


  scrollbar-width: none;


}


.chat-input::-webkit-scrollbar { display: none; }


.chat-input:focus { border-color: rgba(74,124,255,0.4); }


.chat-input::placeholder { color: var(--text-dim); }


.chat-send {


  background: var(--accent);


  border: none;


  color: #fff;


  font-family: var(--font-body);


  font-size: 0.8rem;


  font-weight: 500;


  padding: 0.7rem 1.25rem;


  border-radius: 12px;


  cursor: pointer;


  transition: all var(--transition);


  flex-shrink: 0;


  box-shadow: 0 4px 14px rgba(74,124,255,0.3);


  align-self: flex-end;


}


.chat-send:hover { background: #5a8bff; transform: translateY(-1px); }


.chat-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }





.chat-error {


  font-size: 0.75rem;


  color: rgba(233,100,100,0.8);


  padding: 0.25rem 0;


  min-height: 1rem;


}





@media (max-width: 680px) {


  .chat-room { height: 65vh; }


  .chat-nick-row { flex-direction: column; }


}





/* =============================================


   DRAW CANVAS — title input


   ============================================= */


.draw-title-wrap {


  position: absolute;


  bottom: 10px;


  left: 12px;


  right: 12px;


  opacity: 0;


  pointer-events: none;


  transition: opacity 0.3s ease;


}


.draw-title-wrap.visible {


  opacity: 1;


  pointer-events: all;


}


.draw-title-input {


  width: 100%;


  background: rgba(10, 14, 26, 0.72);


  border: 1px solid rgba(255,255,255,0.1);


  border-radius: 8px;


  color: var(--text);


  font-family: var(--font-body);


  font-size: 1.28rem;


  font-style: italic;


  padding: 0.45rem 0.85rem;


  outline: none;


  transition: border-color var(--transition), background var(--transition);


  backdrop-filter: blur(6px);


}


.draw-title-input::placeholder { color: rgba(255,255,255,0.22); }


.draw-title-input:focus {


  border-color: rgba(74,124,255,0.35);


  background: rgba(10,14,26,0.85);


}





/* Push submit-status above title input */


.draw-submit-status {


  bottom: 56px;


}





/* =============================================


   GALLERY — title under drawing


   ============================================= */


.gallery-grid {


  align-items: start;


}


.gallery-item-wrap {


  display: flex;


  flex-direction: column;


  gap: 0.4rem;


}


.gallery-item-title {


  font-size: 1.28rem;


  font-style: italic;


  font-weight: 300;


  color: var(--text-muted);


  text-align: center;


  padding: 0 0.25rem;


  line-height: 1.4;


}





/* Lightbox title */


.lightbox-title {


  font-family: var(--font-display);


  font-size: 1rem;


  font-weight: 300;


  font-style: italic;


  color: var(--text);


  text-align: center;


  margin-bottom: -0.25rem;


}