/* ===== BUDDY-B : CLEAN CRAFT ===== */

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

:root{
  --bg:#F5F0EA;
  --bg-white:#FDFAF6;
  --bg-warm:#EDE6DC;
  --text:#2A2520;
  --text-light:#7A7167;
  --brown:#6B5B4E;
  --iron:#3D3832;
  --accent:#B8926A;
  --accent-hover:#A07D55;
  --green-line:#06C755;
  --border:rgba(107,91,78,.12);

  --ff-sans:'DM Sans',sans-serif;
  --ff-serif:'Shippori Mincho',serif;
  --ff-display:'Outfit',sans-serif;

  --space-section:clamp(5rem,4rem+5vw,10rem);
  --ease:cubic-bezier(.16,1,.3,1);
  --radius:6px;
}

html{scroll-behavior:smooth}
body{
  font-family:var(--ff-serif);
  background:var(--bg);
  color:var(--text);
  line-height:1.9;
  font-weight:400;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}

/* --- Label --- */
.label{
  font-family:var(--ff-display);
  font-size:.65rem;
  font-weight:600;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--accent);
  display:block;
  margin-bottom:1rem;
}

/* --- Loader --- */
.loader{
  position:fixed;inset:0;z-index:9999;
  background:var(--bg);
  display:flex;align-items:center;justify-content:center;
  transition:opacity .6s var(--ease),visibility .6s;
}
.loader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.loader__circle{
  width:90px;height:90px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  animation:loaderFade 1.2s ease-in-out infinite alternate;
}
.loader__logo{width:70px;height:70px;border-radius:50%}
@keyframes loaderFade{from{opacity:.4;transform:scale(.95)}to{opacity:1;transform:scale(1)}}

/* --- Header --- */
.header{
  position:fixed;top:0;left:0;width:100%;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem clamp(1.5rem,4vw,3rem);
  background:rgba(245,240,234,.9);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  transform:translateY(-100%);
  transition:transform .4s var(--ease);
}
.header.is-visible{transform:translateY(0)}
.header__logo{
  font-family:var(--ff-display);
  font-weight:700;font-size:1.1rem;
  letter-spacing:.15em;color:var(--iron);
}
.header__nav{display:flex;gap:1.75rem}
.header__nav a{
  font-family:var(--ff-display);
  font-size:.7rem;letter-spacing:.12em;font-weight:500;
  color:var(--text-light);transition:color .3s;
}
.header__nav a:hover{color:var(--accent)}
.header__cta{
  font-family:var(--ff-display);
  font-size:.65rem;letter-spacing:.15em;font-weight:600;
  color:var(--bg);background:var(--iron);
  padding:.5rem 1.25rem;border-radius:100px;
  transition:background .3s;
}
.header__cta:hover{background:var(--accent)}

.header__menu-btn{
  display:none;background:none;border:none;cursor:pointer;
  width:24px;height:18px;position:relative;
}
.header__menu-btn span{
  display:block;width:100%;height:1px;
  background:var(--iron);position:absolute;left:0;
  transition:all .3s var(--ease);
}
.header__menu-btn span:nth-child(1){top:2px}
.header__menu-btn span:nth-child(2){top:50%;transform:translateY(-50%)}
.header__menu-btn span:nth-child(3){bottom:2px}
.header__menu-btn.is-active span:nth-child(1){top:50%;transform:translateY(-50%) rotate(45deg)}
.header__menu-btn.is-active span:nth-child(2){opacity:0}
.header__menu-btn.is-active span:nth-child(3){bottom:auto;top:50%;transform:translateY(-50%) rotate(-45deg)}

/* Mobile Nav */
.mobile-nav{
  position:fixed;inset:0;z-index:99;
  background:rgba(245,240,234,.97);
  backdrop-filter:blur(20px);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;
  transition:all .4s var(--ease);
}
.mobile-nav.is-open{opacity:1;visibility:visible}
.mobile-nav__links{display:flex;flex-direction:column;align-items:center;gap:2rem}
.mobile-nav__links a{
  font-family:var(--ff-display);
  font-size:1.1rem;letter-spacing:.15em;font-weight:500;
  color:var(--text-light);transition:color .3s;
}
.mobile-nav__links a:hover{color:var(--accent)}
.mobile-nav__reserve{
  margin-top:1rem;
  background:var(--iron);color:var(--bg)!important;
  padding:.75rem 2rem;border-radius:100px;
  font-size:.8rem!important;
}

/* --- Hero --- */
.hero{min-height:100vh;display:flex;align-items:stretch}
.hero__split{display:grid;grid-template-columns:1fr 1fr;width:100%}
.hero__left{
  display:flex;align-items:center;
  padding:clamp(3rem,6vw,8rem) clamp(2rem,5vw,5rem);
  background:var(--bg);
}
.hero__text{max-width:420px}
.hero__label{
  font-family:var(--ff-display);
  font-size:.6rem;letter-spacing:.35em;font-weight:600;
  color:var(--accent);margin-bottom:2rem;
  opacity:0;transform:translateY(15px);
}
.hero__title{
  font-size:clamp(2rem,1.5rem+3vw,3.5rem);
  line-height:1.5;
  letter-spacing:.08em;
  font-weight:500;
  margin-bottom:2rem;
}
.hero__title-line{
  display:block;
  opacity:0;transform:translateY(25px);
}
.hero__desc{
  font-size:clamp(.85rem,.8rem+.3vw,1rem);
  color:var(--text-light);
  line-height:2;
  margin-bottom:2.5rem;
  opacity:0;transform:translateY(15px);
}
.hero__arrow{
  display:inline-flex;align-items:center;justify-content:center;
  width:48px;height:48px;border-radius:50%;
  border:1px solid var(--border);
  color:var(--text-light);
  transition:all .3s var(--ease);
  opacity:0;
  animation:arrowBounce 2s ease-in-out infinite;
}
.hero__arrow:hover{border-color:var(--accent);color:var(--accent)}
@keyframes arrowBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}

.hero__right{position:relative;overflow:hidden}
.hero__image{
  width:100%;height:100%;object-fit:cover;
  transform:scale(1.05);
}

/* --- About --- */
.about{padding:var(--space-section) clamp(1.5rem,4vw,3rem)}
.about__inner{
  max-width:1060px;margin:0 auto;
  display:grid;grid-template-columns:.9fr 1.1fr;
  gap:clamp(2rem,4vw,5rem);
  align-items:center;
}
.about__img{border-radius:var(--radius)}
.about__heading{
  font-size:clamp(1.3rem,1rem+1.2vw,2rem);
  line-height:1.8;letter-spacing:.05em;
  margin-bottom:1.5rem;font-weight:500;
}
.about__body{display:flex;flex-direction:column;gap:1rem}
.about__body p{font-size:.9rem;color:var(--text-light);line-height:2.2}

/* --- Marquee --- */
.marquee{
  padding:1.5rem 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  overflow:hidden;
}
.marquee__track{
  display:flex;gap:3rem;
  white-space:nowrap;
  animation:marqueeScroll 20s linear infinite;
  font-family:var(--ff-display);
  font-size:clamp(.8rem,.7rem+.5vw,1rem);
  font-weight:300;letter-spacing:.25em;
  color:var(--text-light);
}
@keyframes marqueeScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* --- Stylist --- */
.stylist{
  padding:var(--space-section) clamp(1.5rem,4vw,3rem);
  background:var(--bg-white);
}
.stylist__inner{
  max-width:1060px;margin:0 auto;
  display:grid;grid-template-columns:1.1fr .9fr;
  gap:clamp(2rem,4vw,5rem);
  align-items:center;
}
.stylist__name{
  font-size:clamp(1.5rem,1.2rem+1.2vw,2.2rem);
  letter-spacing:.1em;
  margin-bottom:.5rem;font-weight:500;
}
.stylist__name-en{
  font-family:var(--ff-display);
  font-size:.7rem;letter-spacing:.15em;font-weight:400;
  color:var(--text-light);
  margin-bottom:2rem;
}
.stylist__quote{
  font-size:clamp(.95rem,.9rem+.3vw,1.1rem);
  line-height:2;
  color:var(--brown);
  border-left:2px solid var(--accent);
  padding-left:1.25rem;
  margin-bottom:2rem;
  font-style:normal;
}
.stylist__bio{font-size:.85rem;color:var(--text-light);line-height:2.2}
.stylist__photo-wrap{
  border-radius:var(--radius);overflow:hidden;
  aspect-ratio:3/4;
}
.stylist__photo-wrap img{width:100%;height:100%;object-fit:cover}

/* --- Style Showcase --- */
.style-showcase{padding:var(--space-section) clamp(1.5rem,4vw,3rem)}
.style-showcase__inner{max-width:1100px;margin:0 auto}
.style-showcase__header{text-align:center;margin-bottom:clamp(2rem,3vw,4rem)}
.style-showcase__heading{
  font-size:clamp(1.3rem,1rem+1vw,1.8rem);
  letter-spacing:.08em;font-weight:500;
}
.style-showcase__grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1.25rem;
}
.style-showcase__card{
  background:var(--bg-white);
  border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--border);
  transition:transform .4s var(--ease),box-shadow .4s;
}
.style-showcase__card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 40px rgba(107,91,78,.08);
}
.style-showcase__img{
  aspect-ratio:3/4;overflow:hidden;
}
.style-showcase__img img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .6s var(--ease);
}
.style-showcase__card:hover .style-showcase__img img{transform:scale(1.04)}
.style-showcase__meta{padding:1.25rem}
.style-showcase__tag{
  font-family:var(--ff-display);
  font-size:.55rem;letter-spacing:.25em;font-weight:600;
  color:var(--accent);display:block;margin-bottom:.4rem;
}
.style-showcase__meta p{
  font-size:.8rem;color:var(--text-light);
}

/* --- Flatlay Divider --- */
.flatlay-divider{
  max-width:100%;overflow:hidden;
  height:clamp(200px,25vw,350px);
}
.flatlay-divider__img{
  width:100%;height:100%;object-fit:cover;
}

/* --- Gallery --- */
.gallery{padding:var(--space-section) clamp(1.5rem,4vw,3rem)}
.gallery__header{text-align:center;margin-bottom:clamp(2rem,3vw,4rem)}
.gallery__heading{
  font-size:clamp(1.3rem,1rem+1vw,1.8rem);
  letter-spacing:.08em;font-weight:500;
}
.gallery__grid{
  max-width:1100px;margin:0 auto;
  display:grid;
  grid-template-columns:1.4fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:.75rem;
}
.gallery__item{
  position:relative;overflow:hidden;border-radius:var(--radius);
}
.gallery__item--wide{grid-row:1/3}
.gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.gallery__item:hover img{transform:scale(1.04)}
.gallery__tag{
  position:absolute;bottom:1rem;left:1rem;
  font-family:var(--ff-display);
  font-size:.6rem;letter-spacing:.2em;font-weight:500;
  color:#fff;text-transform:uppercase;
  background:rgba(42,37,32,.5);
  padding:.35rem .75rem;border-radius:100px;
  backdrop-filter:blur(6px);
}

/* --- Menu --- */
.menu{
  position:relative;
  padding:var(--space-section) clamp(1.5rem,4vw,3rem);
  background:var(--bg-white);
  overflow:hidden;
}
.menu__bg-linen{
  position:absolute;inset:0;
  opacity:.06;pointer-events:none;
}
.menu__bg-linen img{width:100%;height:100%;object-fit:cover}
.menu__inner{max-width:900px;margin:0 auto}
.menu__header{text-align:center;margin-bottom:clamp(2rem,3vw,4rem)}
.menu__heading{
  font-size:clamp(1.3rem,1rem+1vw,1.8rem);
  letter-spacing:.08em;font-weight:500;
}
.menu__cols{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,4vw,4rem)}
.menu__cat{
  font-family:var(--ff-display);
  font-size:.7rem;letter-spacing:.2em;font-weight:600;
  color:var(--accent);
  padding-bottom:.5rem;
  border-bottom:1px solid var(--border);
  margin-bottom:1rem;
  margin-top:2rem;
}
.menu__cat:first-child{margin-top:0}
.menu__list{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.menu__list li{
  display:flex;justify-content:space-between;align-items:baseline;
  font-size:.85rem;gap:1rem;
}
.menu__list li span:first-child{color:var(--text-light)}
.menu__list li span:last-child{
  font-family:var(--ff-display);font-weight:500;
  white-space:nowrap;color:var(--text);
}
.menu__note{
  text-align:center;margin-top:2.5rem;
  font-size:.75rem;color:var(--text-light);
}

/* --- Info --- */
.info{padding:var(--space-section) clamp(1.5rem,4vw,3rem)}
.info__inner{
  max-width:1000px;margin:0 auto;
  display:grid;grid-template-columns:1.1fr .9fr;
  gap:clamp(2rem,4vw,5rem);
  align-items:start;
}
.info__heading{
  font-size:clamp(1.3rem,1rem+1vw,1.8rem);
  letter-spacing:.08em;font-weight:500;
  margin-bottom:2rem;
}
.info__table{width:100%;border-collapse:collapse}
.info__table tr{border-bottom:1px solid var(--border)}
.info__table th,
.info__table td{
  padding:.9rem 0;text-align:left;
  font-size:.85rem;font-weight:400;vertical-align:top;
}
.info__table th{
  width:6em;color:var(--text-light);
  font-family:var(--ff-sans);font-size:.75rem;
  letter-spacing:.05em;
}
.info__table td a{color:var(--accent);transition:opacity .3s}
.info__table td a:hover{opacity:.7}

.info__reserve-card{
  background:var(--bg-white);
  border:1px solid var(--border);
  border-radius:12px;
  padding:clamp(2rem,3vw,3rem);
  text-align:center;
}
.info__reserve-logo{width:56px;height:56px;border-radius:50%;margin:0 auto 1.25rem}
.info__reserve-text{font-size:.9rem;margin-bottom:1.5rem;color:var(--text-light)}
.info__reserve-btns{display:flex;flex-direction:column;gap:.75rem}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.9rem 1.5rem;border-radius:100px;
  font-family:var(--ff-sans);font-size:.8rem;
  font-weight:500;letter-spacing:.03em;
  transition:all .3s var(--ease);cursor:pointer;
  border:none;
}
.btn--dark{background:var(--iron);color:var(--bg)}
.btn--dark:hover{background:var(--accent)}
.btn--line{background:var(--green-line);color:#fff}
.btn--line:hover{filter:brightness(1.1)}

/* --- Footer --- */
.footer{
  padding:3rem clamp(1.5rem,4vw,3rem);
  border-top:1px solid var(--border);
  text-align:center;
}
.footer__brand{
  font-family:var(--ff-display);
  font-size:.8rem;letter-spacing:.2em;font-weight:600;
  color:var(--brown);margin-bottom:.5rem;
}
.footer__copy{
  font-family:var(--ff-sans);
  font-size:.6rem;letter-spacing:.1em;
  color:var(--text-light);
}

/* --- Image Reveal --- */
.img-reveal{overflow:hidden}

/* --- Style Card 3D --- */
.style-showcase__card{
  perspective:800px;
  transform-style:preserve-3d;
}

/* --- Gallery Item Hover Glow --- */
.gallery__item::after{
  content:'';position:absolute;inset:0;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(184,146,106,.15),transparent 60%);
  opacity:0;transition:opacity .4s;pointer-events:none;
}
.gallery__item:hover::after{opacity:1}

/* --- Text Reveal Helpers --- */
.line-wrap{display:block;overflow:hidden}
.line-inner{display:block}

/* --- Horizontal Rule Reveal --- */
.about__rule{
  display:block;width:40px;height:1px;
  background:var(--accent);margin:1.5rem 0;
  transform-origin:left;
}

/* --- Cursor Trail (desktop) --- */
.cursor-dot{
  position:fixed;width:8px;height:8px;
  border-radius:50%;background:var(--accent);
  pointer-events:none;z-index:9998;
  mix-blend-mode:exclusion;
  opacity:0;transition:opacity .3s;
}
body:hover .cursor-dot{opacity:1}

@media(max-width:768px){
  .cursor-dot{display:none}
}

/* ===== Responsive ===== */
@media(max-width:768px){
  .header__nav,.header__cta{display:none}
  .header__menu-btn{display:block}

  .hero__split{grid-template-columns:1fr;grid-template-rows:auto 50vw}
  .hero__left{padding:clamp(6rem,10vw,8rem) clamp(1.5rem,5vw,3rem) clamp(2rem,4vw,4rem)}
  .hero__right{max-height:50vh}

  .about__inner,
  .stylist__inner,
  .info__inner{grid-template-columns:1fr}

  .stylist__photo-wrap{aspect-ratio:4/3;max-height:400px}

  .gallery__grid{
    grid-template-columns:1fr;
    grid-template-rows:auto;
  }
  .gallery__item--wide{grid-row:auto}
  .gallery__item{aspect-ratio:16/10}

  .style-showcase__grid{grid-template-columns:1fr 1fr}
  .style-showcase__card:nth-child(3){grid-column:1/-1}
  .style-showcase__card:nth-child(3) .style-showcase__img{aspect-ratio:16/9}

  .menu__cols{grid-template-columns:1fr}
}

@media(max-width:480px){
  .style-showcase__grid{grid-template-columns:1fr}
  .style-showcase__card:nth-child(3){grid-column:auto}
  .style-showcase__card:nth-child(3) .style-showcase__img{aspect-ratio:3/4}
}
