/* =========================================================
   58Flowers — Atelier blush palette + mobile-first polish
   ========================================================= */
:root{
  --bg:           #FDF6F4;
  --bg-2:         #F9ECE7;
  --blush:        #F9D8D1;
  --blush-deep:   #EFB8AE;
  --rose:         #C97B6E;
  --mauve:        #8B4A4A;
  --ink:          #2A1F1E;
  --mute:         #6B5751;
  --line:         #EAD9D2;
  --gold:         #C9A961;
  --gold-soft:    #B8945A;
  --white:        #FFFFFF;
  --container:    1280px;
  --gutter:       24px;
  --gutter-mobile:18px;
  --radius:       2px;
  --radius-lg:    6px;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; }
body{
  font-family:'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size:15px; line-height:1.6;
  color:var(--ink); background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ cursor:pointer; font-family:inherit; }

/* Type */
.eyebrow{
  display:inline-block;
  font-size:11px; letter-spacing:.28em;
  text-transform:uppercase; font-weight:500;
  color:var(--mauve);
}
.eyebrow--gold{ color:var(--gold-soft); }
.eyebrow--light{ color:var(--blush); }
.h1, h1, h2.h1{
  font-family:'Noto Serif', Georgia, serif;
  font-weight:400; font-style:italic;
  font-size:clamp(34px,5vw,64px);
  line-height:1.05; color:var(--mauve);
  margin:12px 0 0; letter-spacing:-.01em;
}
.muted{ color:var(--mute); }
.rule{ display:block; width:48px; height:1px; background:var(--blush-deep); margin:24px auto 0; }
.section-head{ text-align:center; margin:0 auto 56px; max-width:680px; padding:0 var(--gutter); }

/* Buttons */
.btn{
  display:inline-block; padding:14px 28px;
  font-size:12px; letter-spacing:.18em;
  text-transform:uppercase; font-weight:600;
  border:1px solid transparent; border-radius:var(--radius);
  transition:all .25s ease; text-align:center;
  min-height:44px;
}
.btn--gold{ background:var(--mauve); color:var(--white); border-color:var(--mauve); }
.btn--gold:hover{ background:var(--rose); border-color:var(--rose); }
.btn--ghost{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.7); }
.btn--ghost:hover{ background:rgba(255,255,255,.12); }
.btn--ghost-dark{ background:transparent; color:var(--mauve); border-color:var(--mauve); }
.btn--ghost-dark:hover{ background:var(--mauve); color:var(--white); }
.btn--block{ display:block; width:100%; }

/* Header */
.site-header{
  background:var(--blush);
  border-bottom:1px solid rgba(139,74,74,.10);
  position:sticky; top:0; z-index:50;
}
.site-header__inner{
  max-width:var(--container); margin:0 auto;
  padding:14px var(--gutter);
  display:flex; align-items:center; gap:24px;
}
.brand{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-size:24px;
  color:var(--mauve); letter-spacing:.01em;
  display:inline-flex; align-items:baseline;
  line-height:1;
  white-space:nowrap;
}
.brand__tld{
  font-style:italic; font-size:13px;
  color:var(--rose); letter-spacing:.06em;
  margin-left:2px;
}
.nav{ display:flex; gap:32px; margin-left:32px; flex:1; }
.nav a{
  font-size:13px; letter-spacing:.06em;
  color:var(--ink); position:relative;
  padding:6px 0; transition:color .2s;
}
.nav a:hover, .nav a.is-active{ color:var(--mauve); }
.nav a.is-active::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px;
  height:1px; background:var(--mauve);
}

/* Lang switch */
.lang{
  display:inline-flex; align-items:center;
  border:1px solid rgba(139,74,74,.25);
  border-radius:999px; overflow:hidden;
  background:rgba(255,255,255,.5);
}
.lang button{
  background:transparent; border:0;
  padding:6px 12px; font-size:11px;
  letter-spacing:.12em; color:var(--mauve);
  font-weight:600; min-height:32px;
}
.lang button.is-active{ background:var(--mauve); color:var(--white); }

.icons{ display:flex; gap:10px; align-items:center; }
.nav-toggle{
  display:none; font-size:22px;
  background:transparent; border:0; color:var(--mauve);
  width:44px; height:44px;
  align-items:center; justify-content:center;
}

/* Hero */
.hero{
  position:relative; min-height:88vh;
  overflow:hidden; display:flex; align-items:center;
  background:var(--bg-2);
}
.hero__media{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  filter:brightness(.78);
}
.hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(42,31,30,.10) 0%, rgba(139,74,74,.45) 100%);
}
.hero__inner{
  position:relative; z-index:2;
  max-width:var(--container); margin:0 auto;
  padding:120px var(--gutter); color:var(--white);
}
.hero__heading{
  font-family:'Noto Serif', Georgia, serif;
  font-weight:400; font-style:italic;
  font-size:clamp(40px, 7vw, 88px); line-height:1.05;
  margin:16px 0 24px; max-width:780px; color:var(--white);
}
.hero__sub{
  max-width:560px; color:rgba(255,255,255,.92);
  font-size:17px; margin:0 0 36px;
}
.hero__cta{ display:flex; gap:14px; flex-wrap:wrap; }
.hero .btn--gold{ background:var(--gold); color:var(--mauve); border-color:var(--gold); }
.hero .btn--gold:hover{ background:var(--blush); border-color:var(--blush); }

/* Promises */
.promises{ background:var(--blush); padding:72px 0; }
.promises__grid{
  max-width:var(--container); margin:0 auto;
  padding:0 var(--gutter);
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:48px; text-align:center;
}
.promise h3{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-weight:400;
  font-size:24px; color:var(--mauve);
  margin:0 0 12px;
}
.promise p{ color:var(--mute); margin:0; font-size:14px; }
.promise__icon{ font-size:32px; color:var(--rose); margin-bottom:14px; }

/* Collections */
.collections{ padding:96px 0; background:var(--bg); }
.collections__grid{
  max-width:var(--container); margin:0 auto;
  padding:0 var(--gutter);
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.card{ display:block; text-align:center; transition:transform .35s ease; }
.card:hover{ transform:translateY(-6px); }
.card__media{
  aspect-ratio:3/4; overflow:hidden;
  background:var(--bg-2); border-radius:var(--radius-lg);
  margin-bottom:20px;
}
.card__media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .8s ease;
}
.card:hover .card__media img{ transform:scale(1.05); }
.card__title{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-size:24px;
  font-weight:400; color:var(--mauve);
  margin:0 0 8px;
}
.card__sub{ color:var(--mute); margin:0 0 12px; font-size:14px; }
.card__price{ color:var(--ink); font-weight:600; margin:0 0 12px; font-size:14px; }
.card__cta{
  font-size:11px; letter-spacing:.22em;
  text-transform:uppercase; color:var(--rose);
  font-weight:600;
}

/* Philosophy */
.philosophy{ background:var(--mauve); color:var(--white); padding:96px 0; }
.philosophy__inner{
  max-width:var(--container); margin:0 auto;
  padding:0 var(--gutter);
  display:grid; grid-template-columns:1fr 1fr;
  gap:64px; align-items:center;
}
.philosophy__heading{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-weight:400;
  font-size:clamp(30px, 4vw, 48px);
  line-height:1.15; color:var(--blush);
  margin:16px 0 24px;
}
.philosophy__text{ font-size:16px; color:rgba(255,255,255,.85); margin:0 0 32px; }
.stats{ display:flex; align-items:center; gap:40px; }
.stat__num{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-size:54px;
  line-height:1; color:var(--blush); margin:0;
}
.stat__label{
  font-size:11px; letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(255,255,255,.7); margin:8px 0 0;
}
.stat__sep{ width:1px; height:60px; background:rgba(249,216,209,.4); }
.philosophy__media{ position:relative; aspect-ratio:4/5; }
.philosophy__frame{
  position:absolute; inset:-12px -12px 12px 12px;
  border:1px solid var(--gold); border-radius:var(--radius);
}
.philosophy__img{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  border-radius:var(--radius);
}

/* Masterpieces */
.masterpieces{ padding:96px 0; background:var(--bg-2); }
.masterpieces__head{
  max-width:var(--container); margin:0 auto 48px;
  padding:0 var(--gutter);
  display:flex; justify-content:space-between;
  align-items:flex-end; gap:20px;
}
.arrows{ display:flex; gap:10px; }
.arrow{
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--blush-deep);
  background:transparent; color:var(--mauve);
  font-size:22px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  transition:all .2s;
}
.arrow:hover{ background:var(--mauve); color:var(--white); border-color:var(--mauve); }
.masterpieces__grid{
  max-width:var(--container); margin:0 auto;
  padding:0 var(--gutter);
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.product{ text-align:left; }
.product__media-link{
  display:block; aspect-ratio:1/1;
  background:var(--bg); border-radius:var(--radius-lg);
  overflow:hidden; margin-bottom:14px;
}
.product__media-link img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .8s ease;
}
.product__media-link:hover img{ transform:scale(1.06); }
.product__type{
  font-size:11px; letter-spacing:.2em;
  text-transform:uppercase; color:var(--rose); margin:0 0 6px;
}
.product__title{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-weight:400;
  font-size:22px; margin:0 0 6px; color:var(--mauve);
}
.product__price{ margin:0 0 14px; font-size:15px; color:var(--ink); }

/* Testimonial */
.testimonial{ background:var(--bg); padding:96px 0; text-align:center; }
.testimonial__inner{ max-width:760px; margin:0 auto; padding:0 var(--gutter); }
.testimonial__mark{
  font-family:'Noto Serif', Georgia, serif;
  font-size:80px; color:var(--blush-deep);
  line-height:.5; margin-bottom:24px;
}
.testimonial__quote{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-size:clamp(22px, 2.4vw, 30px);
  line-height:1.4; color:var(--mauve); margin:0 0 28px;
}
.testimonial__name{ margin:0; font-size:14px; font-weight:600; letter-spacing:.06em; color:var(--ink); }
.testimonial__role{ margin:4px 0 0; font-size:12px; color:var(--mute); letter-spacing:.18em; text-transform:uppercase; }

/* Newsletter */
.newsletter{ background:var(--mauve); color:var(--white); padding:72px 0; }
.newsletter__inner{
  max-width:var(--container); margin:0 auto;
  padding:0 var(--gutter);
  display:grid; grid-template-columns:1fr 1fr;
  gap:48px; align-items:center;
}
.newsletter h2{ color:var(--blush); }
.newsletter p{ color:rgba(255,255,255,.85); }
.newsletter__form{ display:flex; gap:12px; flex-wrap:wrap; }
.newsletter .input{
  flex:1; min-width:220px;
  padding:14px 18px; min-height:48px;
  border:1px solid rgba(255,255,255,.3);
  background:transparent; color:var(--white);
  font:inherit; border-radius:var(--radius);
}
.newsletter .input::placeholder{ color:rgba(255,255,255,.5); }
.newsletter .btn--gold{ background:var(--gold); color:var(--mauve); border-color:var(--gold); }
.newsletter .btn--gold:hover{ background:var(--blush); border-color:var(--blush); }

/* Footer */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.75); padding:56px 0 28px; }
.site-footer__inner{ max-width:var(--container); margin:0 auto; padding:0 var(--gutter); text-align:center; }
.site-footer .brand{ color:var(--blush); margin-bottom:8px; }
.site-footer .brand__tld{ color:var(--blush-deep); }
.site-footer__links{
  display:flex; justify-content:center; gap:28px;
  flex-wrap:wrap; margin:24px 0;
}
.site-footer__links a{
  font-size:13px; color:rgba(255,255,255,.7);
  padding:6px 0; min-height:32px;
}
.site-footer__links a:hover{ color:var(--blush); }
.site-footer__copy{
  margin:24px 0 0; padding-top:24px;
  border-top:1px solid rgba(255,255,255,.1);
  font-size:12px; letter-spacing:.1em; color:rgba(255,255,255,.5);
}

/* Page hero */
.page-hero{ background:var(--blush); padding:80px var(--gutter); text-align:center; }
.page-hero h1{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-weight:400;
  font-size:clamp(36px, 5vw, 64px);
  color:var(--mauve); margin:16px auto 24px;
  max-width:820px; line-height:1.1;
}
.page-hero p{ max-width:640px; margin:0 auto; color:var(--mute); font-size:16px; }

/* Feature row */
.feature-row{ padding:96px 0; background:var(--bg); }
.feature-row--cream{ background:var(--bg-2); }
.feature-row__inner{
  max-width:var(--container); margin:0 auto;
  padding:0 var(--gutter);
  display:grid; grid-template-columns:1fr 1fr;
  gap:64px; align-items:center;
}
.feature-row--reverse .feature-row__inner > :first-child{ order:2; }
.feature-row__media{
  aspect-ratio:4/5; background:var(--bg-2);
  background-size:cover; background-position:center;
  border-radius:var(--radius-lg);
}

/* Pillars */
.pillars{ padding:96px 0; background:var(--bg-2); }
.pillars__grid{
  max-width:var(--container); margin:0 auto;
  padding:0 var(--gutter);
  display:grid; grid-template-columns:repeat(4,1fr); gap:32px;
}
.pillar h3{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-weight:400;
  font-size:22px; color:var(--mauve); margin:0 0 12px;
}
.pillar p{ margin:0; color:var(--mute); font-size:14px; }

/* Promise band */
.promise-band{
  background:var(--mauve); color:var(--white);
  padding:96px var(--gutter); text-align:center;
}
.promise-band h2{
  font-family:'Noto Serif', Georgia, serif;
  font-style:italic; font-weight:400;
  font-size:clamp(30px, 4.2vw, 52px);
  color:var(--blush); max-width:820px; margin:16px auto 24px;
  line-height:1.15;
}
.promise-band p{ max-width:600px; margin:0 auto; color:rgba(255,255,255,.85); }
.promise-band .btn--gold{ background:var(--gold); color:var(--mauve); border-color:var(--gold); }
.promise-band .btn--gold:hover{ background:var(--blush); border-color:var(--blush); }
.promise-band__cta{ margin-top:36px; }

/* Collection grid page */
.coll-grid{ padding:64px 0 96px; background:var(--bg); }
.coll-grid__grid{
  max-width:1100px; margin:0 auto;
  padding:0 var(--gutter);
  display:grid; grid-template-columns:repeat(2,1fr); gap:32px;
}

/* Contact */
.contact{ padding:64px 0 96px; background:var(--bg); }
.contact-form{ max-width:640px; margin:0 auto; padding:0 var(--gutter); display:grid; gap:18px; }
.field{ display:grid; gap:6px; }
.field label{
  font-size:12px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--mauve); font-weight:600;
}
.field input, .field textarea{
  padding:14px 16px; min-height:48px;
  border:1px solid var(--line);
  background:var(--white); font:inherit;
  color:var(--ink); border-radius:var(--radius);
  transition:border .2s; width:100%;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--mauve); }
.field textarea{ min-height:140px; resize:vertical; }
.form-msg{ margin:8px 0 0; font-size:14px; }
.form-msg.is-success{ color:var(--mauve); }
.form-msg.is-error{ color:#B23A48; }

/* Responsive */
@media (max-width: 1100px){
  .nav{ gap:20px; margin-left:20px; }
  .collections__grid{ grid-template-columns:repeat(2,1fr); }
  .masterpieces__grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 900px){
  :root{ --gutter:18px; }
  .nav{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:var(--blush); flex-direction:column; gap:0;
    padding:8px var(--gutter) 20px; margin:0;
    border-bottom:1px solid rgba(139,74,74,.10);
    box-shadow:0 8px 24px rgba(42,31,30,.08);
  }
  .nav.is-open{ display:flex; }
  .nav a{ padding:14px 0; border-bottom:1px solid rgba(139,74,74,.08); font-size:14px; min-height:44px; }
  .nav-toggle{ display:inline-flex; }
  .site-header__inner{ gap:12px; padding:12px var(--gutter); }
  .icons{ gap:8px; margin-left:auto; }
  .lang button{ padding:6px 10px; font-size:10px; }
  .philosophy__inner, .newsletter__inner, .feature-row__inner{
    grid-template-columns:1fr; gap:40px;
  }
  .feature-row--reverse .feature-row__inner > :first-child{ order:0; }
  .pillars__grid{ grid-template-columns:repeat(2,1fr); gap:28px; }
  .promises__grid{ grid-template-columns:1fr; gap:32px; }
  .hero{ min-height:78vh; }
  .hero__inner{ padding:96px var(--gutter) 80px; }
  .masterpieces__head{ flex-direction:column; align-items:flex-start; }
  .arrows{ display:none; }
  .masterpieces__grid{
    display:flex; overflow-x:auto; scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    padding:0 var(--gutter) 8px;
    margin-left:calc(-1 * var(--gutter)); margin-right:calc(-1 * var(--gutter));
    gap:16px; scrollbar-width:none;
  }
  .masterpieces__grid::-webkit-scrollbar{ display:none; }
  .masterpieces__grid .product{
    flex:0 0 78%; scroll-snap-align:start;
  }
}

@media (max-width: 600px){
  .hero__inner{ padding:72px var(--gutter) 64px; }
  .hero__sub{ font-size:16px; }
  .hero__cta .btn{ flex:1 1 auto; }
  .collections, .philosophy, .testimonial, .feature-row, .pillars, .masterpieces{ padding:64px 0; }
  .promises{ padding:56px 0; }
  .newsletter{ padding:56px 0; }
  .promise-band{ padding:72px var(--gutter); }
  .page-hero{ padding:64px var(--gutter); }
  .collections__grid{ grid-template-columns:1fr; gap:32px; }
  .coll-grid__grid{ grid-template-columns:1fr; gap:28px; }
  .pillars__grid{ grid-template-columns:1fr; gap:28px; }
  .stats{ flex-direction:column; align-items:flex-start; gap:20px; }
  .stat__sep{ display:none; }
  .testimonial__quote{ font-size:20px; }
  .newsletter__form{ flex-direction:column; }
  .newsletter .input, .newsletter .btn{ width:100%; }
  .site-footer__links{ gap:18px; }
  .site-header__inner{ padding:10px var(--gutter); }
  .brand{ font-size:21px; }
  .brand__tld{ font-size:12px; }
}
