/* LABATERRE — Bauhaus-led dark earth visual system */

:root {
  --black: #111819;
  --charcoal: #182122;
  --earth: #242f2c;
  --olive-deep: #303a2c;
  --olive: #66724f;
  --olive-soft: #8b936a;
  --blue: #263642;
  --bluegray: #526574;
  --bluegray-soft: #72808a;
  --terracotta-dark: #8d442f;
  --terracotta: #c65f42;
  --terracotta-soft: #dc8f6f;
  --sand: #d4c09c;
  --cream: #efe2c9;
  --cream-soft: #f7ead2;

  --text: #efe2c9;
  --muted: rgba(239, 226, 201, 0.72);
  --muted-soft: rgba(239, 226, 201, 0.56);
  --line: rgba(239, 226, 201, 0.16);
  --line-strong: rgba(239, 226, 201, 0.28);
  --panel: rgba(239, 226, 201, 0.075);
  --panel-strong: rgba(239, 226, 201, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);

  --radius-xl: 28px;
  --radius-lg: 18px;
  --max: 1160px;
  --app-max: 1440px;
  --header-height: 66px;
  --app-title-height: 82px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--black);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, rgba(198, 95, 66, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(102, 114, 79, 0.28), transparent 32%),
    radial-gradient(circle at 74% 82%, rgba(82, 101, 116, 0.24), transparent 30%),
    linear-gradient(135deg, #111819 0%, #242f2c 47%, #263642 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(0deg, rgba(239, 226, 201, 0.07) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(239, 226, 201, 0.045) 0 1px, transparent 1px 28px);
  mix-blend-mode: screen;
}

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

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

.site-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(17, 24, 25, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--cream);
}

.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.32);
  background: #050608;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(239, 226, 201, 0.72);
  font-size: 0.92rem;
  transition: 180ms ease;
}

.nav-links a:hover {
  color: var(--cream-soft);
  background: rgba(239, 226, 201, 0.09);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(239, 226, 201, 0.08);
  color: var(--cream);
  border-radius: 999px;
  padding: 10px 13px;
  cursor: pointer;
}

main {
  overflow: hidden;
}

.section-shell {
  position: relative;
  overflow: hidden;
}

.section-shell::before,
.section-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 22px;
}

.eyebrow,
.section-kicker {
  color: var(--terracotta-soft);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.65vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 760px;
  color: var(--cream);
  margin-bottom: 20px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
  max-width: 760px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--cream);
  background: var(--terracotta-dark);
  box-shadow: 0 14px 34px rgba(141, 68, 47, 0.3);
}

.button-secondary {
  color: var(--cream);
  border-color: rgba(239, 226, 201, 0.24);
  background: rgba(239, 226, 201, 0.08);
}

.button-secondary:hover {
  background: rgba(239, 226, 201, 0.14);
}

/* HOME */

.hero-shell {
  min-height: calc(100vh - var(--header-height));
  background:
    linear-gradient(130deg, rgba(17, 24, 25, 0.84) 0 42%, rgba(38, 54, 66, 0.86) 42% 63%, rgba(48, 58, 44, 0.86) 63% 100%);
}

.hero-shell::before {
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(198, 95, 66, 0.38);
  left: -130px;
  top: 120px;
}

.hero-shell::after {
  inset: -80px;
  background:
    repeating-radial-gradient(ellipse at 15% 60%, transparent 0 27px, rgba(239, 226, 201, 0.09) 28px 29px),
    repeating-radial-gradient(ellipse at 90% 22%, transparent 0 31px, rgba(239, 226, 201, 0.08) 32px 33px),
    linear-gradient(125deg, transparent 0 58%, rgba(198, 95, 66, 0.17) 58% 62%, transparent 62% 100%);
  opacity: 0.95;
  transform: rotate(-5deg);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.hero-logo-panel {
  min-height: 430px;
  border-radius: 38px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(120deg, rgba(48, 58, 44, 0.82) 0 34%, rgba(38, 54, 66, 0.86) 34% 70%, rgba(17, 24, 25, 0.78) 70% 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-logo-panel::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  right: -72px;
  top: 58px;
  background: rgba(198, 95, 66, 0.34);
}

.hero-logo-panel::after {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    repeating-radial-gradient(ellipse at 18% 78%, transparent 0 24px, rgba(239, 226, 201, 0.1) 25px 26px),
    linear-gradient(135deg, transparent 0 68%, rgba(239, 226, 201, 0.12) 68% 70%, transparent 70% 100%);
  opacity: 0.86;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(70%, 320px);
  border-radius: 28px;
  background: #060709;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.poster-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.poster-shape.triangle {
  left: 42px;
  top: 42px;
  width: 0;
  height: 0;
  border-left: 54px solid transparent;
  border-right: 54px solid transparent;
  border-bottom: 90px solid rgba(82, 101, 116, 0.82);
  transform: rotate(-28deg);
}

.poster-shape.circle {
  right: 62px;
  bottom: 62px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--terracotta);
}

.poster-shape.bars {
  left: 58px;
  bottom: 62px;
  width: 130px;
  height: 110px;
  background:
    linear-gradient(90deg, rgba(198, 95, 66, 0.75) 0 12px, transparent 12px 24px, rgba(239, 226, 201, 0.55) 24px 32px, transparent 32px 45px, rgba(102, 114, 79, 0.72) 45px 60px, transparent 60px);
  opacity: 0.78;
}

.hero-content {
  position: relative;
}

.hero-content::after {
  content: "♪";
  position: absolute;
  right: 12px;
  bottom: -48px;
  color: rgba(198, 95, 66, 0.36);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7rem);
  transform: rotate(-8deg);
  pointer-events: none;
}

.logo-word {
  font-family: Georgia, "Times New Roman", serif;
  white-space: nowrap;
  width: min(100%, 860px);
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  margin-bottom: 20px;
}

/* Plain written title: no accent. The accent exists only inside the logo image. */
.logo-word {
  color: var(--cream);
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(1.85rem, 3.4vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  color: var(--cream);
}

.hero-copy {
  max-width: 630px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.72;
}

.hero-copy strong {
  color: var(--cream-soft);
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.feature-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(48, 58, 44, 0.66);
}

.feature-strip .section {
  padding-top: 26px;
  padding-bottom: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 78px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 226, 201, 0.26);
  color: var(--terracotta-soft);
  font-size: 1.4rem;
}

.feature-item h3 {
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.about-shell {
  background:
    linear-gradient(110deg, rgba(48, 58, 44, 0.92) 0 48%, rgba(38, 54, 66, 0.92) 48% 100%);
}

.about-shell::before {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(239, 226, 201, 0.12);
  left: 42%;
  top: 70px;
  box-shadow: 0 0 0 48px rgba(198, 95, 66, 0.06);
}

.about-shell::after {
  width: 260px;
  height: 82px;
  border-radius: 999px;
  background: rgba(198, 95, 66, 0.16);
  left: -90px;
  bottom: 70px;
  transform: rotate(-8deg);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
}

.glass-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
}

.about-text p {
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 16px;
}

.about-art {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 38%, rgba(198, 95, 66, 0.34), transparent 23%),
    linear-gradient(135deg, rgba(82, 101, 116, 0.22), rgba(48, 58, 44, 0.16)),
    var(--panel);
}

.about-art::before {
  content: "";
  position: absolute;
  inset: -50px;
  background:
    repeating-radial-gradient(ellipse at 76% 56%, transparent 0 22px, rgba(239, 226, 201, 0.1) 23px 24px);
  transform: rotate(-8deg);
}

.face-stack {
  position: absolute;
  left: 80px;
  bottom: 58px;
  width: 260px;
  height: 220px;
}

.face {
  position: absolute;
  width: 118px;
  height: 178px;
  border-radius: 50% 44% 42% 50%;
  background: rgba(239, 226, 201, 0.62);
  clip-path: polygon(20% 0, 78% 0, 92% 30%, 78% 44%, 94% 58%, 78% 100%, 24% 100%, 14% 72%, 22% 58%, 12% 42%, 20% 28%);
}

.face.one { left: 0; background: rgba(239, 226, 201, 0.62); }
.face.two { left: 58px; background: rgba(102, 114, 79, 0.68); }
.face.three { left: 116px; background: rgba(198, 95, 66, 0.68); }

.projects-shell {
  background:
    linear-gradient(125deg, rgba(24, 33, 34, 0.98) 0 38%, rgba(38, 54, 66, 0.98) 38% 100%);
}

.projects-shell::before {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(198, 95, 66, 0.28);
  right: -120px;
  top: 90px;
}

.projects-shell::after {
  inset: -80px;
  background:
    repeating-radial-gradient(ellipse at 86% 60%, transparent 0 26px, rgba(239, 226, 201, 0.08) 27px 28px),
    linear-gradient(135deg, transparent 0 68%, rgba(198, 95, 66, 0.2) 68% 72%, transparent 72% 100%);
  opacity: 0.9;
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 18px;
  margin-top: 30px;
}

.project-main {
  min-height: 320px;
}

.project-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--cream);
  margin-bottom: 20px;
}

.project-main p,
.project-side li {
  color: var(--muted);
  line-height: 1.7;
}

.project-side ul {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.project-side li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.join-shell {
  background:
    linear-gradient(120deg, rgba(48, 58, 44, 0.96) 0 54%, rgba(82, 101, 116, 0.94) 54% 100%);
}

.join-shell::before {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(102, 114, 79, 0.28);
  left: -120px;
  top: 70px;
}

.join-shell::after {
  width: 260px;
  height: 78px;
  border-radius: 999px;
  background: rgba(198, 95, 66, 0.24);
  right: -72px;
  bottom: 80px;
  transform: rotate(-8deg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 23px;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--panel-strong);
  border-color: rgba(239, 226, 201, 0.3);
}

.card .tag {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(198, 95, 66, 0.18);
  color: var(--terracotta-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.26rem;
  color: var(--cream);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  line-height: 1.66;
  margin-bottom: 20px;
}

.card-link {
  color: var(--terracotta-soft);
  font-weight: 900;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.members-shell {
  background:
    linear-gradient(115deg, rgba(47, 58, 44, 0.96) 0 38%, rgba(38, 54, 66, 0.95) 38% 100%);
}

.members-shell::before {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(239, 226, 201, 0.13);
  left: -130px;
  top: 80px;
}

.members-shell::after {
  right: 8vw;
  bottom: 80px;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 160px solid rgba(141, 68, 47, 0.34);
  transform: rotate(-18deg);
}

.members-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  margin-top: 30px;
}

.members-note h3 {
  color: var(--cream);
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.members-note p {
  color: var(--muted);
  line-height: 1.78;
}

.tool-list {
  display: grid;
  gap: 14px;
}

.tool-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: 180ms ease;
}

.tool-item:hover {
  transform: translateY(-3px);
  background: var(--panel-strong);
  border-color: rgba(239, 226, 201, 0.3);
}

.tool-item h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
  color: var(--cream);
}

.tool-item p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.mini-button {
  white-space: nowrap;
  color: var(--cream);
  background: var(--terracotta-dark);
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.88rem;
}

.contact-shell {
  background:
    linear-gradient(125deg, rgba(24, 33, 34, 0.98) 0 48%, rgba(38, 54, 66, 0.96) 48% 100%);
}

.contact-shell::before {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(198, 95, 66, 0.24);
  right: -80px;
  top: 100px;
}

.contact-shell::after {
  width: 360px;
  height: 110px;
  border-radius: 999px;
  background: rgba(102, 114, 79, 0.22);
  left: 10vw;
  bottom: 70px;
  transform: rotate(7deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.contact-card h3 {
  font-size: 1.16rem;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.contact-card p,
.contact-card a {
  color: var(--muted);
  line-height: 1.78;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  font-weight: 850;
}

.contact-list span {
  color: var(--muted);
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 22px;
  color: var(--muted);
  background: rgba(17, 24, 25, 0.94);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-logo {
  color: var(--cream);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* WRAPPER APP PAGES */

body.app-body,
html.app-html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.app-body {
  background:
    radial-gradient(circle at 8% 8%, rgba(82, 101, 116, 0.32), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(102, 114, 79, 0.28), transparent 32%),
    radial-gradient(circle at 78% 86%, rgba(198, 95, 66, 0.18), transparent 30%),
    linear-gradient(135deg, #111819 0%, #263642 46%, #303a2c 100%);
}

.app-page {
  height: 100vh;
  display: grid;
  grid-template-rows: var(--header-height) var(--app-title-height) 1fr;
}

.app-header {
  height: var(--header-height);
  backdrop-filter: blur(18px);
  background: rgba(17, 24, 25, 0.88);
  border-bottom: 1px solid var(--line);
}

.app-nav {
  height: 100%;
  max-width: var(--app-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(239, 226, 201, 0.08);
  color: var(--cream);
  font-weight: 800;
  font-size: 0.9rem;
  transition: 180ms ease;
  white-space: nowrap;
}

.nav-button:hover {
  background: rgba(239, 226, 201, 0.14);
  transform: translateY(-1px);
}

.nav-button.primary {
  background: var(--terracotta-dark);
  border-color: rgba(220, 143, 111, 0.45);
}

.app-title-bar {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(82, 101, 116, 0.28), transparent 45%),
    rgba(239, 226, 201, 0.06);
}

.app-title-bar::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 78px;
  border-radius: 999px;
  right: 8%;
  top: -32px;
  background: rgba(198, 95, 66, 0.24);
  transform: rotate(-8deg);
  pointer-events: none;
}

.app-title-bar::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  left: 52%;
  bottom: -48px;
  background: rgba(102, 114, 79, 0.24);
  pointer-events: none;
}

.app-title-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: var(--app-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.app-title-copy {
  min-width: 0;
}

.app-title-copy h1 {
  color: var(--cream);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-title-note {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: right;
  max-width: 520px;
  line-height: 1.45;
}

.frame-area {
  min-height: 0;
  padding: 14px;
}

.frame-shell {
  position: relative;
  height: 100%;
  max-width: var(--app-max);
  margin: 0 auto;
  border-radius: 24px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(82, 101, 116, 0.2), rgba(102, 114, 79, 0.16)),
    rgba(239, 226, 201, 0.08);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.frame-shell::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  right: -120px;
  top: -140px;
  background: rgba(82, 101, 116, 0.22);
  pointer-events: none;
}

.frame-shell::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 82px;
  border-radius: 999px;
  left: -100px;
  bottom: 46px;
  background: rgba(198, 95, 66, 0.16);
  transform: rotate(-8deg);
  pointer-events: none;
}

iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
  background: white;
  display: block;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero-grid,
  .about-layout,
  .project-layout,
  .members-layout,
  .contact-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content::after {
    right: 50%;
    transform: translateX(50%) rotate(-8deg);
    bottom: -62px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo-panel {
    min-height: 370px;
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 20px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 60px;
    --app-title-height: 108px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(17, 24, 25, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
  }

  .brand-mini span {
    display: none;
  }

  .nav,
  .app-nav {
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-logo-panel {
    min-height: 320px;
    border-radius: 30px;
  }

  .hero-logo {
    width: min(72%, 250px);
    border-radius: 22px;
  }

  .logo-word {
    font-size: clamp(2.35rem, 12vw, 4.6rem);
    letter-spacing: -0.04em;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 8vw, 2.35rem);
  }

  .section-title {
    font-size: clamp(1.45rem, 7vw, 2.25rem);
  }

  .glass-panel,
  .card {
    padding: 24px;
  }

  .tool-item {
    grid-template-columns: 1fr;
  }

  .mini-button {
    width: fit-content;
  }

  .contact-list a {
    flex-direction: column;
    gap: 2px;
  }

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

  .nav-actions {
    gap: 7px;
  }

  .nav-button {
    padding: 8px 11px;
    font-size: 0.82rem;
  }

  .app-title-inner {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 12px;
    gap: 8px;
  }

  .app-title-copy h1 {
    white-space: normal;
  }

  .app-title-note {
    text-align: left;
    font-size: 0.86rem;
  }

  .frame-area {
    padding: 8px;
  }

  .frame-shell {
    border-radius: 18px;
    padding: 7px;
  }

  iframe {
    border-radius: 13px;
  }
}


/* --- Refined version: lighter titles and single wide about panel --- */

.hero h1 {
  font-size: clamp(1.55rem, 2.75vw, 2.55rem);
  max-width: 620px;
}

.section-title {
  font-size: clamp(1.55rem, 2.9vw, 2.55rem);
  max-width: 720px;
}

.project-title {
  font-size: clamp(2.15rem, 4.4vw, 4.15rem);
}

.logo-word {
  font-size: clamp(2.6rem, 6.4vw, 5.8rem);
}

.about-layout-single {
  display: block;
}

.about-text-wide {
  max-width: 100%;
  min-height: auto;
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(239, 224, 200, 0.13), rgba(239, 224, 200, 0.075)),
    rgba(239, 224, 200, 0.08);
}

.about-text-wide .section-title {
  max-width: 760px;
  margin-bottom: 24px;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 70px);
  max-width: 980px;
}

.about-columns p {
  margin-bottom: 0;
}

.about-shell {
  background:
    linear-gradient(90deg, rgba(79, 97, 112, 0.24) 0 22%, transparent 22% 100%),
    linear-gradient(135deg, #2f3d36, #3f4d42);
}

.about-shell::before {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(104, 120, 76, 0.24);
  right: -120px;
  top: 40px;
}

.about-shell::after {
  left: -80px;
  bottom: 52px;
  width: 260px;
  height: 82px;
  border-radius: 999px;
  background: rgba(200, 107, 77, 0.20);
  transform: rotate(-8deg);
  border: 0;
}

.card h3,
.tool-item h3,
.contact-card h3,
.members-note h3 {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

@media (max-width: 760px) {
  .logo-word {
    font-size: clamp(2.2rem, 11vw, 4.2rem);
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-text-wide {
    padding: 24px;
  }
}

/* Content-editable version helpers */
.cards-grid:empty,.tool-list:empty{min-height:1px;}


/* Hero wordmark color treatment:
   LAB = terracotta, A = cream, TERRE = olive.
   No accent on A. */
.logo-word-colored {
  color: var(--cream);
}

.logo-word-colored .word-lab {
  color: var(--terracotta);
}

.logo-word-colored .word-a {
  color: var(--cream-soft);
}

.logo-word-colored .word-terre {
  color: var(--olive-soft);
}


/* LILITH+ poster image */
.project-poster-wrap {
  margin-top: 28px;
  width: min(100%, 360px);
}

.project-poster {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(239, 226, 201, 0.22);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  object-fit: cover;
  background: rgba(239, 226, 201, 0.08);
  display: block;
}

@media (max-width: 760px) {
  .project-poster-wrap {
    width: 100%;
  }
}


/* Warm contact section override:
   Replace the cooler blue-heavy contact area with terracotta + olive tones. */
.contact-shell {
  background:
    linear-gradient(90deg, rgba(200, 107, 77, 0.18) 0 18%, transparent 18% 100%),
    linear-gradient(135deg, #3f4d36 0%, #4f5639 48%, #8f4533 100%);
}

.contact-shell::before {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(200, 107, 77, 0.30);
  right: -82px;
  top: 90px;
}

.contact-shell::after {
  width: 390px;
  height: 116px;
  border-radius: 999px;
  background: rgba(104, 120, 76, 0.30);
  left: 8vw;
  bottom: 64px;
  transform: rotate(7deg);
}

.contact-card {
  background:
    linear-gradient(145deg, rgba(239, 224, 200, 0.14), rgba(239, 224, 200, 0.07)),
    rgba(63, 77, 54, 0.28);
}

.contact-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(200, 107, 77, 0.16), rgba(239, 224, 200, 0.07)),
    rgba(63, 77, 54, 0.22);
}

.contact-list a {
  border-bottom-color: rgba(239, 224, 200, 0.22);
}

.contact-list span {
  color: rgba(239, 224, 200, 0.74);
}


/* Warm join section override:
   Replace the blue-grey feeling in “Νέες Εγγραφές 2026–2027” with terracotta. */
.join-shell {
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(200, 107, 77, 0.28) 58% 100%),
    linear-gradient(135deg, #3f4d36 0%, #7d4b35 54%, #9b4935 100%);
}

.join-shell::before {
  width: 250px;
  height: 78px;
  border-radius: 999px;
  background: rgba(200, 107, 77, 0.34);
  left: -80px;
  top: 120px;
  transform: rotate(-8deg);
}

.join-shell::after {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(200, 107, 77, 0.34);
  right: 10vw;
  bottom: 80px;
}

.join-shell .card {
  background:
    linear-gradient(145deg, rgba(239, 224, 200, 0.13), rgba(239, 224, 200, 0.07)),
    rgba(123, 73, 52, 0.26);
}

.join-shell .card:hover {
  background:
    linear-gradient(145deg, rgba(239, 224, 200, 0.17), rgba(239, 224, 200, 0.09)),
    rgba(155, 73, 53, 0.32);
}

.join-shell .card .tag {
  background: rgba(200, 107, 77, 0.24);
  color: var(--terracotta-soft);
}

.join-shell .card-link {
  color: var(--terracotta-soft);
}


/* ---------------------------------------------------------
   LABATERRE refined background direction
   Base: 01 Soft Bauhaus Blocks
   Projects/LILITH+: 03 Paper Cutouts
   Featured project atmosphere: subtle 04 Stage Light
   Removes the fine topographic / millimeter-like line feeling.
--------------------------------------------------------- */

/* Overall page background: no repeating radial/topographic lines */
body::after {
  opacity: 0.12;
  background-image:
    linear-gradient(90deg, rgba(239, 226, 201, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(239, 226, 201, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mix-blend-mode: screen;
}

/* HOME / HERO — Soft Bauhaus Blocks */
.hero-shell {
  background:
    radial-gradient(circle at 12% 16%, rgba(101, 116, 79, 0.34), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(82, 101, 116, 0.32), transparent 32%),
    linear-gradient(135deg, #111819 0%, #263642 42%, #303a2c 78%, #182122 100%);
}

.hero-shell::before {
  width: min(48vw, 540px);
  height: min(48vw, 540px);
  border-radius: 50%;
  left: -180px;
  top: 78px;
  background: rgba(101, 116, 79, 0.34);
  box-shadow:
    78vw 12vh 0 -190px rgba(82, 101, 116, 0.34),
    72vw 62vh 0 -210px rgba(196, 105, 77, 0.26);
  mix-blend-mode: normal;
  opacity: 1;
}

.hero-shell::after {
  width: auto;
  height: auto;
  inset: 0;
  left: 0;
  bottom: auto;
  transform: none;
  opacity: 0.92;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(82, 101, 116, 0.22) 18% 34%, transparent 34% 100%),
    linear-gradient(135deg, transparent 0 62%, rgba(196, 105, 77, 0.20) 62% 70%, transparent 70% 100%),
    linear-gradient(90deg, transparent 0 8%, rgba(239, 226, 201, 0.055) 8% 10%, transparent 10% 100%);
}

/* Hero logo panel: cleaner blocks instead of line texture */
.hero-logo-panel {
  background:
    linear-gradient(120deg, rgba(82, 101, 116, 0.26) 0 34%, transparent 34% 100%),
    linear-gradient(135deg, rgba(101, 116, 79, 0.22), rgba(196, 105, 77, 0.12)),
    rgba(239, 226, 201, 0.08);
}

.hero-logo-panel::after {
  inset: 0;
  opacity: 0.85;
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(239, 226, 201, 0.075) 58% 60%, transparent 60% 100%),
    linear-gradient(90deg, transparent 0 18%, rgba(82, 101, 116, 0.16) 18% 30%, transparent 30% 100%);
}

/* ABOUT — soft blocks, no contour lines */
.about-shell {
  background:
    radial-gradient(circle at 12% 18%, rgba(101, 116, 79, 0.24), transparent 30%),
    linear-gradient(135deg, #2f3d36 0%, #3f4d42 48%, #263642 100%);
}

.about-shell::before {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(82, 101, 116, 0.24);
  right: -100px;
  top: 46px;
  box-shadow: -76vw 30vh 0 -180px rgba(196, 105, 77, 0.20);
}

.about-shell::after {
  left: -80px;
  bottom: 52px;
  width: 280px;
  height: 86px;
  border-radius: 999px;
  background: rgba(196, 105, 77, 0.20);
  transform: rotate(-8deg);
  border: 0;
}

/* PROJECTS — Paper Cutouts */
.projects-shell {
  background:
    radial-gradient(circle at 84% 18%, rgba(196, 105, 77, 0.20), transparent 28%),
    linear-gradient(135deg, #111819 0%, #303a2c 48%, #263642 100%);
}

.projects-shell::before {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -190px;
  top: -150px;
  background:
    radial-gradient(circle at center, rgba(196, 105, 77, 0.38) 0 24%, transparent 24.4%),
    radial-gradient(circle at center, rgba(82, 101, 116, 0.36) 0 54%, transparent 54.4%);
  opacity: 1;
}

.projects-shell::after {
  inset: 0;
  width: auto;
  height: auto;
  left: 0;
  bottom: auto;
  opacity: 0.95;
  transform: none;
  background:
    linear-gradient(120deg, transparent 0 14%, rgba(239, 226, 201, 0.095) 14% 18%, transparent 18% 100%),
    linear-gradient(135deg, transparent 0 68%, rgba(101, 116, 79, 0.24) 68% 84%, transparent 84% 100%),
    linear-gradient(110deg, transparent 0 58%, rgba(196, 105, 77, 0.12) 58% 62%, transparent 62% 100%);
}

/* Featured LILITH+ panel — subtle Stage Light feeling */
.project-main {
  background:
    conic-gradient(from 220deg at 18% 86%, rgba(196, 105, 77, 0.18), transparent 22%, rgba(82, 101, 116, 0.17), transparent 58%, rgba(101, 116, 79, 0.18), transparent 100%),
    linear-gradient(145deg, rgba(239, 226, 201, 0.13), rgba(239, 226, 201, 0.065)),
    rgba(17, 24, 25, 0.20);
}

/* JOIN — keep terracotta direction but cleaner blocks */
.join-shell {
  background:
    radial-gradient(circle at 76% 18%, rgba(196, 105, 77, 0.22), transparent 32%),
    linear-gradient(135deg, #3f4d36 0%, #7d4b35 54%, #9b4935 100%);
}

.join-shell::before {
  width: 320px;
  height: 96px;
  border-radius: 999px;
  background: rgba(196, 105, 77, 0.27);
  left: -110px;
  top: 104px;
  transform: rotate(-8deg);
}

.join-shell::after {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(82, 101, 116, 0.18);
  right: -80px;
  bottom: 54px;
}

/* MEMBERS — soft woven/block feel, no topographic curves */
.members-shell {
  background:
    radial-gradient(circle at 12% 14%, rgba(101, 116, 79, 0.26), transparent 30%),
    linear-gradient(115deg, rgba(47, 58, 44, 0.96) 0 38%, rgba(38, 54, 66, 0.95) 38% 100%);
}

.members-shell::before {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(239, 226, 201, 0.10);
  left: -140px;
  top: 74px;
}

.members-shell::after {
  right: 6vw;
  bottom: 72px;
  width: 0;
  height: 0;
  border-left: 96px solid transparent;
  border-right: 96px solid transparent;
  border-bottom: 150px solid rgba(141, 68, 47, 0.30);
  transform: rotate(-16deg);
}

/* CONTACT — warm terracotta + olive, cleaner shapes */
.contact-shell {
  background:
    radial-gradient(circle at 12% 14%, rgba(101, 116, 79, 0.24), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(196, 105, 77, 0.24), transparent 32%),
    linear-gradient(135deg, #3f4d36 0%, #4f5639 48%, #8f4533 100%);
}

.contact-shell::before {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(196, 105, 77, 0.26);
  right: -92px;
  top: 82px;
}

.contact-shell::after {
  width: 390px;
  height: 116px;
  border-radius: 999px;
  background: rgba(101, 116, 79, 0.27);
  left: 8vw;
  bottom: 64px;
  transform: rotate(7deg);
}

/* Wrapper app pages — remove fine line feel too */
body.app-body::after {
  opacity: 0.10;
  background-image:
    linear-gradient(90deg, rgba(239, 226, 201, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(239, 226, 201, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
}

.app-title-bar {
  background:
    linear-gradient(120deg, rgba(82, 101, 116, 0.24) 0 34%, transparent 34% 100%),
    linear-gradient(135deg, rgba(196, 105, 77, 0.10), rgba(101, 116, 79, 0.13)),
    rgba(239, 226, 201, 0.055);
}

.frame-shell {
  background:
    linear-gradient(135deg, rgba(82, 101, 116, 0.18), rgba(101, 116, 79, 0.14)),
    rgba(239, 226, 201, 0.08);
}


/* ---------------------------------------------------------
   LABATERRE Text Contrast Refine
   Keep titles as they are. Improve readability of descriptions.
--------------------------------------------------------- */

:root {
  --description-text: rgba(247, 236, 216, 0.88);
  --description-text-soft: rgba(247, 236, 216, 0.80);
  --description-text-strong: #f7ecd8;
}

/* General descriptive copy */
.hero-copy,
.section-lead,
.about-text p,
.project-main p,
.project-side li,
.card p,
.members-note p,
.tool-item p,
.contact-card p,
.app-title-note,
.feature-item p {
  color: var(--description-text) !important;
  font-weight: 520;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.16);
}

/* Smaller descriptions inside cards/tools */
.card p,
.tool-item p,
.feature-item p,
.contact-card p {
  color: var(--description-text-soft) !important;
}

/* Strong text inside descriptions */
.hero-copy strong,
.about-text strong,
.card strong,
.contact-card strong,
.members-note strong,
.project-main strong {
  color: var(--description-text-strong);
  font-weight: 850;
}

/* Contact and footer secondary text */
.contact-list span,
.site-footer,
.site-footer p {
  color: rgba(247, 236, 216, 0.76) !important;
}

/* List items in project side panel */
.project-side ul,
.project-side li {
  color: var(--description-text) !important;
}

/* Form/app wrapper subtitle texts */
.app-title-note {
  color: rgba(247, 236, 216, 0.82) !important;
}

/* Slightly improve panel clarity behind text without changing the design */
.glass-panel,
.card,
.tool-item,
.contact-card,
.members-note,
.project-main,
.project-side,
.about-text-wide {
  border-color: rgba(239, 226, 201, 0.22);
}

/* Keep titles untouched, but make subtitles/eyebrows a little cleaner */
.section-kicker,
.eyebrow,
.card .tag {
  filter: brightness(1.06);
}

/* Mobile: descriptions a touch stronger because small screens need it */
@media (max-width: 760px) {
  .hero-copy,
  .section-lead,
  .about-text p,
  .project-main p,
  .project-side li,
  .card p,
  .members-note p,
  .tool-item p,
  .contact-card p {
    color: rgba(247, 236, 216, 0.90) !important;
  }
}


/* ---------------------------------------------------------
   JOIN SECTION CONTRAST FIX
   Added on top of Text Contrast Refine.
   Improves readability of terracotta text over the join-section background.
--------------------------------------------------------- */

.join-shell .section-kicker {
  color: var(--cream-soft);
  opacity: 0.92;
}

.join-shell .card .tag {
  background: rgba(239, 226, 201, 0.14);
  color: var(--cream-soft);
  border: 1px solid rgba(239, 226, 201, 0.16);
}

.join-shell .card-link {
  color: var(--cream-soft);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.14);
}

.join-shell .card:hover .card-link,
.join-shell .card:hover .tag {
  color: #fff7ea;
}

.join-shell .section-title,
.join-shell .card h3 {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.10);
}


/* ---------------------------------------------------------
   TRANSPARENT LOGO INTEGRATION
   New white transparent logo for header, hero, and app wrappers.
--------------------------------------------------------- */
.brand-mini {
  gap: 14px;
}

.nav-logo {
  width: 54px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 14px rgba(247, 236, 216, 0.14)) drop-shadow(0 12px 26px rgba(0, 0, 0, 0.22));
}

.hero-logo-panel {
  background:
    radial-gradient(circle at 48% 48%, rgba(247, 236, 216, 0.08), transparent 26%),
    linear-gradient(120deg, rgba(46, 58, 44, 0.86) 0 34%, rgba(35, 51, 63, 0.88) 34% 70%, rgba(17, 24, 25, 0.82) 70% 100%);
}

.hero-logo-panel::before {
  width: 360px;
  height: 360px;
  left: 50%;
  top: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(247, 236, 216, 0.26) 0%, rgba(82, 101, 116, 0.18) 38%, rgba(198, 95, 66, 0.12) 58%, transparent 74%);
  filter: blur(8px);
}

.hero-logo-panel::after {
  inset: -60px;
  background:
    repeating-radial-gradient(ellipse at 18% 78%, transparent 0 24px, rgba(239, 226, 201, 0.07) 25px 26px),
    linear-gradient(135deg, transparent 0 70%, rgba(239, 226, 201, 0.08) 70% 72%, transparent 72% 100%);
  opacity: 0.62;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(68%, 360px);
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 18px rgba(247, 236, 216, 0.14)) drop-shadow(0 28px 48px rgba(0, 0, 0, 0.24));
}

.poster-shape.triangle {
  opacity: 0.68;
}

.poster-shape.circle {
  opacity: 0.92;
}

.poster-shape.bars {
  opacity: 0.54;
}

@media (max-width: 760px) {
  .nav-logo {
    width: 46px;
  }

  .hero-logo {
    width: min(74%, 300px);
  }

  .hero-logo-panel::before {
    width: 280px;
    height: 280px;
  }
}


/* ---------------------------------------------------------
   LOGO SIZE + HERO PANEL BACKGROUND REFINEMENT
   Bigger transparent logo, footer icon, cleaner curved shapes.
--------------------------------------------------------- */

/* Header logo: slightly larger and cleaner */
.nav-logo {
  width: 66px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 0 16px rgba(247, 236, 216, 0.16))
    drop-shadow(0 12px 26px rgba(0, 0, 0, 0.24));
}

.brand-mini {
  gap: 15px;
}

/* Main hero logo panel: calmer, more artistic curved composition */
.hero-logo-panel {
  min-height: 455px;
  background:
    radial-gradient(circle at 47% 48%, rgba(247, 236, 216, 0.10), transparent 28%),
    linear-gradient(135deg, rgba(17, 24, 25, 0.52), rgba(17, 24, 25, 0.20)),
    linear-gradient(120deg, rgba(47, 58, 44, 0.94) 0 32%, rgba(38, 54, 66, 0.92) 32% 68%, rgba(17, 24, 25, 0.86) 68% 100%);
  border-color: rgba(239, 226, 201, 0.22);
}

/* Replace busy inner pattern with large soft Bauhaus / paper-cut shapes */
.hero-logo-panel::before {
  width: 460px;
  height: 460px;
  left: 50%;
  top: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(247, 236, 216, 0.24) 0%, rgba(247, 236, 216, 0.10) 28%, transparent 56%);
  filter: blur(7px);
  opacity: 1;
}

.hero-logo-panel::after {
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 82% 22%, rgba(198, 95, 66, 0.34) 0 18%, transparent 18.4%),
    radial-gradient(circle at 13% 85%, rgba(198, 95, 66, 0.18) 0 22%, transparent 22.4%),
    radial-gradient(circle at 14% 18%, rgba(102, 114, 79, 0.30) 0 28%, transparent 28.4%),
    linear-gradient(124deg, transparent 0 18%, rgba(82, 101, 116, 0.30) 18% 34%, transparent 34% 100%),
    linear-gradient(52deg, transparent 0 63%, rgba(102, 114, 79, 0.30) 63% 80%, transparent 80% 100%),
    linear-gradient(145deg, transparent 0 72%, rgba(239, 226, 201, 0.075) 72% 74%, transparent 74% 100%);
}

/* Extra abstract shapes inside the logo frame */
.poster-shape.triangle {
  left: 38px;
  top: 34px;
  border-left-width: 62px;
  border-right-width: 62px;
  border-bottom-width: 104px;
  border-bottom-color: rgba(82, 101, 116, 0.62);
  transform: rotate(-30deg);
  opacity: 0.62;
}

.poster-shape.circle {
  right: 52px;
  bottom: 54px;
  width: 72px;
  height: 72px;
  background: rgba(198, 95, 66, 0.88);
  box-shadow:
    -255px -260px 0 78px rgba(102, 114, 79, 0.16),
    -120px 18px 0 120px rgba(82, 101, 116, 0.12);
}

.poster-shape.bars {
  right: 92px;
  top: 76px;
  height: 170px;
  opacity: 0.34;
}

/* Hero logo itself: bigger and truly transparent */
.hero-logo {
  width: min(74%, 420px);
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 0 20px rgba(247, 236, 216, 0.18))
    drop-shadow(0 30px 52px rgba(0, 0, 0, 0.28));
}

/* Footer logo icon */
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-icon {
  width: 54px;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  filter:
    drop-shadow(0 0 12px rgba(247, 236, 216, 0.12))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.20));
}

/* Wrapper pages also get the larger transparent header logo */
.app-header .nav-logo {
  width: 62px;
}

/* Mobile tuning */
@media (max-width: 760px) {
  .nav-logo {
    width: 54px;
  }

  .app-header .nav-logo {
    width: 52px;
  }

  .hero-logo-panel {
    min-height: 360px;
  }

  .hero-logo {
    width: min(78%, 320px);
  }

  .hero-logo-panel::before {
    width: 330px;
    height: 330px;
  }

  .poster-shape.circle {
    width: 58px;
    height: 58px;
  }

  .footer-brand-lockup {
    align-items: flex-start;
  }

  .footer-logo-icon {
    width: 46px;
  }
}


/* ---------------------------------------------------------
   COMPACT SECTIONS
   Slightly reduce vertical height/spacing across the site.
   Keeps the same design, palette and layout.
--------------------------------------------------------- */

/* Global sections: less vertical padding */
.section {
  padding-top: 62px;
  padding-bottom: 62px;
}

/* Hero: still impressive, but not as tall */
.hero {
  min-height: calc(86vh - var(--header-height));
  padding-top: 38px;
  padding-bottom: 46px;
}

.hero-grid {
  gap: 36px;
}

.hero-logo-panel {
  min-height: 390px;
}

/* Slightly tighter hero typography spacing */
.logo-word {
  margin-bottom: 14px;
}

.hero-content h1 {
  margin-bottom: 14px;
}

.hero-copy {
  margin-bottom: 20px;
}

/* Section headings: keep title style, reduce vertical gaps */
.eyebrow,
.section-kicker {
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 14px;
}

.section-lead {
  line-height: 1.68;
}

/* Grids/cards: less vertical spread */
.about-layout,
.cards-grid,
.members-layout,
.contact-grid {
  margin-top: 22px;
}

.card,
.glass-panel,
.members-note,
.contact-card,
.project-main,
.project-side {
  padding-top: 20px;
  padding-bottom: 20px;
}

.card {
  min-height: 178px;
}

.card p {
  margin-bottom: 14px;
  line-height: 1.56;
}

/* Project section: reduce large vertical feel */
.project-layout {
  gap: 18px;
  margin-top: 22px;
}

.project-main,
.project-side {
  min-height: auto;
}

.project-poster-wrap {
  margin-top: 20px;
}

/* Members/tools section */
.tool-list {
  gap: 12px;
}

.tool-item {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Contact section */
.contact-list {
  margin-top: 12px;
  gap: 8px;
}

.contact-list a {
  padding-top: 11px;
  padding-bottom: 11px;
}

/* Footer a bit tighter */
.site-footer {
  padding-top: 24px;
  padding-bottom: 24px;
}

/* Wrapper pages: title bar slightly shorter */
.app-title-bar {
  min-height: 112px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.app-title-inner {
  gap: 18px;
}

/* Mobile: compact, but not cramped */
@media (max-width: 760px) {
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-logo-panel {
    min-height: 320px;
  }

  .card,
  .glass-panel,
  .members-note,
  .contact-card,
  .project-main,
  .project-side {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .app-title-bar {
    min-height: 104px;
  }
}


/* ---------------------------------------------------------
   PROJECTS SECTION SPACING FIX
   Adds breathing space between intro text, Featured Project,
   and the “Στο site μπορούν να μπουν” panel.
--------------------------------------------------------- */

.projects-shell .section-lead {
  margin-bottom: 20px;
}

.projects-shell .project-main {
  margin-bottom: 22px;
}

.projects-shell .project-side {
  margin-top: 0;
}

/* If the project cards are inside a grid/flex wrapper, keep a clean gap too */
.projects-shell .project-layout {
  gap: 22px;
}

/* Mobile: a bit more vertical separation because panels stack */
@media (max-width: 760px) {
  .projects-shell .section-lead {
    margin-bottom: 18px;
  }

  .projects-shell .project-main {
    margin-bottom: 18px;
  }

  .projects-shell .project-layout {
    gap: 18px;
  }
}


/* ---------------------------------------------------------
   LILITH POSTER POPUP ONLY
   Keep the original Featured Project layout.
   Add only click-to-enlarge behavior + popup styling.
--------------------------------------------------------- */

.projects-shell .project-poster-wrap,
.projects-shell .project-poster,
.projects-shell .project-poster-wrap img {
  cursor: zoom-in;
}

.projects-shell .project-poster-wrap {
  position: relative;
}

.projects-shell .project-poster-wrap::after {
  content: "Κλικ για μεγέθυνση";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(17, 24, 25, 0.68);
  color: rgba(247, 236, 216, 0.92);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.projects-shell .project-poster-wrap:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(12, 18, 19, 0.84);
  backdrop-filter: blur(10px);
}

.poster-modal.show {
  display: flex;
}

.poster-modal-image {
  max-width: min(1120px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(239, 226, 201, 0.25);
  background: rgba(17, 24, 25, 0.32);
}

.poster-modal-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(239, 226, 201, 0.24);
  border-radius: 999px;
  background: rgba(17, 24, 25, 0.76);
  color: #f8edd8;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 100000;
}

.poster-modal-close:hover {
  background: rgba(201, 101, 67, 0.90);
}

body.poster-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .poster-modal {
    padding: 14px;
  }

  .poster-modal-image {
    max-width: 96vw;
    max-height: 84vh;
    border-radius: 18px;
  }

  .poster-modal-close {
    top: 12px;
    right: 12px;
  }
}


/* ---------------------------------------------------------
   MEMBERS ACCESS PAGE
   Email + PIN login for LABATERRE members.
--------------------------------------------------------- */

.members-access-page {
  min-height: 100vh;
}

.members-access-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 16%, rgba(101, 116, 79, 0.34), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(82, 101, 116, 0.30), transparent 31%),
    radial-gradient(circle at 82% 88%, rgba(201, 101, 67, 0.24), transparent 30%),
    linear-gradient(135deg, #101719 0%, #21333d 43%, #303a2c 76%, #172326 100%);
}

.members-access-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.86;
  background:
    radial-gradient(circle at 19% 23%, rgba(239, 226, 201, 0.10) 0 17%, transparent 17.5%),
    radial-gradient(circle at 81% 10%, rgba(201, 101, 67, 0.18) 0 14%, transparent 14.5%),
    linear-gradient(124deg, transparent 0 18%, rgba(82, 111, 126, 0.22) 18% 35%, transparent 35% 100%),
    linear-gradient(52deg, transparent 0 63%, rgba(102, 114, 79, 0.25) 63% 80%, transparent 80% 100%),
    linear-gradient(145deg, transparent 0 72%, rgba(239, 226, 201, 0.055) 72% 74%, transparent 74% 100%);
}

.members-access-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 42px) 0 64px;
}

.members-login-card,
.members-tools-panel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(239, 226, 201, 0.22);
  background:
    radial-gradient(circle at 48% 8%, rgba(247, 237, 216, 0.10), transparent 30%),
    linear-gradient(145deg, rgba(247, 237, 216, 0.15), rgba(247, 237, 216, 0.075)),
    linear-gradient(120deg, rgba(82, 111, 126, 0.23), rgba(102, 114, 79, 0.17)),
    rgba(16, 23, 25, 0.54);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(12px);
}

.members-login-card {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(340px, 1.08fr);
}

.members-card-art {
  position: relative;
  min-height: 420px;
  border-right: 1px solid rgba(239, 226, 201, 0.14);
  background:
    radial-gradient(circle at 48% 48%, rgba(247, 237, 216, 0.13), transparent 29%),
    linear-gradient(120deg, rgba(47, 58, 44, 0.92) 0 32%, rgba(38, 54, 66, 0.92) 32% 68%, rgba(17, 24, 25, 0.84) 68% 100%);
}

.members-card-art::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(247, 237, 216, 0.24) 0%, rgba(247, 237, 216, 0.10) 28%, transparent 56%);
  filter: blur(7px);
}

.members-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(198, 95, 66, 0.34) 0 18%, transparent 18.4%),
    radial-gradient(circle at 13% 85%, rgba(198, 95, 66, 0.18) 0 22%, transparent 22.4%),
    radial-gradient(circle at 14% 18%, rgba(102, 114, 79, 0.30) 0 28%, transparent 28.4%),
    linear-gradient(124deg, transparent 0 18%, rgba(82, 101, 116, 0.30) 18% 34%, transparent 34% 100%),
    linear-gradient(52deg, transparent 0 63%, rgba(102, 114, 79, 0.30) 63% 80%, transparent 80% 100%),
    linear-gradient(145deg, transparent 0 72%, rgba(239, 226, 201, 0.075) 72% 74%, transparent 74% 100%);
}

.members-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.members-shape-one {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: 52px;
  bottom: 54px;
  background: rgba(198, 95, 66, 0.78);
}

.members-shape-two {
  width: 0;
  height: 0;
  left: 40px;
  top: 46px;
  border-left: 72px solid transparent;
  border-right: 72px solid transparent;
  border-bottom: 122px solid rgba(82, 101, 116, 0.42);
  transform: rotate(-28deg);
}

.members-shape-three {
  width: 190px;
  height: 190px;
  border-radius: 999px;
  left: -64px;
  bottom: 50px;
  background: rgba(102, 114, 79, 0.24);
}

.members-login-content {
  position: relative;
  z-index: 2;
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.members-login-content h1,
.members-tools-head h1 {
  color: var(--cream-soft);
  font-size: clamp(2.15rem, 4.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
}

.members-login-lead,
.members-tools-head p,
.members-access-footnote {
  color: rgba(247, 236, 216, 0.84);
  line-height: 1.7;
  font-weight: 650;
}

.members-form {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  max-width: 460px;
}

.members-form label {
  color: var(--cream-soft);
  font-weight: 850;
  font-size: 0.92rem;
}

.members-form input {
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(247, 237, 216, 0.30);
  background:
    linear-gradient(135deg, rgba(82, 111, 126, 0.17), rgba(247, 237, 216, 0.11)),
    rgba(247, 237, 216, 0.10);
  color: var(--cream-soft);
  padding: 13px 18px;
  font-size: 1rem;
  outline: none;
}

.members-form input::placeholder {
  color: rgba(247, 237, 216, 0.52);
}

.members-form input:focus {
  border-color: rgba(228, 154, 120, 0.82);
  box-shadow: 0 0 0 4px rgba(201, 101, 67, 0.17);
}

.members-login-button {
  margin-top: 8px;
  width: fit-content;
  min-width: 150px;
}

.members-note-small {
  color: rgba(247, 236, 216, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}

.members-message {
  min-height: 24px;
  color: rgba(247, 236, 216, 0.86);
  font-weight: 750;
}

.members-message.error {
  color: #ffc0b7;
}

.members-message.loading {
  color: #f8edd8;
}

.members-tools-panel {
  padding: 42px;
}

.members-tools-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.members-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.member-tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(247, 237, 216, 0.22);
  background:
    linear-gradient(145deg, rgba(247, 237, 216, 0.17), rgba(247, 237, 216, 0.085)),
    linear-gradient(135deg, rgba(82, 111, 126, 0.15), rgba(50, 59, 45, 0.18)),
    rgba(16, 23, 25, 0.28);
  color: var(--cream-soft);
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.member-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 154, 120, 0.50);
  background:
    linear-gradient(145deg, rgba(247, 237, 216, 0.20), rgba(247, 237, 216, 0.10)),
    linear-gradient(135deg, rgba(82, 111, 126, 0.18), rgba(201, 101, 67, 0.14)),
    rgba(16, 23, 25, 0.34);
}

.tool-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 101, 67, 0.22);
  color: var(--terracotta-soft);
  font-size: 1.35rem;
  font-weight: 900;
}

.tool-title {
  font-size: 1.22rem;
  font-weight: 900;
}

.tool-text {
  color: rgba(247, 236, 216, 0.76);
  line-height: 1.55;
  font-size: 0.95rem;
}

.tool-link {
  margin-top: auto;
  color: var(--terracotta-soft);
  font-weight: 900;
}

.members-access-footnote {
  margin-top: 22px;
  font-size: 0.92rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .members-login-card {
    grid-template-columns: 1fr;
  }

  .members-card-art {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid rgba(239, 226, 201, 0.14);
  }

  .members-login-content {
    padding: 34px;
  }

  .members-tools-head {
    display: grid;
  }

  .members-tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .members-access-shell {
    width: min(100% - 20px, 1120px);
    padding-top: calc(var(--header-height) + 28px);
  }

  .members-login-card,
  .members-tools-panel {
    border-radius: 26px;
  }

  .members-login-content,
  .members-tools-panel {
    padding: 24px;
  }

  .members-login-content h1,
  .members-tools-head h1 {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }
}


/* ---------------------------------------------------------
   MEMBERS TOOLS — TWO CARDS ONLY
   Νέες Εγγραφές stays public/outside members area.
--------------------------------------------------------- */

.members-tools-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

@media (max-width: 760px) {
  .members-tools-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
}


/* ---------------------------------------------------------
   CORRECT MEMBER ACCESS GATE
   Only replaces the lower “Για τα μέλη / Εσωτερικά εργαλεία” section.
   The top hero/logo section remains untouched.
--------------------------------------------------------- */

.member-access-gate-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 22px;
  align-items: center;
}

.member-access-gate-copy {
  position: relative;
  z-index: 2;
}

.member-access-gate-note {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(247, 236, 216, 0.78);
  line-height: 1.65;
  font-weight: 650;
}

.member-access-gate-panel {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 28px;
  border: 1px solid rgba(239, 226, 201, 0.22);
  background:
    radial-gradient(circle at 48% 48%, rgba(247, 237, 216, 0.12), transparent 30%),
    linear-gradient(120deg, rgba(47, 58, 44, 0.92) 0 32%, rgba(38, 54, 66, 0.92) 32% 68%, rgba(17, 24, 25, 0.84) 68% 100%);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
}

.member-access-gate-panel::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(247, 237, 216, 0.22) 0%, rgba(247, 237, 216, 0.09) 30%, transparent 58%);
  filter: blur(7px);
}

.member-access-gate-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(198, 95, 66, 0.34) 0 18%, transparent 18.4%),
    radial-gradient(circle at 13% 85%, rgba(198, 95, 66, 0.18) 0 22%, transparent 22.4%),
    radial-gradient(circle at 14% 18%, rgba(102, 114, 79, 0.30) 0 28%, transparent 28.4%),
    linear-gradient(124deg, transparent 0 18%, rgba(82, 101, 116, 0.30) 18% 34%, transparent 34% 100%),
    linear-gradient(52deg, transparent 0 63%, rgba(102, 114, 79, 0.30) 63% 80%, transparent 80% 100%);
}

.member-access-gate-logo {
  position: relative;
  z-index: 2;
  width: min(54%, 200px);
  height: auto;
  filter:
    drop-shadow(0 0 16px rgba(247, 236, 216, 0.18))
    drop-shadow(0 24px 42px rgba(0, 0, 0, 0.30));
}

.member-access-gate-lines {
  position: absolute;
  inset: auto 24px 24px 24px;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.member-access-gate-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(247, 236, 216, 0.10);
}

.member-access-gate-lines span:nth-child(2) {
  width: 74%;
  background: rgba(201, 101, 67, 0.20);
}

.member-access-gate-lines span:nth-child(3) {
  width: 52%;
  background: rgba(102, 114, 79, 0.24);
}

@media (max-width: 860px) {
  .member-access-gate-inner {
    grid-template-columns: 1fr;
  }

  .member-access-gate-panel {
    min-height: 220px;
  }

  .member-access-gate-logo {
    width: min(44%, 170px);
  }
}

@media (max-width: 560px) {
  .member-access-gate-panel {
    min-height: 190px;
    border-radius: 24px;
  }

  .member-access-gate-logo {
    width: min(52%, 150px);
  }
}


/* ---------------------------------------------------------
   UNIFIED LABATERRE BUTTON STYLE
   Member buttons now match the main hero buttons.
--------------------------------------------------------- */

.member-access-gate-copy .button-primary,
.members-login-button,
.members-form .button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(239, 226, 201, 0.18);
  background:
    linear-gradient(135deg, #c4694d 0%, #9b4935 100%);
  color: #f8edd8 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow:
    0 14px 30px rgba(143, 69, 51, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.member-access-gate-copy .button-primary:hover,
.members-login-button:hover,
.members-form .button-primary:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, #dd9375 0%, #c4694d 100%);
  border-color: rgba(239, 226, 201, 0.28);
  box-shadow:
    0 18px 36px rgba(143, 69, 51, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.member-access-gate-copy .button-primary:active,
.members-login-button:active,
.members-form .button-primary:active {
  transform: translateY(0);
  box-shadow:
    0 10px 22px rgba(143, 69, 51, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.members-login-button {
  width: fit-content;
  min-width: 150px;
  margin-top: 10px;
}

/* Keep buttons pleasant on mobile */
@media (max-width: 560px) {
  .member-access-gate-copy .button-primary,
  .members-login-button,
  .members-form .button-primary {
    width: 100%;
    min-height: 48px;
  }
}


/* ---------------------------------------------------------
   MEMBERS PAGE HEADER FIX
   Make members.html top bar match the homepage header.
--------------------------------------------------------- */

.members-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 54px);
  background:
    linear-gradient(180deg, rgba(17, 24, 25, 0.94), rgba(17, 24, 25, 0.78));
  border-bottom: 1px solid rgba(239, 226, 201, 0.14);
  backdrop-filter: blur(14px);
  z-index: 1000;
}

.members-site-header .brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream-soft);
  text-decoration: none;
  flex: 0 0 auto;
  min-width: max-content;
}

.members-site-header .brand-mini span {
  font-weight: 900;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.members-site-header .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  flex: 1 1 auto;
  min-width: 0;
}

.members-site-header .desktop-nav a {
  color: rgba(239, 226, 201, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 760;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.members-site-header .desktop-nav a:hover,
.members-site-header .desktop-nav a.active {
  color: var(--cream-soft);
}

.members-site-header .nav-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(239, 226, 201, 0.18);
  background: rgba(239, 226, 201, 0.08);
  color: var(--cream-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.members-site-header .nav-logo {
  width: 62px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .members-site-header {
    gap: 16px;
    padding: 0 18px;
  }

  .members-site-header .desktop-nav {
    gap: 14px;
  }

  .members-site-header .desktop-nav a {
    font-size: 0.86rem;
  }

  .members-site-header .brand-mini span {
    display: none;
  }
}

@media (max-width: 760px) {
  .members-site-header .desktop-nav {
    display: none;
  }

  .members-site-header .brand-mini span {
    display: inline;
    font-size: 0.9rem;
  }

  .members-site-header .nav-logo {
    width: 52px;
  }
}


/* ---------------------------------------------------------
   FIXED UNIFIED HEADER FOR SUBPAGES
   Same visual structure as homepage header.
--------------------------------------------------------- */

.has-unified-header .site-header.unified-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  padding: 0 clamp(18px, 4vw, 54px);
  background:
    linear-gradient(180deg, rgba(17, 24, 25, 0.94), rgba(17, 24, 25, 0.78));
  border-bottom: 1px solid rgba(239, 226, 201, 0.14);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
}

.has-unified-header .site-header.unified-site-header .nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.has-unified-header .site-header.unified-site-header .brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream-soft);
  text-decoration: none;
  flex: 0 0 auto;
  min-width: max-content;
}

.has-unified-header .site-header.unified-site-header .brand-mini span {
  font-weight: 900;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.has-unified-header .site-header.unified-site-header .nav-logo {
  width: 62px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 0 16px rgba(247, 236, 216, 0.16))
    drop-shadow(0 12px 26px rgba(0, 0, 0, 0.24));
}

.has-unified-header .site-header.unified-site-header .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  flex: 1 1 auto;
  min-width: 0;
}

.has-unified-header .site-header.unified-site-header .desktop-nav a {
  color: rgba(239, 226, 201, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 760;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.has-unified-header .site-header.unified-site-header .desktop-nav a:hover,
.has-unified-header .site-header.unified-site-header .desktop-nav a.active {
  color: var(--cream-soft);
}

.has-unified-header .site-header.unified-site-header .nav-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(239, 226, 201, 0.18);
  background: rgba(239, 226, 201, 0.08);
  color: var(--cream-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.has-unified-header .members-access-shell {
  padding-top: calc(var(--header-height) + 42px);
}

@media (max-width: 980px) {
  .has-unified-header .site-header.unified-site-header {
    padding: 0 18px;
  }

  .has-unified-header .site-header.unified-site-header .nav {
    gap: 16px;
  }

  .has-unified-header .site-header.unified-site-header .desktop-nav {
    gap: 14px;
  }

  .has-unified-header .site-header.unified-site-header .desktop-nav a {
    font-size: 0.86rem;
  }

  .has-unified-header .site-header.unified-site-header .brand-mini span {
    display: none;
  }
}

@media (max-width: 760px) {
  .has-unified-header .site-header.unified-site-header .desktop-nav {
    display: none;
  }

  .has-unified-header .site-header.unified-site-header .brand-mini span {
    display: inline;
    font-size: 0.9rem;
  }

  .has-unified-header .site-header.unified-site-header .nav-logo {
    width: 52px;
  }

  .has-unified-header .members-access-shell {
    padding-top: calc(var(--header-height) + 28px);
  }
}


/* ---------------------------------------------------------
   PIXEL-STABLE SHARED HEADER
   Same header geometry on home, members, and registrations.
--------------------------------------------------------- */

:root {
  --site-shell-width: 1200px;
  --site-header-x: clamp(18px, 4vw, 54px);
}

/* Make the main header geometry deterministic across all pages */
.site-header {
  height: var(--header-height);
  padding-left: var(--site-header-x);
  padding-right: var(--site-header-x);
}

.site-header .nav {
  width: min(var(--site-shell-width), 100%);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 300px 1fr 190px;
  align-items: center;
  gap: 28px;
}

.site-header .brand-mini {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-header .brand-mini .nav-logo,
.site-header .brand-mini img.nav-logo {
  width: 62px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  display: block;
}

.site-header .brand-mini span,
.site-header .brand-mini [data-brand-name] {
  white-space: nowrap;
}

.site-header .desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.site-header .nav-button {
  justify-self: end;
  white-space: nowrap;
}

/* Keep old subpage-specific header CSS from changing header geometry */
.subpage-same-header .site-header.nees-site-header,
.subpage-same-header .site-header.members-site-header,
.subpage-same-header .site-header.unified-site-header {
  height: var(--header-height);
  padding-left: var(--site-header-x);
  padding-right: var(--site-header-x);
}

/* Spacing for standalone pages below the fixed header */
.subpage-same-header .app,
.subpage-same-header .members-access-shell {
  padding-top: calc(var(--header-height) + 42px);
}

/* Active nav style without moving anything */
.site-header .desktop-nav a.active {
  color: var(--cream-soft);
}

@media (max-width: 980px) {
  .site-header .nav {
    grid-template-columns: 190px 1fr 160px;
    gap: 16px;
  }

  .site-header .desktop-nav {
    gap: 14px;
  }

  .site-header .desktop-nav a {
    font-size: 0.86rem;
  }

  .site-header .brand-mini span,
  .site-header .brand-mini [data-brand-name] {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header .nav {
    display: flex;
    justify-content: space-between;
  }

  .site-header .desktop-nav {
    display: none;
  }

  .site-header .brand-mini span,
  .site-header .brand-mini [data-brand-name] {
    display: inline;
    font-size: 0.9rem;
  }

  .site-header .brand-mini .nav-logo,
  .site-header .brand-mini img.nav-logo {
    width: 52px;
  }

  .subpage-same-header .app,
  .subpage-same-header .members-access-shell {
    padding-top: calc(var(--header-height) + 28px);
  }
}


/* ---------------------------------------------------------
   EXACT HOME HEADER FOR SUBPAGES
   Matches homepage header on Members and other site pages.
--------------------------------------------------------- */

.exact-home-header-page .exact-home-header {
  height: 66px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  backdrop-filter: blur(18px) !important;
  background: rgba(17, 24, 25, 0.86) !important;
  border-bottom: 1px solid rgba(239, 226, 201, 0.16) !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.exact-home-header-page .exact-home-header .nav {
  height: 100% !important;
  max-width: 1160px !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.exact-home-header-page .exact-home-header .brand-mini {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  letter-spacing: 0.16em !important;
  font-weight: 900 !important;
  font-size: 0.9rem !important;
  color: #efe2c9 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

.exact-home-header-page .exact-home-header .brand-mini span {
  color: #efe2c9 !important;
  display: inline !important;
  letter-spacing: 0.16em !important;
  font-weight: 900 !important;
  font-size: 0.9rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.exact-home-header-page .exact-home-header .nav-logo,
.exact-home-header-page .exact-home-header img.nav-logo {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  min-width: 40px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.32) !important;
  background: #050608 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  filter: none !important;
}

.exact-home-header-page .exact-home-header .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
}

.exact-home-header-page .exact-home-header .nav-links li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.exact-home-header-page .exact-home-header .nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 13px !important;
  border-radius: 999px !important;
  color: rgba(239, 226, 201, 0.72) !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transition: 180ms ease !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.exact-home-header-page .exact-home-header .nav-links a:hover,
.exact-home-header-page .exact-home-header .nav-links a.active {
  color: #f7ead2 !important;
  background: rgba(239, 226, 201, 0.09) !important;
  text-decoration: none !important;
}

.exact-home-header-page .app,
.exact-home-header-page .members-access-shell {
  padding-top: calc(66px + 42px) !important;
}

@media (max-width: 760px) {
  .exact-home-header-page .exact-home-header .nav-links {
    display: none !important;
  }

  .exact-home-header-page .app,
  .exact-home-header-page .members-access-shell {
    padding-top: calc(66px + 28px) !important;
  }
}


/* ---------------------------------------------------------
   HEADER LOGO + MENU ALIGNMENT TUNE
   Applies only to subpages using exact-home-header.
--------------------------------------------------------- */

.exact-home-header-page .exact-home-header .nav {
  max-width: 1160px !important;
  padding: 0 22px !important;
  justify-content: space-between !important;
}

/* On subpages the menu looked a little too far right.
   This reserves subtle right-side visual space so the nav group aligns closer to the homepage. */
.exact-home-header-page .exact-home-header .nav-links {
  margin-left: auto !important;
  margin-right: 52px !important;
}

/* Transparent logo rendering on subpages. No black tile/background. */
.exact-home-header-page .exact-home-header .nav-logo,
.exact-home-header-page .exact-home-header img.nav-logo {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}

/* Keep the brand text exactly homepage-sized, just without default link artifacts. */
.exact-home-header-page .exact-home-header .brand-mini,
.exact-home-header-page .exact-home-header .brand-mini:link,
.exact-home-header-page .exact-home-header .brand-mini:visited {
  color: #efe2c9 !important;
  text-decoration: none !important;
}

@media (max-width: 980px) {
  .exact-home-header-page .exact-home-header .nav-links {
    margin-right: 0 !important;
  }
}



/* Projects — Στιγμές LABATERRE gallery */
.project-moments-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(239, 226, 201, 0.16);
  background:
    radial-gradient(circle at 20% 0%, rgba(228, 154, 120, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(247, 237, 216, 0.12), rgba(247, 237, 216, 0.055)),
    rgba(16, 23, 25, 0.46);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.project-moments-card h3 {
  margin: 10px 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--cream-soft);
}

.project-moments-lead {
  margin: 0 0 18px;
  color: rgba(239, 226, 201, 0.78);
  line-height: 1.62;
  font-weight: 650;
}

.moments-grid {
  display: grid;
  gap: 14px;
}

.moment-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  background: rgba(5, 6, 8, 0.18);
  border: 1px solid rgba(239, 226, 201, 0.12);
}

.moment-thumb {
  width: 96px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(239, 226, 201, 0.12), rgba(228, 154, 120, 0.10)),
    rgba(5, 6, 8, 0.22);
}

.moment-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.moment-card:first-child .moment-thumb img {
  object-fit: contain;
  padding: 12px;
}

.moment-caption {
  display: grid;
  gap: 5px;
}

.moment-caption strong {
  color: var(--cream-soft);
  font-size: 1rem;
}

.moment-caption span {
  color: rgba(239, 226, 201, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 650;
}

@media (max-width: 720px) {
  .moment-card { grid-template-columns: 82px 1fr; }
  .moment-thumb { width: 82px; }
}



/* Projects — unified clickable moments gallery */
.project-moments-card .moments-gallery-frame {
  position: relative;
  margin-top: 18px;
  padding: 12px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(239, 226, 201, 0.11), rgba(239, 226, 201, 0.045)),
    rgba(5, 6, 8, 0.16);
  border: 1px solid rgba(239, 226, 201, 0.13);
}

.project-moments-card .moments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
}

.project-moments-card .moment-photo {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid rgba(239, 226, 201, 0.14);
  border-radius: 18px;
  background: rgba(5, 6, 8, 0.28);
  cursor: zoom-in;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.project-moments-card .moment-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.project-moments-card .moment-photo:first-child img {
  object-fit: contain;
  padding: 14px;
}

.project-moments-card .moment-photo:hover img {
  transform: scale(1.045);
  filter: brightness(1.05);
}

.project-moments-card .moment-photo span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.62);
  color: rgba(248, 237, 216, 0.94);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(10px);
}

/* Gallery lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 6, 8, 0.78);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 94vw);
  max-height: 90vh;
  padding: clamp(14px, 2vw, 20px);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(239, 226, 201, 0.12), rgba(239, 226, 201, 0.055)),
    rgba(16, 23, 25, 0.92);
  border: 1px solid rgba(239, 226, 201, 0.18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-dialog img {
  width: 100%;
  max-height: 76vh;
  display: block;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(5, 6, 8, 0.34);
}

.gallery-lightbox-dialog p {
  margin: 12px 4px 0;
  color: rgba(248, 237, 216, 0.86);
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(239, 226, 201, 0.2);
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.72);
  color: #f8edd8;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

body.gallery-lightbox-open {
  overflow: hidden;
}



/* Projects — compact horizontal moments gallery */
.project-moments-card .moments-gallery-frame {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(239, 226, 201, 0.10), rgba(239, 226, 201, 0.04)),
    rgba(5, 6, 8, 0.14);
  border: 1px solid rgba(239, 226, 201, 0.12);
}

.project-moments-card .moments-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 2px;
}

.project-moments-card .moments-grid::-webkit-scrollbar {
  height: 7px;
}

.project-moments-card .moments-grid::-webkit-scrollbar-thumb {
  background: rgba(239, 226, 201, 0.22);
  border-radius: 999px;
}

.project-moments-card .moment-photo {
  flex: 0 0 auto;
  width: clamp(82px, 8vw, 112px);
  height: clamp(92px, 9vw, 128px);
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(239, 226, 201, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(239, 226, 201, 0.10), rgba(228, 154, 120, 0.08)),
    rgba(5, 6, 8, 0.24);
  cursor: zoom-in;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.project-moments-card .moment-photo img,
.project-moments-card .moment-photo:first-child img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 0;
  border-radius: 10px;
  transition: transform 220ms ease, filter 220ms ease;
}

.project-moments-card .moment-photo:hover img {
  transform: scale(1.035);
  filter: brightness(1.05);
}

.project-moments-card .moment-photo span {
  display: none !important;
}

.moments-gallery-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 226, 201, 0.18);
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.34);
  color: rgba(248, 237, 216, 0.94);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.moments-gallery-arrow:hover {
  transform: translateY(-1px);
  background: rgba(239, 226, 201, 0.12);
}

.gallery-lightbox-dialog p {
  display: none;
}

@media (max-width: 720px) {
  .project-moments-card .moments-gallery-frame {
    grid-template-columns: 1fr;
  }

  .moments-gallery-arrow {
    display: none;
  }

  .project-moments-card .moment-photo {
    width: 88px;
    height: 104px;
  }
}
