@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
  --bg-deep: #ffffff;
  --bg-soft: #f6f6f6;
  --text-main: #111111;
  --text-muted: rgba(17, 17, 17, 0.72);
  --gold: #111111;
  --gold-soft: rgba(17, 17, 17, 0.24);
  --line-soft: rgba(0, 0, 0, 0.18);
  --panel: rgba(255, 255, 255, 0.94);
  --radius-soft: 8px;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
}

button,
input,
select,
textarea,
.btn,
.waitBtn,
.hero-overlay,
.modal-content,
.auth-panel,
.auth-switch,
.auth-tab,
.item,
.premium-card,
.process-step,
.about,
.cta,
.luxury-hero,
.thank-you-card,
.auth-benefits span {
  border-radius: var(--radius-soft) !important;
}

h1,
h2,
h3,
.logo,
.page-title {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
}

.luxury-body {
  min-height: 100vh;
  background: #ffffff;
}

.handmade-page {
  background: #ffffff url('../img/flower.JPG') center / cover no-repeat fixed;
}

.shop-page {
  background: #ffffff url('../img/artwork.jpg') center / cover no-repeat fixed;
}

.auth-body.login-page {
  background: #ffffff url('../img/eyes.JPG') center / cover no-repeat fixed;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  padding: 20px;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line-soft);
}

.logo {
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: #5c3e18;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (min-width: 769px) {
  .navbar {
    position: sticky;
  }

  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.nav-links a {
  margin: 0;
  text-decoration: none;
  color: #3f0707;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, transform 0.18s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #ba904d;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ba904d;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links a:active {
  transform: translateY(1px) scale(0.96);
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 12px;
    row-gap: 10px;
  }

  .nav-links {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.95rem;
  }
}

.hero {
  min-height: 76vh;
  background: #f6f6f6 url('../img/plaid.JPG') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}

.shop-hero {
  background: transparent;
  min-height: auto;
  padding: 48px 20px;
}

.hero-overlay {
  text-align: center;
  background: #fff6e6e6;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 48px 36px;
  box-shadow: 0 44px 55px rgba(23, 16, 8, 0.38);
  max-width: 760px;
}

.hero-overlay h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 6.4vw, 4.6rem);
  line-height: 0.92;
}

.reveal {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {opacity:0; transform: translateY(20px);} 
  to {opacity:1; transform: translateY(0);} 
}

.btn {
  padding: 12px 30px;
  background: rgb(62, 45, 22);
  color: #fff6e6e6;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background: #2a2a2a;
  color: #fff6e6e6;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.03);
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  padding: 11px 0;
  letter-spacing: 0.24em;
  color: #ba904d;
  animation: horizontalMarquee 22s linear infinite;
}

@keyframes horizontalMarquee {
  from {
    transform: translateX(0);
  }

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

.vertical-marquee {
  height: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.marquee-text {
  height: 40px;
  line-height: 40px;
  font-size: 1rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ba904d
}

.profile-icon {
  color: #111111;
  cursor: pointer;
  transition: color 0.25s ease;
}

.profile-icon:hover {
  color: #000000;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1000;
}

.modal-content {
  width: min(92%, 420px);
  margin: 8vh auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  padding: 26px 22px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  position: relative;
}

#close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  color: #222222;
}

.modal h3 {
  margin: 0 0 14px;
  font-weight: 600;
}

.auth-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
}

.auth-tab {
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: transparent;
  color: #111111;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  flex: 1;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.auth-tab:hover,
.auth-tab:focus-visible {
  transform: translateY(-1px);
}

.auth-tab.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.auth-forms {
  display: grid;
}

.auth-form {
  display: grid;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(18px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, visibility 0.35s ease;
}

.auth-form.active {
  opacity: 1;
  max-height: 560px;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.auth-form input,
.auth-form select,
.auth-form button {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  border-radius: 8px;
}

.auth-form label {
  display: block;
  margin-top: 12px;
  color: #222222;
  font-size: 0.95rem;
}

.auth-form input {
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: #ffffff;
  color: #111111;
  padding: 11px 12px;
}

.auth-form select {
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: #ffffff;
  color: #111111;
  padding: 11px 12px;
}

.auth-form button {
  border: 0;
  padding: 11px 12px;
  background: #111111;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.auth-form button:hover,
.auth-form button:focus-visible {
  transform: translateY(-1px);
  background: #2a2a2a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

[data-save-profile] {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.35);
  color: #111111;
}

[data-save-profile]:hover,
[data-save-profile]:focus-visible {
  background: rgba(0, 0, 0, 0.06);
}

.form-feedback {
  min-height: 1.25rem;
  margin-bottom: 8px;
  color: #afd8b4;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.form-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.form-feedback.is-error {
  color: #ffb8b8;
}

.form-feedback.is-success {
  color: #afd8b4;
}

.thank-you-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.45);
}

.thank-you-overlay.show {
  display: flex;
}

.thank-you-card {
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  padding: 16px 22px;
  border-radius: 12px;
  transform: scale(0.7);
  opacity: 0;
  animation: thankYouPop 900ms ease forwards;
}

@keyframes thankYouPop {
  0% {
    transform: scale(0.7) translateY(14px);
    opacity: 0;
  }

  60% {
    transform: scale(1.06) translateY(0);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.page-shell,
.featured,
.about,
.cta {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.page-shell {
  padding: 34px 20px 84px;
}

.featured {
  padding: 36px 20px 0;
}

.about,
.cta {
  padding: 0 20px;
  margin-top: 24px;
}

.luxury-hero {
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.32);
}

.process-hero {
  min-height: 76vh;
  background: #f6f6f6 url('../img/quote.JPG') center / cover no-repeat;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.luxury-hero .page-title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.94;
}

.luxury-hero p {
  margin-top: 12px;
  max-width: 700px;
  line-height: 1.7;
  color: var(--text-muted);
}

.premium-section {
  margin-top: 28px;
}

.handmade-carousel-wrap {
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.handmade-carousel-wrap .section-heading {
  margin-bottom: 12px;
}

.handmade-carousel-viewport {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.handmade-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  transition: transform 540ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.handmade-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  margin: 0;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  opacity: 1;
  transform: none;
  transition: none;
}

.handmade-slide.is-active {
  opacity: 1;
  transform: none;
}

.handmade-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 620px);
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: none;
}

.handmade-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  background: transparent;
  color: #111111;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.handmade-nav--prev {
  left: 8px;
}

.handmade-nav--next {
  right: 8px;
}

.handmade-nav:hover,
.handmade-nav:focus-visible {
  color: #000000;
  transform: translateY(-50%) scale(1.06);
}

.section-heading {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
}

.grid,
.premium-grid,
.process-grid {
  display: grid;
  gap: 16px;
}

.grid,
.premium-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.item,
.premium-card,
.process-step,
.about,
.cta {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--panel);
}

.item,
.premium-card,
.process-step {
  padding: 18px;
  color: #32230f;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.premium-card {
  display: flex;
  flex-direction: column;
}

.premium-card .waitBtn {
  margin-top: auto;
}

.item:hover,
.premium-card:hover,
.process-step:hover {
  transform: translateY(-2px);
  border-color: rgba(203, 183, 153, 0.48);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.premium-card h3,
.process-step h3 {
  margin: 4px 0 8px;
  font-size: 1.6rem;
}

.premium-card p,
.process-step p,
.about p {
  color: var(--text-muted);
  line-height: 1.65;
}

.about,
.cta {
  padding: 24px;
}

.about p {
  margin: 0 0 14px;
}

.cta {
  margin-bottom: 44px;
  background: rgba(255, 255, 255, 0.96);
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.waitBtn {
  margin-top: 12px;
  border: 1px solid var(--gold-soft);
  background: transparent;
  color: #111111;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.waitBtn:hover,
.waitBtn:focus-visible {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

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

.process-film {
  margin-top: 48px;
  padding: 40px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 244, 244, 0.88));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.process-film .eyebrow {
  text-align: center;
}

.process-film .section-heading {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-align: center;
  padding: 18px 24px;
  color: #ffffff;
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)), url('../img/artwork.jpg') center / cover no-repeat;
  border-radius: 10px;
}

.process-video-frame {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  background: #0f0f0f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  max-width: 960px;
  margin: 0 auto;
}

.process-video-frame video {
  display: block;
  width: 100%;
  height: min(74vh, 900px);
  max-height: 74vh;
  object-fit: contain;
  background: transparent;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.35);
  color: #111111;
  font-weight: 600;
}

.active-link {
  color: #111111 !important;
}

.active-link::after {
  transform: scaleX(1) !important;
}

.auth-body {
  min-height: 100vh;
  background: #ffffff;
}

.auth-page {
  min-height: calc(100vh - 96px);
  padding: 48px 20px 80px;
  display: flex;
  align-items: center;
}

.auth-showcase {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.auth-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111111;
  font-size: 0.8rem;
}

.eyebrow-image {
  margin: 12px 0;
  letter-spacing: normal;
  text-transform: none;
  font-size: 0;
}

.eyebrow-image img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 15px;
  border: 1px solid var(--line-soft);
}

.auth-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
}

.auth-copy p {
  color: rgba(0, 0, 0, 0.72);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 18px 0 0;
}

.login-page .auth-copy .eyebrow,
.login-page .auth-copy h1,
.login-page .auth-copy p {
  color: #ffffff;
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.auth-benefits span {
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  color: #111111;
  background: rgba(255, 255, 255, 0.96);
}

.auth-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: floatIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-panel h2,
.auth-panel h3 {
  margin: 0 0 10px;
}

.auth-panel--modal {
  width: min(92%, 420px);
  margin: 8vh auto;
  border-radius: 14px;
  padding: 26px 22px 20px;
}

.auth-panel--modal h3 {
  margin-bottom: 14px;
}

.auth-helper {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.68);
  margin-bottom: 14px;
}

.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.82);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }

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

@media (max-width: 900px) {
  .auth-showcase {
    grid-template-columns: 1fr;
  }

  .auth-copy {
    max-width: none;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-overlay {
    padding: 34px 24px;
  }
}

@media (max-width: 640px) {
  .auth-page {
    padding: 32px 16px 60px;
  }

  .auth-panel {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .auth-switch {
    flex-direction: column;
  }

  .page-shell,
  .featured,
  .about,
  .cta {
    padding-inline: 16px;
  }

  .luxury-hero {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .handmade-carousel-wrap {
    padding: 0;
  }

  .handmade-slide {
    aspect-ratio: 1 / 1;
    padding: 0;
    flex-basis: 100%;
  }

  .handmade-slide img {
    max-height: 56vh;
  }

  .handmade-nav {
    width: 34px;
    height: 34px;
    font-size: 1.4rem;
  }
}