/* =========================================================================
   PailailaiNest — Independent Brand Site
   Design system: warm cream editorial, blush/sage/honey accents, serif display.
   ========================================================================= */

:root {
  /* palette (derived from brand-store artwork) */
  --cream: #f6efe6;
  --cream-2: #fbf7f0;
  --paper: #fffdf9;
  --ink: #2f2a26;
  --ink-soft: #5c5349;
  --muted: #8a7f75;
  --line: #e7dccb;
  --blush: #e9b8be;
  --blush-soft: #f4dde0;
  --sage: #a9be9b;
  --sage-soft: #e6ecdc;
  --honey: #e6c98a;
  --honey-soft: #f6e9c9;

  /* type */
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "Inter", "Avenir Next", Avenir, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  /* layout */
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px -22px rgba(47, 42, 38, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.72;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
body.lang-zh { font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); }

/* ---------- type helpers ---------- */
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
.display {
  font-size: clamp(2.35rem, 5.6vw, 4.35rem);
  letter-spacing: -0.015em;
}
.h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.lead { font-size: 1.13rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: #fffdf8; }
.btn-solid:hover { background: #453d35; box-shadow: var(--shadow); }
.btn-line { background: transparent; color: var(--ink); border-color: rgba(47, 42, 38, 0.35); }
.btn-line:hover { border-color: var(--ink); background: rgba(255, 253, 249, 0.6); }
.btn-blush { background: var(--blush); color: #fff; }
.btn-blush:hover { background: #e09fa7; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.87rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 239, 230, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 20px;
}
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.01em; }
.brand small { display: block; font-family: var(--sans); font-size: 0.56rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.nav-links a {
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft);
  padding: 6px 2px; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blush); transition: width 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 999px; padding: 0.4rem 0.85rem; font-size: 0.84rem;
  font-weight: 600; cursor: pointer; color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
}
.lang-switch:hover { border-color: var(--ink); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--cream-2); padding: 18px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: 0.25s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.05rem; padding: 8px 2px; display: block; width: 100%; }
  .nav-burger { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 90px);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(233, 184, 190, 0.32), transparent 60%),
    radial-gradient(900px 460px at -10% 110%, rgba(169, 190, 155, 0.26), transparent 55%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy .kicker { margin-bottom: 18px; }
.hero-copy h1 { margin: 6px 0 20px; }
.hero-copy .lead { margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.88rem; color: var(--ink-soft); }
.hero-proof b { color: var(--ink); }
.hero-art { position: relative; }
.hero-art img {
  width: 100%; aspect-ratio: 1 / 1.04; object-fit: cover;
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow);
}
.hero-art .float-chip {
  position: absolute; left: -14px; bottom: 26px;
  background: var(--paper); border-radius: 14px; padding: 10px 16px;
  box-shadow: var(--shadow); font-size: 0.85rem;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art .float-chip { left: 12px; }
}

/* ---------- proof strip (big icon, short copy) ---------- */
.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.55);
}
.proof-row {
  list-style: none; margin: 0; padding: 34px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 28px;
}
.proof-item {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.proof-ico {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--honey-soft); color: var(--ink);
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1.5px rgba(47, 42, 38, 0.08);
}
.proof-ico .pico { font-size: 1.15rem; }
.proof-item:nth-child(3) .proof-ico { font-size: 1.02rem; letter-spacing: -0.03em; }
.proof-item:nth-child(1) .proof-ico { background: var(--honey-soft); }
.proof-item:nth-child(2) .proof-ico { background: var(--blush-soft); }
.proof-item:nth-child(3) .proof-ico { background: var(--sage-soft); }
.proof-item:nth-child(4) .proof-ico { background: #f3e3e5; }
.proof-main {
  font-size: 1.06rem; font-weight: 800; color: var(--ink); line-height: 1.25;
  letter-spacing: -0.01em;
}
.proof-sub {
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; line-height: 1.5;
}
@media (max-width: 860px) {
  .proof-row { grid-template-columns: repeat(2, 1fr); padding: 26px 0; row-gap: 24px; }
  .proof-ico { width: 56px; height: 56px; font-size: 1.15rem; }
}
@media (max-width: 420px) {
  .proof-row { grid-template-columns: 1fr; row-gap: 20px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head .kicker { margin-bottom: 14px; }
.section-head h2 { margin: 4px 0 16px; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.split.rev .split-img { order: 2; }
.split-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-copy h2 { margin: 10px 0 18px; }
.split-copy p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; }
.ticks .tk { color: var(--sage); font-weight: 800; }
@media (max-width: 860px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-img { order: 0; }
}

/* ---------- full-bleed art banner ---------- */
.art-banner { position: relative; }
.art-banner img { width: 100%; height: clamp(300px, 46vw, 640px); object-fit: cover; }
.art-banner figcaption {
  padding: 14px var(--gutter) 0; text-align: center;
  color: var(--muted); font-size: 0.9rem; font-style: italic;
}

/* ---------- product cards ---------- */
.p-grid {
  display: grid; gap: clamp(18px, 2.4vw, 30px);
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.p-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.p-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1080px) { .p-grid.cols-3, .p-grid.cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .p-grid.cols-3, .p-grid.cols-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { position: relative; background: #fdfbf7; aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: #fff; font-size: 0.7rem;
  letter-spacing: 0.08em; padding: 5px 10px; border-radius: 999px;
}
.badge.hot { background: var(--blush); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; line-height: 1.25; }
.card-desc { color: var(--ink-soft); font-size: 0.92rem; margin: 0; flex: 1; }
.card-meta { font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stars { color: var(--honey); letter-spacing: 1px; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price { font-size: 1.28rem; font-weight: 800; }
.strike { color: var(--muted); text-decoration: line-through; font-size: 0.95rem; }
.off { color: #b14b45; font-size: 0.85rem; font-weight: 700; }

/* ---------- feature tiles ---------- */
.tile-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.tile {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform 0.22s var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile .num {
  font-family: var(--serif); font-size: 1.9rem; font-weight: 700;
  color: var(--blush); line-height: 1;
}
.tile h3 { font-size: 1.22rem; margin: 12px 0 8px; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- quote ---------- */
.quote-band {
  background: var(--ink); color: #f7f1e6;
  padding: clamp(56px, 7vw, 96px) 0;
}
.quote-band blockquote {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.35; margin: 0 auto; max-width: 800px; text-align: center;
}
.quote-band cite { display: block; margin-top: 20px; font-style: normal; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey); }

/* ---------- gallery / inspiration ---------- */
.gallery {
  display: grid; gap: 22px;
  grid-template-columns: repeat(12, 1fr);
}
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-size: 0.8rem; letter-spacing: 0.06em; color: #fff;
  background: rgba(20, 15, 10, 0.5); padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.g-w2 { grid-column: span 6; aspect-ratio: 16/9; }
.g-w1 { grid-column: span 4; aspect-ratio: 3/3.4; }
.g-full { grid-column: 1 / -1; aspect-ratio: 21/8; }
@media (max-width: 900px) { .g-w2, .g-w1 { grid-column: span 12; } .g-w1 { aspect-ratio: 16/10; } }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: var(--line);
}
.timeline li { position: relative; padding: 0 0 26px 42px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--paper);
  border: 4px solid var(--blush);
}
.timeline .tl-tag { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.timeline h3 { margin: 4px 0 6px; }

/* ---------- tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { background: var(--cream-2); width: 34%; font-weight: 700; }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: 0; }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp-table thead th { font-family: var(--serif); font-size: 1.12rem; }
.cmp-table .yes { color: #5c7f4e; font-weight: 800; }
.cmp-table .no { color: #c0534c; font-weight: 700; }

/* ---------- faq ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--muted); transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- newsletter ---------- */
.newsletter {
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(233, 184, 190, 0.4), transparent 60%),
    radial-gradient(700px 340px at 100% 100%, rgba(169, 190, 155, 0.34), transparent 55%),
    var(--cream);
}
.news-form { display: flex; gap: 12px; max-width: 560px; margin: 26px auto 0; }
.news-form input {
  flex: 1; border: 1.5px solid var(--line); background: var(--paper);
  border-radius: 999px; padding: 13px 20px; font-size: 0.98rem; outline: none;
}
.news-form input:focus { border-color: var(--blush); }
.news-note { margin-top: 14px; font-size: 0.84rem; color: var(--muted); }
@media (max-width: 620px) { .news-form { flex-direction: column; } }

/* ---------- page head (inner pages) ---------- */
.page-head {
  padding: clamp(56px, 7vw, 96px) 0 clamp(26px, 3vw, 44px);
  text-align: center;
}
.page-head .kicker { margin-bottom: 14px; }
.page-head h1 { margin: 0 0 16px; }
.page-head .lead { margin: 0 auto; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cdc2b2; margin-top: 0; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; padding: clamp(48px, 6vw, 76px) 0 40px;
}
.footer-brand { font-family: var(--serif); color: #fff; font-size: 1.6rem; font-weight: 700; display: block; margin-bottom: 12px; }
.site-footer p { font-size: 0.95rem; }
.site-footer h4 { color: var(--honey); font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: #cdc2b2; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0 26px; font-size: 0.84rem;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

.article-flow { max-width: 780px; margin: 0 auto; }
.article-flow p { color: var(--ink-soft); font-size: 1.06rem; margin: 0 0 20px; }
.article-flow .dropcap::first-letter {
  font-family: var(--serif); float: left; font-size: 4rem; line-height: 0.85;
  padding: 6px 12px 0 0; color: var(--blush); font-weight: 700;
}
.figrow { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin: 34px 0; }
.figrow img { border-radius: 14px; width: 100%; }
.figrow figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; font-style: italic; }

/* ---------- lookbook (inspiration gallery, uncropped 2:1 flow) ---------- */
.lookbook { display: grid; gap: 26px; max-width: 1080px; margin: 0 auto; }
.lb-hero, .lb-item { position: relative; overflow: hidden; border-radius: 16px; margin: 0; background: #ece2d4; }
.lb-hero img, .lb-item img {
  width: 100%; height: auto; display: block;   /* natural aspect — no cropping */
  cursor: zoom-in;
  transition: transform 0.8s var(--ease);
}
.lb-hero:hover img, .lb-item:hover img { transform: scale(1.025); }
.lb-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  margin: 0; color: #dedcd7;                   /* soft grey caption */
  font-size: 0.94rem; font-weight: 500; line-height: 1.55;
  letter-spacing: 0.01em;
  padding: 40px 22px 16px;
  background: linear-gradient(180deg, rgba(14,10,7,0) 0%, rgba(14,10,7,0.55) 72%, rgba(14,10,7,0.74) 100%);
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.4);
}
.lb-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.lb-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .lb-row3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 840px) { .lb-row { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .lb-row3 { grid-template-columns: 1fr; } }

/* home "new arrivals" twin cards */
.new-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1020px; margin: 0 auto; }
@media (max-width: 900px) { .new-grid2 { grid-template-columns: 1fr; } }
.new-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.new-card .nc-img { position: relative; aspect-ratio: 1; overflow: hidden; }
.nc-yellow .nc-img { background: linear-gradient(135deg, #fdf3d3, #f6efe6); }
.nc-purple .nc-img { background: linear-gradient(135deg, #e7def8, #f6efe6); }
.new-card .nc-img img { width: 100%; height: 100%; object-fit: cover; }
.new-card .nc-body { padding: 22px 26px 26px; }
.new-card h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 8px; line-height: 1.2; }
.new-card .nc-body p { color: var(--ink-soft); margin: 0; }
.new-card .nc-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px !important; }

/* purple seashell square lookbook */
.ps-look, .yf-look { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 920px; margin: 0 auto; }
.ps-look .lb-item { background: #eae1f6; }
.yf-look .lb-item { background: #f9efcf; }
@media (max-width: 840px) { .ps-look, .yf-look { grid-template-columns: 1fr; } }
.ps-cap {
  background: linear-gradient(180deg, rgba(38, 22, 74, 0) 0%, rgba(38, 22, 74, 0.55) 72%, rgba(38, 22, 74, 0.76) 100%);
  color: #e5def4;
}
.yf-cap {
  background: linear-gradient(180deg, rgba(90, 64, 6, 0) 0%, rgba(90, 64, 6, 0.55) 72%, rgba(90, 64, 6, 0.78) 100%);
  color: #fbf3d9;
}

/* ---------- A+ detail gallery tiles (used by purple-shell & yellow-floral) ---------- */
.ps-tile-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .ps-tile-grid { grid-template-columns: 1fr; } }
.ps-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ps-tile img { width: 100%; height: auto; display: block; }
.ps-tile figcaption { padding: 12px 16px 16px; font-size: 0.9rem; color: var(--ink-soft); }
.ps-tile figcaption b { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }

/* ---------- craft detail gallery (full, uncropped) ---------- */
.detail-grid {
  display: grid; gap: 30px;
  max-width: 1020px; margin: 0 auto;
}
.detail-duo {
  display: grid; gap: 30px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 860px) { .detail-duo { grid-template-columns: 1fr; } }
.detail-fig { margin: 0; }
.detail-fig img {
  width: 100%; height: auto;          /* natural aspect — nothing cropped */
  display: block; border-radius: 14px;
  cursor: zoom-in;
  box-shadow: 0 10px 28px -18px rgba(47, 42, 38, 0.5);
}
.detail-fig figcaption {
  margin-top: 10px; font-size: 0.9rem; color: var(--muted);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.detail-fig figcaption b { font-family: var(--serif); color: var(--ink); font-size: 1.02rem; font-weight: 700; }

/* ---------- lightbox ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(24, 16, 12, 0.92);
  display: grid; place-items: center;
  padding: 4vmin;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 96vw; max-height: 92vh;
  object-fit: contain; border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.lb-close {
  position: fixed; top: 18px; right: 26px;
  background: none; border: 0; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: 0.9;
}
.lb-close:hover { opacity: 1; transform: rotate(90deg); transition: transform 0.25s; }
.lb-hint { position: fixed; left: 0; right: 0; bottom: 16px; text-align: center; color: rgba(255,255,255,0.55); font-size: 0.8rem; }
