:root {
  --ink: #30261f;
  --soft-ink: #74665b;
  --rose: #f5c9c4;
  --rose-deep: #d98580;
  --peach: #f9e0ce;
  --cream: #fffaf4;
  --paper: #fffefd;
  --gold: #b4864e;
  --line: rgba(85, 60, 42, 0.14);
  --shadow: 0 12px 35px rgba(105, 71, 44, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Thonburi", "Noto Sans Thai", "Tahoma", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  height: 78px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid rgba(85, 60, 42, 0.08);
  background: rgba(255, 254, 253, 0.94);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.brand span { display: grid; line-height: 1; letter-spacing: 0; }
.brand strong { font-family: Georgia, serif; font-size: 16px; }
.brand small { margin-top: 5px; color: var(--gold); font-size: 9px; letter-spacing: 3px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-right: 36px; }
.desktop-nav a { position: relative; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.desktop-nav a::after {
  position: absolute; right: 0; bottom: -10px; left: 0; height: 1px;
  background: var(--rose-deep); content: ""; transform: scaleX(0); transition: 180ms ease;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.line-button, .primary-button, .outline-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.line-button { gap: 7px; min-width: 106px; border: 1px solid var(--ink); }
.line-dot {
  display: grid; width: 27px; height: 20px; place-items: center;
  border-radius: 999px; color: white; background: #73a373; font-size: 7px;
}
.menu-toggle { display: none; width: 40px; border: 0; background: none; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }
.mobile-nav { display: none; }

.hero { position: relative; overflow: hidden; min-height: 590px; background: #fbf5ef; }
.hero-media { display: block; width: 100%; height: 100%; }
.hero-image { width: 100%; height: 100%; min-height: 590px; object-fit: cover; object-position: center; }
.hero-mobile-copy { display: none; }

.stars { padding: 72px 0 46px; text-align: center; }
.section-kicker { margin: 0 0 9px; color: #9d715b; font-size: 11px; font-weight: 700; letter-spacing: 1.7px; }
h1, h2, h3, p { letter-spacing: 0; }
h2 { margin: 0; font-size: clamp(26px, 3vw, 37px); line-height: 1.25; }
.section-lead { margin: 10px 0 0; color: var(--soft-ink); font-size: 14px; }
.star-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 36px; }
.star-card { position: relative; min-width: 0; }
.star-card { transition: transform 180ms ease; }
.star-card:hover { transform: translateY(-6px); }
.pet-photo {
  width: 154px; height: 154px; margin: 0 auto 16px; overflow: hidden;
  border: 7px solid #f7eee7; border-radius: 50%; background: #f4e0d3;
}
.featured .pet-photo { border-color: #ecc99f; }
.pet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pet-crown, .pet-charm {
  position: absolute; top: -23px; right: 24%; color: var(--gold); font-size: 31px; transform: rotate(12deg);
}
.pet-charm { top: -11px; color: var(--rose-deep); font-size: 27px; }
.star-card h3 { margin: 0 0 4px; font-size: 17px; }
.star-card p { margin: 0; font-size: 12px; line-height: 1.6; }
.pet-role { color: var(--soft-ink); }
.pet-bio { padding: 7px 7px 0; color: #9b8574; }
.dragon-photo { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #b79770, #6f4e38); }
.dragon-photo span { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font: 20px Georgia, serif; }

.stats-wrap { padding-bottom: 70px; }
.stats-panel {
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 12px;
  border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow);
}
.stats-panel div { display: grid; gap: 2px; text-align: center; }
.stats-panel div + div { border-left: 1px solid var(--line); }
.stats-panel b { font-family: Georgia, serif; font-size: 28px; }
.stats-panel span { color: var(--soft-ink); font-size: 11px; }

.about-popcorn { padding: 76px 0; background: #fff7f2; }
.about-inner { display: grid; grid-template-columns: minmax(280px, 430px) 1fr; align-items: center; gap: 64px; }
.about-photo { overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-copy p:not(.section-kicker) { max-width: 610px; margin: 14px 0; color: var(--soft-ink); font-size: 14px; line-height: 1.9; }
.about-copy .outline-button { margin-top: 8px; }
.timeline { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; padding-block: 78px; }
.timeline-list { position: relative; display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.timeline-list::before { position: absolute; top: 21px; bottom: 21px; left: 25px; width: 1px; background: var(--rose); content: ""; }
.timeline-list li { position: relative; display: grid; grid-template-columns: 52px 1fr; align-items: start; gap: 18px; }
.timeline-list span { z-index: 1; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #e7bfaf; border-radius: 50%; color: #a16d58; background: #fffaf7; font: bold 15px Georgia, serif; }
.timeline-list b { font-size: 16px; }
.timeline-list p { margin: 5px 0 0; color: var(--soft-ink); font-size: 13px; line-height: 1.8; }

.moments { display: grid; grid-template-columns: 270px 1fr; gap: 38px; padding-bottom: 76px; }
.moments-heading > p:not(.section-kicker) { margin: 14px 0 20px; color: var(--soft-ink); font-size: 14px; line-height: 1.8; }
.primary-button { padding: 0 19px; background: var(--rose); transition: 180ms ease; }
.primary-button:hover { transform: translateY(-2px); background: #f1bcb7; }
.moment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; min-width: 0; }
.moment-card { position: relative; min-width: 0; }
.moment-card img { width: 100%; aspect-ratio: 1.05; border-radius: 8px; object-fit: cover; }
.moment-card b { display: block; margin-top: 10px; font-size: 13px; line-height: 1.5; }
.play-badge { position: absolute; top: 144px; left: 8px; padding: 5px 8px; border-radius: 999px; color: white; background: rgba(48,38,31,.74); font-size: 10px; }

.social-feed { padding: 66px 0 76px; background: #fff7f2; }
.social-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.feed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feed-card { position: relative; overflow: hidden; border-radius: 8px; background: #f3e6dd; }
.feed-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 260ms ease; }
.feed-card:hover img { transform: scale(1.04); }
.feed-card span { position: absolute; right: 8px; bottom: 8px; padding: 5px 9px; border-radius: 999px; color: white; background: rgba(48,38,31,.72); font-size: 10px; font-weight: 700; }

.shop-banner {
  display: grid; grid-template-columns: 370px 1fr; overflow: hidden; min-height: 245px; margin-bottom: 54px;
  border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(105deg, #fff6ee, #f5e0d4 52%, #eee1d4);
}
.banner-copy { z-index: 1; padding: 36px 0 30px 36px; }
.banner-copy p:not(.section-kicker) { margin: 12px 0 18px; color: var(--soft-ink); font-size: 13px; }
.outline-button { padding: 0 20px; border: 1px solid #c39478; background: rgba(255,255,255,.42); }
.banner-pets { position: relative; min-height: 245px; }
.banner-pet {
  position: absolute; bottom: -42px; overflow: hidden; width: 210px; height: 210px;
  border: 10px solid rgba(255,255,255,.72); border-radius: 50%; object-fit: cover;
}
.pet-one { right: 280px; }
.pet-two { right: 132px; z-index: 2; width: 238px; height: 238px; }
.pet-three { right: -12px; }

footer { border-top: 1px solid var(--line); background: #fffaf6; }
.footer-inner { display: flex; align-items: center; gap: 34px; min-height: 128px; padding-block: 24px; }
.footer-copy { padding-left: 30px; border-left: 1px solid var(--line); font-size: 13px; }
.footer-copy p { margin: 4px 0 0; color: var(--soft-ink); font-size: 12px; }
.social-links { display: flex; gap: 10px; margin-left: auto; }
.social-links a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; }
.floating-contact {
  position: fixed; z-index: 30; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px;
  padding: 10px 15px 10px 8px; border: 1px solid rgba(44,105,66,.2); border-radius: 999px;
  color: white; background: #57956a; box-shadow: 0 9px 25px rgba(37,87,54,.24); transition: transform 180ms ease;
}
.floating-contact:hover { transform: translateY(-4px); }
.floating-contact span { display: grid; width: 34px; height: 27px; place-items: center; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 8px; font-weight: 700; }
.floating-contact b { font-size: 12px; }

.member-page main { min-height: calc(100vh - 206px); }
.member-hero { padding: 72px 0; background: #fff7f2; }
.member-inner { display: grid; grid-template-columns: minmax(280px, 480px) 1fr; align-items: center; gap: 66px; }
.member-image { overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.member-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member-copy h1 { margin: 0; font-size: clamp(48px, 7vw, 82px); line-height: 1; }
.member-role { margin: 13px 0; color: #a06e58; font-size: 16px; font-weight: 700; }
.member-description { max-width: 610px; color: var(--soft-ink); font-size: 15px; line-height: 1.9; }
.member-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 24px; padding: 0; list-style: none; }
.member-tags li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 12px; }
.member-more { padding-block: 54px; text-align: center; }
.member-more h2 { margin-bottom: 18px; }


.shop-hero { padding: 80px 0 76px; background: linear-gradient(110deg, #fff8f0, #f9e1d7 62%, #edcfc5); }
.shop-hero h1 { margin: 0; font-size: clamp(43px, 6vw, 68px); line-height: 1.18; }
.shop-hero p:not(.section-kicker) { color: var(--soft-ink); font-size: 15px; line-height: 1.8; }
.catalog { padding-block: 72px 84px; }
.catalog-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.category-tabs { display: flex; gap: 6px; overflow-x: auto; }
.category-tab { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 12px; white-space: nowrap; cursor: pointer; }
.category-tab.active { color: white; border-color: var(--ink); background: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.product-image { display: grid; height: 250px; place-items: center; background: #f7eee9; }
.product-cup::before {
  width: 90px; height: 162px; border: 3px solid #8d674d; border-radius: 8px 8px 26px 26px;
  background: #e6ac9c; box-shadow: inset 0 0 0 7px rgba(255,255,255,.3); content: "";
}
.product-mark { position: absolute; color: white; font: 19px Georgia, serif; }
.product-shirt { color: #7d5340; background: #e8d0b9; }
.shirt-shape { display: grid; width: 166px; height: 150px; place-items: center; clip-path: polygon(20% 8%,38% 0,62% 0,80% 8%,100% 26%,83% 45%,73% 36%,73% 100%,27% 100%,27% 36%,17% 45%,0 26%); background: #fffaf3; text-align: center; font: bold 19px Georgia, serif; }
.shirt-shape i { display: block; margin-top: -54px; color: var(--rose-deep); font-size: 13px; }
.product-bag { background: #e8d8c5; }
.bag-shape { display: grid; width: 150px; height: 154px; place-items: center; border: 3px solid #a77f60; background: #f7eee1; font: bold 28px Georgia, serif; }
.bag-shape::before { position: absolute; width: 72px; height: 54px; margin-top: -184px; border: 4px solid #a77f60; border-bottom: 0; border-radius: 40px 40px 0 0; content: ""; }
.product-sticker { background: #f7e0dc; }
.product-sticker img { width: 178px; height: 178px; border-radius: 26px; box-shadow: var(--shadow); }
.product-info { padding: 16px; }
.product-info small { color: var(--rose-deep); font-size: 10px; font-weight: 700; }
.product-info h3 { min-height: 45px; margin: 7px 0 0; font-size: 16px; line-height: 1.4; }
.product-info p { margin: 4px 0 16px; color: var(--soft-ink); font-size: 12px; }
.product-info div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-info b { font-family: Georgia, serif; font-size: 16px; }
.product-info a { padding: 7px 11px; border-radius: 999px; background: var(--rose); font-size: 11px; font-weight: 700; }
.order-help { background: #f7e4da; }
.order-help-inner { display: flex; align-items: center; justify-content: space-between; min-height: 210px; gap: 18px; }

@media (max-width: 900px) {
  .desktop-nav { gap: 22px; margin-right: 20px; }
  .hero, .hero-image { min-height: 460px; }
  .star-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .moments { grid-template-columns: 1fr; gap: 22px; }
  .about-inner, .timeline, .member-inner { gap: 38px; }
  .play-badge { top: auto; bottom: 38px; }
  .shop-banner { grid-template-columns: 310px 1fr; }
  .banner-pet { width: 180px; height: 180px; }
  .pet-one { right: 180px; }.pet-two { right: 70px; width: 205px; height: 205px; }.pet-three { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    min-height: max(720px, calc(100svh - 66px));
    align-items: end;
    background: #fbf5ef;
  }
  .hero-media { position: absolute; inset: 0; }
  .hero-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 65% center;
    filter: saturate(.96);
  }
  .hero::after {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(0deg, rgba(255,250,246,.98) 0%, rgba(255,250,246,.94) 21%, rgba(255,250,246,.36) 51%, rgba(255,250,246,.06) 75%),
      linear-gradient(90deg, rgba(255,250,246,.34), rgba(255,250,246,0) 58%);
    content: "";
  }
  .hero-mobile-copy {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    padding: 0 30px 38px;
  }
  .eyebrow { margin: 0; color: #9d715b; font-size: 13px; }
  .hero-mobile-copy h1 {
    max-width: 100%;
    margin: 10px 0 8px;
    font-size: clamp(44px, 11.5vw, 52px);
    line-height: 1.13;
  }
  .hero-mobile-copy p:not(.eyebrow) { margin: 0; color: #68594d; font-size: 14px; line-height: 1.75; }
  .hero-mobile-copy .primary-button { width: fit-content; max-width: 100%; margin-top: 16px; padding-inline: 18px; }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 28px, 500px); }
  .site-header { height: 66px; padding-inline: 14px; }
  .brand img { width: 45px; height: 45px; }
  .brand strong { font-size: 13px; }.brand small { font-size: 8px; }
  .desktop-nav, .line-label { display: none; }
  .line-button { min-width: 58px; min-height: 36px; margin-right: 5px; border-color: var(--line); }
  .menu-toggle { display: block; }
  .mobile-nav {
    position: fixed; z-index: 18; top: 66px; right: 0; left: 0; display: grid;
    max-height: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(255,254,253,.98); transition: 200ms ease;
  }
  .mobile-nav.open { max-height: 220px; padding-block: 8px; }
  .mobile-nav a { padding: 10px 20px; font-size: 13px; font-weight: 700; }
  .hero-mobile-copy { padding-inline: 28px; }
  .stars { padding: 50px 0 34px; }
  h2 { font-size: 28px; }
  .star-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 9px; margin-top: 30px; }
  .pet-photo { width: 130px; height: 130px; }
  .pet-crown, .pet-charm { right: 15%; }
  .pet-bio { display: none; }
  .stats-wrap { padding-bottom: 54px; }
  .stats-panel { grid-template-columns: repeat(2, 1fr); gap: 17px 0; padding: 17px 5px; }
  .stats-panel div:nth-child(3) { border-left: 0; }
  .stats-panel b { font-size: 23px; }
  .moments { padding-bottom: 58px; }
  .about-popcorn { padding: 52px 0; }
  .about-inner, .timeline, .member-inner { grid-template-columns: 1fr; }
  .about-inner { gap: 26px; }
  .about-photo { width: min(100%, 360px); }
  .timeline { gap: 27px; padding-block: 54px; }
  .timeline-list { gap: 20px; }
  .timeline-list li { gap: 13px; }
  .moment-grid { display: flex; width: calc(100vw - 14px); overflow-x: auto; padding-bottom: 8px; }
  .moment-card { flex: 0 0 74vw; }
  .shop-banner { display: block; min-height: 365px; margin-bottom: 36px; }
  .social-feed { padding-block: 50px; }
  .social-feed-heading { align-items: start; flex-direction: column; }
  .feed-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .banner-copy { padding: 26px 22px 0; }
  .banner-pets { min-height: 185px; }
  .banner-pet { width: 150px; height: 150px; }
  .pet-one { right: auto; left: 8px; }.pet-two { right: calc(50% - 90px); width: 178px; height: 178px; }.pet-three { right: -14px; display: block; }
  .footer-inner { display: grid; gap: 14px; }
  .footer-copy { padding: 0; border: 0; }
  .social-links { margin: 0; }
  .shop-hero { padding: 58px 0 54px; }
  .shop-hero h1 { font-size: 43px; }
  .catalog { padding-block: 52px 64px; }
  .catalog-top { display: block; }
  .category-tabs { margin-top: 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 220px; }
  .order-help-inner { display: block; min-height: 0; padding-block: 34px; }
  .order-help .outline-button { margin-top: 16px; }
  .floating-contact { right: 14px; bottom: 14px; }
  .member-hero { padding: 42px 0 48px; }
  .member-inner { gap: 25px; }
  .member-copy h1 { font-size: 58px; }
}
