/* =========================================================
   LILY.HAUS — FULL STYLESHEET
   Ethereal Editorial Portfolio
========================================================= */

/* =========================================================
   THEME VARIABLES
========================================================= */

:root{
  --bg:#fffaf9;
  --bg-secondary:#fcf5f6;
  --card:#ffffff;

  --text:#2f2a2a;
  --text-soft:#635b5b;

  --accent:#d8b7c0;
}

body.dark{
  --bg:#35252f;
  --bg-secondary:#4a3440;
  --card:#5f4552;

  --text:#fff1f5;
  --text-soft:#dbc3cb;

  --accent:#d8b7c0;
}

/* =========================================================
   RESET
========================================================= */

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

html{
  scroll-behavior:smooth;
}

::selection{
  background:#f4dce3;
  color:var(--text);
}

/* =========================================================
   BASE
========================================================= */

body{
  background:var(--bg);
  color:var(--text);

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

  line-height:1.7;

  overflow-x:hidden;

  cursor:none;
}

/* =========================================================
   LUXURY GRAIN
========================================================= */
body::before{
  content:"";

  position:fixed;
  inset:0;

  pointer-events:none;

  opacity:0.025;
.contact-direct{
  margin-top:40px;
  text-align:center;
}

.contact-direct a{
  font-family:'Cormorant Garamond', serif;

  font-size:clamp(28px, 4vw, 56px);

  color:var(--text);

  text-decoration:none;

  border-bottom:1px solid rgba(216,183,192,0.35);

  transition:
    opacity 0.3s ease,
    border-color 0.3s ease;
}

.contact-direct a:hover{
  opacity:0.7;
  border-color:var(--accent);
}
  background-image:url('grain.png');

  z-index:1;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3{
  font-family:'Cormorant Garamond', serif;
  font-weight:500;
}

/* =========================================================
   GLOBAL SECTION SYSTEM
========================================================= */

section{
  position:relative;

  padding:110px 8%;

  overflow:hidden;
}

/* LIGHT MODE ATMOSPHERIC BLENDING */

body:not(.dark) section::before,
body:not(.dark) section::after{
  content:"";

  position:absolute;
  left:0;

  width:100%;
  height:140px;

  pointer-events:none;

  z-index:0;
}

body:not(.dark) section::before{
  top:0;

  background:
    linear-gradient(
      to bottom,
      rgba(244,220,227,0.16),
      transparent
    );
}

body:not(.dark) section::after{
  bottom:0;

  background:
    linear-gradient(
      to top,
      rgba(244,220,227,0.08),
      transparent
    );
}

.section-ornament{
  display:flex;
  justify-content:center;
  align-items:center;

  font-size:28px;

  color:rgba(216,183,192,0.55);

  margin:-10px 0;

  letter-spacing:8px;

  position:relative;

  z-index:5;
}

.section-ornament::before,
.section-ornament::after{
  content:"";

  width:120px;
  height:1px;

  background:
    linear-gradient(
      to right,
      transparent,
      rgba(216,183,192,0.35),
      transparent
    );

  margin:0 18px;
}

/* =========================================================
   SECTION CONTENT LAYER
========================================================= */

section > *{
  position:relative;
  z-index:2;
}

.small-title{
  letter-spacing:4px;

  font-size:12px;

  color:#a28790;

  margin-bottom:20px;
}

/* =========================================================
   THEME TOGGLE
========================================================= */

#theme-toggle{
  width:42px;
  height:42px;

  border-radius:50%;

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

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

  backdrop-filter:blur(20px);

  color:#fff1f5;

  font-size:14px;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;

  flex-shrink:0;
}

#theme-toggle:hover{
  transform:translateY(-2px);

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

  border-color:rgba(255,255,255,0.2);
}

body:not(.dark) #theme-toggle{
  background:#f4dce3;

  border:1px solid #d8b7c0;

  color:#3a2a31;
}

body:not(.dark) #theme-toggle:hover{
  background:#efd3db;
}

/* =========================================================
   LOADER
========================================================= */

.loader{
  position:fixed;
  inset:0;

  background:var(--bg);

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:999999;

  animation:
    loaderFade 1.8s cubic-bezier(.77,0,.18,1) forwards;

  animation-delay:1.2s;
}

.loader-inner h1{
  font-family:'Cormorant Garamond', serif;

  font-size:58px;

  font-weight:500;

  letter-spacing:-1px;

  opacity:0;

  animation:loaderText 1.2s ease forwards;
}

@keyframes loaderText{
  from{
    opacity:0;
    transform:translateY(12px);
  }

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

@keyframes loaderFade{
  to{
    opacity:0;
    visibility:hidden;
  }
}

/* =========================================================
   CUSTOM CURSOR
========================================================= */

a,
button{
  cursor:none;
}

.cursor{
  width:22px;
  height:22px;

  position:fixed;
  top:0;
  left:0;

  transform:translate(-50%, -50%);

  pointer-events:none;

  z-index:99999;

  border-radius:50%;

  background:
    rgba(244,220,227,0.18);

  border:
    1.5px solid rgba(216,183,192,0.95);

  box-shadow:
    0 0 20px rgba(244,220,227,0.35),
    inset 0 0 10px rgba(255,255,255,0.35);

  backdrop-filter:blur(40px);

  transition:
    width 0.28s ease,
    height 0.28s ease,
    background 0.28s ease,
    transform 0.15s ease,
    box-shadow 0.28s ease;
}

/* =========================================================
   HERO
========================================================= */

.hero{
  min-height:100vh;

  display:grid;
  grid-template-columns:1fr 1fr;

  align-items:stretch;

  overflow:hidden;

  background:var(--bg);

  padding:0;
}

/* LEFT */

.hero-text{
  display:flex;
  flex-direction:column;
  justify-content:center;

  padding:0 8vw;

  position:relative;
  z-index:2;
}

.hero-text h1{
  font-size:clamp(58px, 5vw, 96px);

  line-height:0.95;

  margin-bottom:30px;
}

.hero-text p{
  max-width:620px;
}

/* RIGHT */

.hero-image{
  position:relative;

  min-height:100vh;

  overflow:hidden;
}

.hero-image img{
  width:100%;
  height:100%;

  object-fit:cover;
  object-position:58% center;

  display:block;
}

/* =========================================================
   BUTTONS
========================================================= */

.buttons{
  display:flex;

  gap:16px;

  margin-top:40px;

  align-items:center;
}

.buttons a{
  text-decoration:none;

  padding:16px 28px;

  border-radius:999px;

  background:#f4dce3;

  color:#3a2a31;

  font-weight:500;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;

  display:flex;
  align-items:center;
  justify-content:center;
}

.buttons a:hover{
  transform:translateY(-2px);

  box-shadow:
    0 10px 30px rgba(244,220,227,0.5);
}

.buttons .secondary{
  background:transparent;

  border:1px solid #d8b7c0;

  color:var(--text);
}

body.dark .buttons a{
  background:#f0d7df;

  color:#3a2a31;
}

body.dark .buttons .secondary{
  background:rgba(255,255,255,0.03);

  color:#fff1f5;

  border:1px solid rgba(255,255,255,0.14);
}

/* =========================================================
   STATS
========================================================= */

.stats{
  background:var(--bg-secondary);

  text-align:center;
}

.stats-inner{
  max-width:1400px;

  margin:0 auto;
}

.stats h2,
.gallery-section h2,
.brands h2,
.contact h2{
  font-size:54px;

  margin-bottom:25px;

  line-height:1.1;
}

.stats-text,
.contact-text{
  max-width:900px;

  margin:0 auto 70px;

  color:var(--text-soft);

  line-height:1.9;
}

.stats-grid{
  display:grid;

  grid-template-columns:repeat(4,1fr);

  gap:28px;

  margin-top:70px;
}

/* =========================================================
   STAT CARDS
========================================================= */

.card{
  position:relative;

  isolation:isolate;

  background:var(--card);

  padding:48px 24px;

  border-radius:28px;

  border:1px solid rgba(0,0,0,0.04);

  backdrop-filter:blur(20px);

  overflow:hidden;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06);
}

body.dark .card{
  background:
    radial-gradient(
      circle at top left,
      rgba(255,255,255,0.03),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(118,84,98,0.95),
      rgba(86,61,73,0.98)
    );

  border:1px solid rgba(255,255,255,0.08);
}

.card::before{
  content:"";

  position:absolute;
  inset:0;

  border-radius:inherit;

  background:
    radial-gradient(
      circle at top left,
      rgba(255,255,255,0.08),
      transparent 40%
    );

  opacity:0.7;

  pointer-events:none;
}

.card h3{
  font-size:48px;

  margin-bottom:12px;

  line-height:1;

  color:var(--text);
}

.card span{
  color:var(--text-soft);

  font-size:15px;

  letter-spacing:0.5px;
}

.card:hover{
  transform:translateY(-8px);

  border-color:rgba(216,183,192,0.25);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.12);
}

/* =========================================================
   UGC SECTION
========================================================= */

.ugc-section{
  background:var(--bg);

  text-align:center;
}

.ugc-text{
  max-width:850px;

  margin:0 auto 42px;

  color:var(--text-soft);

  line-height:1.9;
}

.ugc-grid{
  display:grid;

  grid-template-columns:repeat(2,1fr);

  gap:28px;

  max-width:1300px;

  margin:0 auto;
}

.ugc-card{
  background:var(--card);

  background-image:
    radial-gradient(
      circle at top right,
      rgba(244,220,227,0.22),
      transparent 35%
    );

  border-radius:30px;

  min-height:220px;

  padding:42px;

  border:1px solid rgba(216,183,192,0.16);

  text-align:left;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;

  backdrop-filter:blur(20px);
}

.ugc-card:hover{
  transform:translateY(-6px);

  border-color:rgba(216,183,192,0.3);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.06);
}

.ugc-card h3{
  font-size:34px;

  margin-bottom:18px;
}

.ugc-card span{
  color:var(--text-soft);

  line-height:1.8;

  font-size:15px;
}

body.dark .ugc-card{
  background:
    radial-gradient(
      circle at top left,
      rgba(255,255,255,0.03),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      rgba(118,84,98,0.95),
      rgba(86,61,73,0.98)
    );

  border:1px solid rgba(255,255,255,0.08);
}

/* =========================================================
   GALLERY
========================================================= */

.gallery-section{
  text-align:center;
}

.gallery{
  columns:4 280px;

  column-gap:20px;

  margin-top:50px;
}

.gallery img{
  width:100%;

  margin-bottom:20px;

  border-radius:24px;

  transition:
    transform 0.5s ease,
    opacity 0.5s ease;

  display:block;
}

.gallery img:hover{
  transform:scale(1.025);

  opacity:0.96;
}

/* =========================================================
   BRANDS
========================================================= */

.brands{
  background:var(--bg-secondary);

  text-align:center;
}

.brand-grid{
  display:grid;

  grid-template-columns:repeat(4,1fr);

  gap:24px;

  margin-top:60px;
}

.brand-grid div{
  background:var(--card);

  backdrop-filter:blur(20px);

  border:1px solid rgba(216,183,192,0.25);

  padding:34px 20px;

  border-radius:28px;

  font-size:15px;

  letter-spacing:2px;

  text-transform:uppercase;

  display:flex;
  align-items:center;
  justify-content:center;

  min-height:110px;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;

  color:var(--text);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.03),
    inset 0 1px 0 rgba(255,255,255,0.4);
}

.brand-grid div:hover{
  transform:
    translateY(-6px)
    scale(1.015);

  background:#f8eef1;

  color:#3a2a31;

  border-color:#e7cbd4;

  box-shadow:
    0 20px 50px rgba(216,183,192,0.18);
}

/* =========================================================
   CONTACT
========================================================= */

.contact{
  text-align:center;

  border-top:1px solid rgba(255,255,255,0.05);
}

body:not(.dark) .contact{
  border-top:1px solid rgba(0,0,0,0.04);
}

.contact form{
  max-width:720px;

  margin:0 auto;
}

.contact input,
.contact textarea{
  width:100%;
}

form{
  max-width:700px;

  margin:0 auto;

  display:flex;
  flex-direction:column;

  gap:20px;
}

input,
textarea{
  padding:18px;

  border-radius:20px;

  border:1px solid #ead8de;

  background:var(--card);

  color:var(--text);

  font-size:16px;

  outline:none;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

textarea{
  min-height:160px;

  resize:vertical;
}

input:focus,
textarea:focus{
  border-color:#d8b7c0;

  box-shadow:
    0 0 0 4px rgba(244,220,227,0.3);
}

button{
  padding:18px;

  border:none;

  border-radius:999px;

  background:#f4dce3;

  cursor:pointer;

  font-size:16px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

  box-shadow:
    0 10px 30px rgba(244,220,227,0.5);
}

.direct-email{
  margin-top:28px;

  text-align:center;

  font-size:14px;

  color:var(--text-soft);
}

.direct-email a{
  color:var(--text);

  text-decoration:none;

  border-bottom:1px solid rgba(216,183,192,0.4);

  transition:opacity 0.3s ease;
}

.direct-email a:hover{
  opacity:0.7;
}

/* =========================================================
   FOOTER
========================================================= */

footer{
  text-align:center;

  padding:60px 20px;

  color:#8b7f7f;

  font-family:'Cormorant Garamond', serif;

  font-size:28px;

  border-top:1px solid rgba(216,183,192,0.2);
}

/* =========================================================
   REVEAL ANIMATION
========================================================= */

.fade-up{
  opacity:0;

  transform:translateY(40px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fade-up.visible{
  opacity:1;

  transform:translateY(0);
}

/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

  body{
    cursor:auto;
  }

  .cursor{
    display:none;
  }

  .hero{
    grid-template-columns:1fr;

    min-height:auto;
  }

  .hero-image{
    order:1;

    width:100%;

    height:60vh;
  }

  .hero-text{
    order:2;

    padding:80px 8%;
  }

  .hero-text h1{
    font-size:56px;
  }

  .stats-grid,
  .brand-grid{
    grid-template-columns:1fr 1fr;
  }

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

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:600px){

  section{
    padding:90px 6%;
  }

  .hero-text h1,
  .stats h2,
  .gallery-section h2,
  .brands h2,
  .contact h2{
    font-size:42px;
  }

  .stats-grid,
  .brand-grid{
    grid-template-columns:1fr;
  }

  .buttons{
    flex-direction:column;

    align-items:stretch;
  }

  .buttons a{
    width:100%;

    text-align:center;
  }

  #theme-toggle{
    width:48px;
    height:48px;

    align-self:flex-start;
  }
}



.contact-direct{
  margin-top:70px;
  text-align:center;
}

.contact-direct a{
  display:inline-block;

  font-family:'Cormorant Garamond', serif;

  font-size:clamp(42px, 5vw, 72px);

  font-weight:500;

  color:var(--text);

  text-decoration:none;

  letter-spacing:0.02em;

  transition:opacity 0.3s ease;
}

.contact-direct a:hover{
  opacity:0.7;
}
