/* ============================================
   VOCE BEAUTY — Global Stylesheet
   Mobile-first, editorial luxury design
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --beige: #FBE8D5;
  --rose: #D5A1A0;
  --gris-bleu: #DDE5E8;
  --or-olive: #847E2A;
  --bordeaux: #7E2F38;
  --noir: #1A1A1A;
  --blanc: #FEFEFE;
  --beige-dark: #E8D4C0;
  --font-main: 'IBM Plex Sans KR', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle auto at 50% 0%, var(--blanc) 0%, var(--beige) 100%);
  background-attachment: fixed;
  color: var(--noir);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Custom Cursor disabled --- */
.cursor-dot,
.cursor-outline {
  display: none;
}

/* --- Grain Overlay --- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.8;
  /* Slightly stronger grain */
  mix-blend-mode: multiply;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 6vw, 4.5rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  font-weight: 300;
}

.text-sm {
  font-size: 0.85rem;
  font-weight: 300;
}

.font-display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.text-accent {
  color: var(--bordeaux);
  font-family: var(--font-display);
  font-style: italic;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s, padding 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(251, 232, 213, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.8rem 1.5rem;
  box-shadow: 0 10px 40px rgba(126, 47, 56, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.nav__logo {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bordeaux);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--noir);
  position: relative;
  transition: color 0.3s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--bordeaux);
  transition: width 0.4s var(--ease-out-expo);
}

.nav__links a:hover::after,
.nav__links a:focus::after {
  width: 100%;
}

.nav__links a:hover {
  color: var(--bordeaux);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 101;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--noir);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}

.nav__toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--beige);
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__links a {
    font-size: 1.4rem;
  }
}

/* --- Section Utilities --- */
section {
  position: relative;
}

.container {
  width: 100%;
  max-width: 1400px;
  /* Increased for more dramatic margins */
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad {
  padding: 8rem 0;
}

@media (min-width: 769px) {
  .section-pad {
    padding: 15vh 0;
    /* Dramatic spacing */
  }
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  /* More dramatic jump */
  transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
  will-change: opacity, transform;
}

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

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

.reveal-delay-4 {
  transition-delay: 0.6s;
}

.reveal-delay-5 {
  transition-delay: 0.75s;
}

/* Parallax Elements */
.parallax-bg {
  will-change: transform;
}

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

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

/* --- HERO SECTION --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--noir);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s var(--ease-out-expo), transform 1.8s var(--ease-out-expo);
}

video.hero__bg {
  object-fit: cover;
}

.hero__bg.loaded {
  opacity: 1;
  transform: scale(1);
}

.hero__bg-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--beige-dark) 50%, var(--gris-bleu) 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(26, 26, 26, 0.7) 0%,
      rgba(26, 26, 26, 0.2) 40%,
      transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
}

@media (min-width: 769px) {
  .hero__content {
    padding: 4rem 6rem;
  }
}

.hero__title {
  font-family: var(--font-main);
  color: var(--blanc);
  font-size: clamp(2.8rem, 9vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s 0.3s var(--ease-out-expo), transform 0.9s 0.3s var(--ease-out-expo);
}

.hero__title.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero__bottom-text {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 2;
  text-align: right;
  max-width: 300px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s 0.6s var(--ease-out-expo), transform 0.9s 0.6s var(--ease-out-expo);
}

.hero__bottom-text p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--blanc);
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 769px) {
  .hero__bottom-text {
    bottom: 4rem;
    right: 4rem;
    max-width: 350px;
  }
}

.hero__bottom-text.animate {
  opacity: 1;
  transform: translateY(0);
}

/* --- MANIFESTO SECTION --- */
.manifesto {
  background: radial-gradient(ellipse at center, var(--gris-bleu) 0%, #c9d6dc 100%);
  padding: 8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  .manifesto {
    padding: 15vh 4rem;
  }
}

.manifesto__text {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--noir);
}

.manifesto__text em {
  font-style: italic;
}

/* --- PORTRAITS SECTION --- */
.portraits {
  background: rgba(251, 232, 213, 0.85);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;
}

@media (min-width: 769px) {
  .portraits {
    padding: 8rem 4rem;
  }
}

/* Statement header for canvas */
.portraits__header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 769px) {
  .portraits__header {
    margin-bottom: 5rem;
  }
}

.portraits__title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--noir);
  line-height: 1.05;
}

/* Portrait grid */
.portraits__grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .portraits__grid {
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }
}

/* Individual portrait card */
.portrait-block {
  flex: 1;
  position: relative;
}

@media (min-width: 769px) {

  .portrait-block--left,
  .portrait-block--right,
  .portrait-block--center {
    margin-top: 0;
  }
}

.portrait-block__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(26, 26, 26, 0.05);
}

.portrait-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.portrait-block:hover .portrait-block__image img {
  transform: scale(1.04);
}

/* Reveal animation */
.reveal-portrait {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

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

/* Mobile: horizontal scroll snap */
@media (max-width: 768px) {
  .portraits__grid {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.2rem;
    padding-bottom: 1rem;
  }

  .portrait-block {
    min-width: 75vw;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

.about-content__image {
  position: relative;
  width: 100%;
  max-width: 450px;
  /* slightly thinner to fit the arch */
  aspect-ratio: 2 / 3;
  /* Taller aspect ratio for arch */
  background: var(--beige-dark);

  /* The "Arch" look - a classic editorial staple */
  border-radius: 50% 50% 0 0 / 25% 25% 0 0;

  overflow: hidden;
  box-shadow: 0 40px 80px rgba(126, 47, 56, 0.12), 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.8s var(--ease-out-expo), box-shadow 0.8s var(--ease-out-expo), border-radius 0.8s;

  /* Additional decorative frame element */
  border: 1px solid rgba(132, 126, 42, 0.2);
  /* Olive gold subtle tint */
}

@media (min-width: 769px) {
  .about-content__image {
    flex: 1;
    margin-top: -12vh;
    /* Pull up more aggressively */
    transform-origin: bottom center;
  }
}

.about-content__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.2s ease, transform 1.5s var(--ease-out-expo);
}

.about-content__image img.loaded {
  opacity: 1;
  transform: scale(1);
}

.about-content__image:hover {
  transform: translateY(-15px);
  box-shadow: 0 50px 100px rgba(126, 47, 56, 0.2), 0 15px 35px rgba(0, 0, 0, 0.1);
  /* The arch gets slightly more pronounced on hover */
  border-radius: 50% 50% 2% 2% / 30% 30% 2% 2%;
}

/* (Old portrait grid styles removed — now using portrait-block layout) */

/* Canvas on portraits */
.portrait-block__image.canvas-container {
  touch-action: none;
  cursor: crosshair;
}

.portrait-block__image.canvas-container canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Shared tools bar below portraits */
.portraits__tools {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Manifesto button */
.manifesto__cta {
  text-align: center;
  margin-top: 3rem;
}

.manifesto__btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'IBM Plex Sans KR', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--noir);
  border: 1.5px solid rgba(26, 26, 26, 0.25);
  transition: background 0.4s, border-color 0.4s;
}

.manifesto__btn:hover {
  background: rgba(26, 26, 26, 0.05);
  border-color: var(--noir);
}

/* --- CANVAS / INTERACTIVE SECTION --- */
.interactive {
  background: var(--blanc);
  padding: 8rem 1.5rem;
  position: relative;
}

@media (min-width: 769px) {
  .interactive {
    padding: 15vh 4rem;
  }
}

.interactive__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.interactive__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--bordeaux);
  margin-bottom: 1rem;
}

.interactive__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(26, 26, 26, 0.6);
}

.interactive__layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .interactive__layout {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
}

.canvas-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--beige-dark);
  border-radius: 1.5rem;
  /* Rounded canvas */
  overflow: hidden;
  touch-action: none;
  box-shadow: 0 30px 60px rgba(126, 47, 56, 0.15), 0 10px 25px rgba(0, 0, 0, 0.05);
  /* Deeper shadow */
}

@media (min-width: 769px) {
  .canvas-container {
    flex: 1.5;
  }
}

.canvas-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.canvas-container canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.canvas-tools {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.6);
  /* Glassmorphism effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(126, 47, 56, 0.08), 0 2px 10px rgba(0, 0, 0, 0.03);
}

@media (min-width: 769px) {
  .canvas-tools {
    flex: 1;
    padding: 3rem;
  }
}

.tools-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tools-group__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(26, 26, 26, 0.5);
  font-weight: 500;
}

.canvas-tools__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.color-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.1);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
  cursor: pointer;
  position: relative;
}

.color-swatch::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.4s;
}

.color-swatch:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.color-swatch.active::after {
  border-color: var(--noir);
}

/* Custom Size Slider (Horizontal line) */
.size-slider-wrap {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.size-slider-track {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: rgba(26, 26, 26, 0.2);
}

.size-slider-thumb {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--noir);
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  transition: transform 0.2s;
}

.size-slider-thumb:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.2);
}

.canvas-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.canvas-btn {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--noir);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--noir);
  border-radius: 30px;
  /* Pill shape for buttons */
}

.canvas-btn:hover {
  background: var(--noir);
  color: var(--blanc);
  box-shadow: 0 10px 20px rgba(26, 26, 26, 0.2);
}

.canvas-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- SIGNUP / FORM SECTION --- */
.signup {
  background: var(--bordeaux);
  color: var(--blanc);
  padding: 10rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 769px) {
  .signup {
    padding: 20vh 4rem;
    min-height: 80vh;
  }
}

.signup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(213, 161, 160, 0.15), transparent 60%);
  pointer-events: none;
}

.signup__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.signup__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--blanc);
}

.signup__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(254, 254, 254, 0.8);
  margin-bottom: 4rem;
  line-height: 1.6;
}

form {
  position: relative;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

@media (min-width: 769px) {
  .form-group {
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
  }
}

input[type="email"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(254, 254, 254, 0.3);
  padding: 1rem 0;
  font-size: 1.2rem;
  color: var(--blanc);
  font-family: inherit;
  transition: border-color 0.4s;
  border-radius: 0;
}

input[type="email"]::placeholder {
  color: rgba(254, 254, 254, 0.4);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
}

input[type="email"]:focus {
  outline: none;
  border-bottom-color: var(--blanc);
}

.submit-btn {
  padding: 1.2rem 3rem;
  background: transparent;
  color: var(--blanc);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--blanc);
  position: relative;
  overflow: hidden;
  transition: color 0.4s, border-color 0.4s, box-shadow 0.4s;
  min-height: 54px;
  border-radius: 30px;
  /* Pill shape */
}

@media (min-width: 769px) {
  .submit-btn {
    margin-left: 2rem;
    flex-shrink: 0;
  }
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--or-olive);
  transform: translateX(-101%);
  transition: transform 0.6s var(--ease-out-expo);
  z-index: -1;
}

.submit-btn:hover::before {
  transform: translateX(0);
}

.submit-btn:hover {
  border-color: var(--or-olive);
  box-shadow: 0 10px 25px rgba(132, 126, 42, 0.3);
  /* Glow effect */
}

.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  margin-top: 2rem;
}

/* Custom Checkbox */
.consent-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(254, 254, 254, 0.4);
  border-radius: 0;
  outline: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 4px;
  background: transparent;
  transition: border-color 0.3s;
}

.consent-group input[type="checkbox"]:checked {
  border-color: var(--or-olive);
}

.consent-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  background: var(--or-olive);
}

.consent-group label {
  font-size: 0.8rem;
  color: rgba(254, 254, 254, 0.6);
  line-height: 1.6;
  cursor: pointer;
}

.consent-group a {
  color: var(--blanc);
  text-decoration: underline;
  text-decoration-color: rgba(254, 254, 254, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}

.consent-group a:hover {
  text-decoration-color: var(--blanc);
}

/* Form success message */
.form-message {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: var(--blanc);
  height: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.form-message.success {
  height: auto;
  opacity: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--or-olive);
}

.form-message.error {
  height: auto;
  opacity: 1;
  color: #ffb4b4;
}

.ohnohoney {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

/* --- FOOTER --- */
.footer {
  background: var(--noir);
  color: var(--blanc);
  padding: 4rem 1.5rem;
  text-align: center;
}

@media (min-width: 769px) {
  .footer {
    padding: 6rem 4rem;
  }
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 769px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--blanc);
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(254, 254, 254, 0.6);
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--blanc);
}

.footer__social {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__social a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(254, 254, 254, 0.6);
  transition: color 0.3s;
}

.footer__social a:hover {
  color: var(--blanc);
}

.footer__copy {
  margin-top: 4rem;
  font-size: 0.75rem;
  color: rgba(254, 254, 254, 0.4);
  letter-spacing: 0.05em;
  text-align: center;
  border-top: 1px solid rgba(254, 254, 254, 0.1);
  padding-top: 2rem;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* --- About Hero --- */
.about-hero {
  padding: 10rem 1.5rem 4rem;
  text-align: center;
  background: var(--beige);
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  .about-hero {
    padding: 11rem 4rem 5rem;
  }
}

.about-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or-olive);
  margin-bottom: 1.5rem;
}

.about-hero__title {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--bordeaux);
}

.about-hero__line {
  width: 50px;
  height: 1px;
  background: var(--bordeaux);
  margin: 2.5rem auto 0;
  opacity: 0.4;
}

/* --- Founder Section --- */
.about-founder {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 70vh;
}

@media (min-width: 769px) {
  .about-founder {
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
  }
}

.about-founder__image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  background: var(--gris-bleu);
}

@media (min-width: 769px) {
  .about-founder__image-wrap {
    min-height: auto;
  }
}

.about-founder__image {
  position: absolute;
  inset: 0;
}

.about-founder__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.about-founder__image:hover img {
  transform: scale(1.03);
}

.about-founder__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--noir);
  color: var(--blanc);
}

@media (min-width: 769px) {
  .about-founder__content {
    padding: 5rem 4rem 5rem 5rem;
  }
}

@media (min-width: 1100px) {
  .about-founder__content {
    padding: 6rem 6rem 6rem 7rem;
  }
}

.about-founder__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or-olive);
  margin-bottom: 1rem;
}

.about-founder__name {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--blanc);
  line-height: 1.1;
}

.about-founder__divider {
  width: 40px;
  height: 1px;
  background: var(--rose);
  margin: 2rem 0;
  opacity: 0.6;
}

.about-founder__bio {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.9;
  font-weight: 300;
  color: rgba(254, 254, 254, 0.75);
  max-width: 500px;
}

/* --- Philosophy Section --- */
.about-philosophy {
  background: var(--beige);
  padding: 6rem 1.5rem;
}

@media (min-width: 769px) {
  .about-philosophy {
    padding: 8rem 4rem;
  }
}

.about-philosophy__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 769px) {
  .about-philosophy__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
}

.about-philosophy__block {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.about-philosophy__number {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--or-olive);
  margin-bottom: 1.5rem;
}

.about-philosophy__heading {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--bordeaux);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.about-philosophy__block p {
  font-size: clamp(0.9rem, 1.3vw, 1rem);
  line-height: 1.85;
  font-weight: 300;
  color: rgba(26, 26, 26, 0.7);
}

/* --- Quote Section --- */
.about-quote {
  background: var(--noir);
  padding: 6rem 2rem;
  text-align: center;
}

@media (min-width: 769px) {
  .about-quote {
    padding: 8rem 4rem;
  }
}

.about-quote__text {
  max-width: 800px;
  margin: 0 auto;
}

.about-quote__text p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--blanc);
  letter-spacing: -0.01em;
}

.about-quote__cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--font-main);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or-olive);
}

/* --- ADMIN PAGE --- */
.admin {
  min-height: 100vh;
  background: #f4f0ec;
}

/* --- Login --- */
.admin__login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--beige) 0%, var(--gris-bleu) 100%);
}

.admin__login-card {
  background: var(--blanc);
  padding: 3rem 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(0, 0, 0, 0.04);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.admin__login-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.admin__login-card h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--bordeaux);
  margin-bottom: 0.4rem;
}

.admin__login-card p {
  font-size: 0.85rem;
  color: rgba(26, 26, 26, 0.45);
  margin-bottom: 2rem;
}

.admin__login-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.admin__input-wrap {
  position: relative;
}

.admin__login-form input[type="password"] {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  border: 1.5px solid rgba(26, 26, 26, 0.12);
  border-radius: 0.5rem;
  background: #fafafa;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.admin__login-form input[type="password"]:focus {
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(126, 47, 56, 0.08);
}

.admin__login-form button {
  padding: 0.9rem;
  background: var(--bordeaux);
  color: var(--blanc);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0.5rem;
  transition: background 0.3s, transform 0.2s;
  min-height: 48px;
}

.admin__login-form button:hover {
  background: #6b2730;
  transform: translateY(-1px);
}

.admin__login-error {
  color: var(--bordeaux);
  font-size: 0.8rem;
  margin-top: 0.8rem;
  display: none;
}

/* --- Dashboard --- */
.admin__dashboard {
  display: none;
}

.admin__dashboard.visible {
  display: block;
}

/* Top bar */
.admin__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  background: var(--blanc);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin__topbar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin__topbar-logo {
  height: 28px;
  width: auto;
  opacity: 0.7;
}

.admin__topbar-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bordeaux);
}

.admin__logout {
  padding: 0.45rem 1rem;
  border: 1.5px solid rgba(26, 26, 26, 0.15);
  border-radius: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
  transition: all 0.3s;
}

.admin__logout:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}

/* Content area */
.admin__content {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

@media (min-width: 769px) {
  .admin__content {
    padding: 2.5rem 2rem 4rem;
  }
}

/* Stat card */
.admin__stats-row {
  margin-bottom: 2rem;
}

.admin__stat-card {
  display: inline-flex;
  flex-direction: column;
  background: var(--blanc);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(26, 26, 26, 0.05);
}

.admin__stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--bordeaux);
  letter-spacing: -0.03em;
  line-height: 1;
}

.admin__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.4);
  margin-top: 0.4rem;
}

/* Panel */
.admin__panel {
  background: var(--blanc);
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(26, 26, 26, 0.05);
  overflow: hidden;
}

.admin__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.admin__panel-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--noir);
}

.admin__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin__actions input[type="text"] {
  min-width: 180px;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  border: 1.5px solid rgba(26, 26, 26, 0.1);
  border-radius: 0.4rem;
  background: #fafafa;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.admin__actions input[type="text"]:focus {
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(126, 47, 56, 0.06);
}

.admin__actions button {
  padding: 0.55rem 1.2rem;
  background: var(--noir);
  color: var(--blanc);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.4rem;
  transition: background 0.3s;
  white-space: nowrap;
}

.admin__actions button:hover {
  background: var(--bordeaux);
}

/* Table */
.admin__table-wrap {
  overflow-x: auto;
}

.admin__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin__table th {
  text-align: left;
  padding: 0.75rem 1.2rem;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.4);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.admin__table td {
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.04);
  font-weight: 300;
  color: var(--noir);
}

.admin__table tr:hover td {
  background: rgba(251, 232, 213, 0.25);
}

.admin__table td:first-child,
.admin__table th:first-child {
  color: rgba(26, 26, 26, 0.3);
  width: 50px;
}

/* --- Loading spinner --- */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(254, 254, 254, 0.3);
  border-top-color: var(--blanc);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.4rem;
}

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

/* --- Print --- */
@media print {

  .nav,
  .cursor-dot,
  .cursor-outline,
  body::after {
    display: none !important;
  }
}