:root {
  --ink: #050505;
  --text: rgba(5, 5, 5, 0.78);
  --muted: rgba(5, 5, 5, 0.58);
  --line: rgba(5, 5, 5, 0.14);
  --panel: rgba(5, 5, 5, 0.035);
  --panel-strong: rgba(5, 5, 5, 0.065);
  --gold: #8a651d;
  --night: #080706;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  --serif: "Cormorant Garamond", "Bodoni 72", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--sans);
  background: #fff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.035) 1px, transparent 1px);
  background-size: min(11vw, 148px) 100%;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  opacity: 0.55;
}

.pairs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.pair-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 26px;
  padding: 14px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.06);
}

.pair-img {
  aspect-ratio: 4 / 5;
  background-position: center;
  background-size: cover;
  border-radius: 18px;
  position: relative;
  width: 100%;
  height: auto; /* Fixed: Changed from 100% to auto to prevent crushing elements on mobile stack */
  object-fit: cover;
}

.pair-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}

.pair-label {
  margin-top: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.72rem;
}

/* On mobile: pairs stack */
@media (max-width: 720px) {
  .pairs-grid {
    grid-template-columns: 1fr;
  }
  
  .pair-label {
    font-size: 0.8rem;
    display: block;
    margin-top: 12px;
    padding-bottom: 6px; /* Extra padding insurance for small viewports */
  }
}

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

button,
input {
  font: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

p {
  color: var(--text);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 40px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(138, 101, 29, 0.44);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.04rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid rgba(138, 101, 29, 0.4);
  border-radius: 999px;
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  min-height: calc(100vh - 73px);
  padding-block: clamp(54px, 8vw, 96px);
}

.eyebrow,
.kicker {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 12vw, 10.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.78;
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(5, 5, 5, 0.66);
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--text);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(5, 5, 5, 0.9);
  border-radius: 999px;
  padding: 14px 21px;
  color: #fff;
  background: #050505;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
}

.btn.ghost {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(12px, 1.7vw, 20px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: clamp(12px, 1.7vw, 20px);
  z-index: 2;
  border: 1px solid rgba(138, 101, 29, 0.24);
  border-radius: 24px;
  pointer-events: none;
}

.hero-image {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background:
    linear-gradient(rgba(8, 7, 6, 0.05), rgba(8, 7, 6, 0.42)),
    url("immg.jpg") center / cover;
  transform: scale(1.02);
  animation: editorialFloat 7s ease-in-out infinite alternate;
}

.season-card {
  position: absolute;
  left: 0;
  bottom: 40px;
  z-index: 3;
  width: min(292px, calc(100% - 34px));
  padding: 18px;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.season-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.season-card small {
  color: var(--text);
  line-height: 1.6;
}

@keyframes editorialFloat {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.055) translateY(-10px);
  }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.035);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding-block: 16px;
  color: rgba(5, 5, 5, 0.54);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: slide 28s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.marquee-track span::after {
  content: "/";
  color: var(--gold);
}

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

section {
  padding-block: clamp(62px, 8vw, 96px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: end;
  margin-bottom: 34px;
}

.kicker {
  margin-bottom: 12px;
}

.section-head h2,
.about-panel h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.section-head p {
  max-width: 650px;
  margin-bottom: 6px;
  line-height: 1.8;
}

.collections,
.products {
  display: grid;
  gap: 18px;
}

.collections {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-card,
.product-card,
.feature-panel,
.about-panel,
.contact-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel-strong), var(--panel));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

.collection-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 28px;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s ease;
}

.collection-card:hover {
  transform: translateY(-8px);
  border-color: rgba(138, 101, 29, 0.44);
}

.collection-image {
  aspect-ratio: 4 / 5;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.collection-card:hover .collection-image {
  transform: scale(1.08);
  filter: saturate(1.04) contrast(1.08);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, 0.86));
}

.collection-copy {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid rgba(138, 101, 29, 0.38);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-copy h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 0.94;
  color: #fff;
}

.collection-copy p {
  margin-bottom: 0;
  color: rgba(248, 243, 234, 0.76);
  line-height: 1.55;
}

.lookbook-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 100%;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(22px, 3vw, 32px);
}

.feature-panel h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.feature-panel p {
  line-height: 1.8;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border-top: 1px solid rgba(138, 101, 29, 0.32);
  padding-top: 14px;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.stat small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  border-radius: 26px;
  padding: 14px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(138, 101, 29, 0.44);
}

.product-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.12;
  margin-bottom: 16px;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  width: 100%;
  object-fit: cover;
}

.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
}

.product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 4px;
}

.product-meta h4 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.product-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.product-meta span {
  color: var(--gold);
  font-size: 0.82rem;
  white-space: nowrap;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}

.about-panel {
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
}

.about-panel h2 {
  max-width: 760px;
  margin-bottom: 24px;
}

.about-panel p {
  max-width: 820px;
  line-height: 1.82;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.values span {
  border: 1px solid rgba(138, 101, 29, 0.28);
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--gold);
  background: rgba(5, 5, 5, 0.035);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.atelier-image {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.08), rgba(8, 7, 6, 0.42)),
    url("img5.png") center / cover;
  box-shadow: var(--shadow);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
}

.contact-panel h2 {
  margin-bottom: 22px;
}

.contact-panel p {
  max-width: 660px;
  line-height: 1.8;
}

.signup {
  padding: 18px;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 22px;
  background: rgba(5, 5, 5, 0.035);
}

.signup label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signup-row {
  display: flex;
  gap: 10px;
}

.signup input {
  min-width: 0;
  min-height: 48px;
  flex: 1;
  border: 1px solid rgba(5, 5, 5, 0.16);
  border-radius: 999px;
  outline: none;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
}

.signup input::placeholder {
  color: rgba(5, 5, 5, 0.42);
}

.signup input:focus {
  border-color: rgba(138, 101, 29, 0.58);
  box-shadow: 0 0 0 4px rgba(138, 101, 29, 0.12);
}

.note {
  min-height: 22px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.site-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 26px 0;
  text-align: center;
  font-family: var(--sans);
  border-top: 1px solid var(--line);
}

.site-footer p {
  color: #ffffff !important;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

@media (min-width: 600px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: #ffffff;
  background-color: #333333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--gold);
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal.delay-1 { transition-delay: 120ms; }
.reveal.delay-2 { transition-delay: 220ms; }
.reveal.delay-3 { transition-delay: 320ms; }

@media (max-width: 980px) {
  .hero,
  .section-head,
  .lookbook-wrap,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atelier-image {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 28px);
  }

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(4rem, 22vw, 6.4rem);
  }

  .hero-actions,
  .signup-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .signup-row .btn {
    width: 100%;
  }

  .collections,
  .products,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .season-card {
    right: 16px;
    bottom: 20px;
    left: 16px;
    width: auto;
  }

  .section-head h2,
  .about-panel h2,
  .contact-panel h2 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.whatsapp-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(5, 5, 5, 0.12);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(5, 5, 5, 0.18);
  background: #fff;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0 16px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(138, 101, 29, 0.6);
}

.whatsapp-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

#loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

#loader.fade-out {
  opacity: 0;
}

.popup-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex !important;
}

.popup-content {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: popupPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 20px;
}

.popup-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    display: block;
    background-color: #f5f5f5;
}

.popup-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 22px;
    font-weight: normal;
    text-align: center;
    line-height: 28px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, background-color 0.2s;
    z-index: 10;
}

.popup-close-btn:hover {
    transform: scale(1.05);
    background-color: #ffffff;
}

.popup-body {
    padding: 24px;
    font-family: var(--sans);
}

.popup-badge {
    display: inline-block;
    color: #0e0e0e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.popup-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #111111;
    font-weight: 700;
}

.popup-price {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #060606;
}

.old-price {
    font-size: 16px;
    color: #888888;
    text-decoration: line-through;
}

.popup-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px;
    background-color: #0b0b0b;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    box-sizing: border-box;
    transition: background-color 0.2s, transform 0.1s;
}

.popup-btn:hover {
    background-color: var(--gold);
}

.popup-btn:active {
    transform: scale(0.98);
}

@keyframes popupPop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 768px) {
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .atelier-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3; 
    background-size: contain !important; 
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent; 
    order: -1; 
  }

  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
}