/* Little Dog Studio — "leaflet" layout mockup (Collar & Comb structure, leaflet brand) */
@font-face { font-family: "Lilita One"; src: url("../fonts/lilita-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Satisfy"; src: url("../fonts/satisfy.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/open-sans.woff2") format("woff2"); font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  --blush: #f1d2e1; --blush-2: #f8e4ee; --bubblegum: #fc86b7; --rose: #f6237e; --rose-dark: #ce1f6a;
  --rose-deep: #a3155a; --plum: #550d2c; --ink: #000; --ink-soft: #241c20; --muted: #6b4a58; --line: #e2b3c8;
  --display: "Lilita One", system-ui, sans-serif; --script: "Satisfy", cursive; --body: "Open Sans", system-ui, sans-serif;
  --bs-body-font-family: var(--body); --bs-body-color: #241c20; --bs-body-bg: #f1d2e1; --bs-body-font-size: 1.0625rem;
}
@media (max-width: 575.98px) { .container { --bs-gutter-x: 2.75rem; } }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; color: var(--ink); }

/* ---------- Masthead: barcode + stitched pink band + big logo ---------- */
.barcode { height: 64px; background: repeating-linear-gradient(90deg, #000 0 30px, #fff 30px 60px); }
.band {
  position: relative; background: var(--bubblegum); height: 150px;
  border-top: 4px solid #fff; border-bottom: 4px solid #fff;
}
.band::before, .band::after {               /* the leaflet's dashed "stitching" */
  content: ""; position: absolute; left: 0; right: 0; border-top: 3px dashed rgba(255,255,255,.95);
}
.band::before { top: 14px; } .band::after { bottom: 14px; }
.band .deco { position: absolute; top: 50%; transform: translateY(-50%); display: flex; gap: 26px; align-items: center; }
.band .deco.l { left: 4%; } .band .deco.r { right: 4%; }
.band .deco svg { width: 46px; height: 46px; }
.mast-logo {
  position: absolute; left: 50%; top: -48px; transform: translateX(-50%); z-index: 5;
  width: 300px; height: 300px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 6px #fff, 0 18px 40px -16px rgba(85,13,44,.55);
}
.mast-logo img { width: 100%; height: 100%; display: block; }
.mast-spacer { height: 112px; }           /* room for the part of the logo below the band */

.mainnav { background: #fff; border-top: 3px solid #000; border-bottom: 3px solid #000; position: sticky; top: 0; z-index: 20; }
.mainnav .wrap { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 64px; flex-wrap: wrap; }
.mainnav a.l { font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .04em; color: #000; text-decoration: none; padding: 10px 16px; border-radius: 999px; }
.mainnav a.l:hover, .mainnav a.l.on { background: var(--blush); color: var(--rose-deep); }
.mainnav .mini { display: none; }
.btn-pink {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  background: var(--rose); color: #fff; border: 3px solid #000; border-radius: 999px; padding: 12px 26px; font-size: .95rem;
  text-decoration: none; box-shadow: 4px 4px 0 #000;
}
.btn-pink.sm { padding: 8px 18px; font-size: .82rem; box-shadow: 3px 3px 0 #000; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  background: #fff; color: #000; border: 3px solid #000; border-radius: 999px; padding: 12px 26px; font-size: .95rem; text-decoration: none; box-shadow: 4px 4px 0 var(--bubblegum); }
.burger { display: none; width: 46px; height: 46px; border: 3px solid #000; border-radius: 12px; background: #fff; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 3px; background: #000; border-radius: 2px; position: relative; content: ""; }
.burger span::before { position: absolute; top: -7px; } .burger span::after { position: absolute; top: 7px; }

/* ---------- Page bits ---------- */
.hearts {   /* scattered hearts + paws like the leaflet background */
  background-color: var(--blush);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='none' stroke='%23f9a9cb' stroke-width='2.2' opacity='.7'%3E%3Cpath d='M30 40c-6-8-20-4-16 8 3 8 16 16 16 16s13-8 16-16c4-12-10-16-16-8z'/%3E%3Cpath d='M160 150c-5-7-17-3-14 7 3 7 14 14 14 14s11-7 14-14c3-10-9-14-14-7z'/%3E%3C/g%3E%3Cg fill='%23f6237e' opacity='.28'%3E%3Cellipse cx='150' cy='52' rx='9' ry='7'/%3E%3Ccircle cx='140' cy='42' r='3.6'/%3E%3Ccircle cx='147' cy='37' r='3.8'/%3E%3Ccircle cx='155' cy='37' r='3.8'/%3E%3Ccircle cx='161' cy='42' r='3.6'/%3E%3Cellipse cx='52' cy='170' rx='8' ry='6'/%3E%3Ccircle cx='43' cy='161' r='3.2'/%3E%3Ccircle cx='49' cy='156' r='3.4'/%3E%3Ccircle cx='56' cy='156' r='3.4'/%3E%3Ccircle cx='62' cy='161' r='3.2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px 260px;
}
.sec { padding: 84px 0; }
.sec-white { background: #fff; }
.sec-black { background: #000; color: #fff; }
.script { font-family: var(--script); font-size: 1.9rem; line-height: 1.15; color: #000; }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; color: #000; }
.outline-pink { color: var(--bubblegum); -webkit-text-stroke: .07em var(--plum); paint-order: stroke fill; text-shadow: .06em .06em 0 var(--plum); }
.big-h { font-size: clamp(3rem, 8vw, 6.4rem); text-transform: uppercase; letter-spacing: .01em; }
.sec-h { font-size: clamp(2.2rem, 4.4vw, 3.4rem); text-transform: uppercase; }
.center { text-align: center; }
.lead2 { font-size: 1.12rem; max-width: 58ch; margin: 0 auto; }

.hero { padding: 64px 0 56px; }
.hero .cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.badges { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 46px; }
.badge-r {
  width: 132px; height: 132px; border-radius: 50%; background: #fff; border: 3px solid #000; box-shadow: 4px 4px 0 var(--rose);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px;
  font-weight: 800; font-size: .72rem; text-transform: uppercase; line-height: 1.15; color: #000;
}
.badge-r b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--rose); text-transform: none; line-height: 1; margin-bottom: 4px; }
.badge-r.pink { background: var(--bubblegum); }
.badge-r.pink b { color: #000; }

.ph {  /* photo placeholder */
  position: relative; border: 3px solid #000; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3;
  background: repeating-linear-gradient(45deg, #fbe3ee 0 18px, #f8d6e6 18px 36px); box-shadow: 8px 8px 0 var(--bubblegum);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--rose-deep); font-weight: 800; text-align: center; padding: 16px;
}
.ph svg { width: 56px; height: 56px; color: var(--rose); }
.ph small { font-weight: 600; color: var(--muted); }
.ph.sq { aspect-ratio: 1; }

.pawlist { list-style: none; padding: 0; margin: 0; }
.pawlist li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 1.12rem; padding: 7px 0; }
.pawlist svg { width: 24px; height: 24px; flex: none; color: #000; }

.price-teaser { background: var(--bubblegum); border-top: 4px solid #000; border-bottom: 4px solid #000; }
.pt-card { background: #fff; border: 3px solid #000; border-radius: 22px; padding: 26px 22px; text-align: center; box-shadow: 6px 6px 0 #000; height: 100%; }
.pt-card .from { font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.pt-card .amt { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--rose); }
.pt-card h3 { font-size: 1.5rem; margin: 6px 0 4px; }

.rev-card { background: #111; border: 2px solid var(--bubblegum); border-radius: 22px; padding: 28px; height: 100%; }
.rev-card .stars { color: #ffc94d; letter-spacing: 3px; margin-bottom: 12px; }
.rev-card p { font-style: italic; color: #fff; margin: 0 0 16px; }
.rev-card b { color: var(--bubblegum); }
.rev-note { color: #f3d9e5; font-size: .9rem; }

.faq details { background: #fff; border: 3px solid #000; border-radius: 18px; padding: 18px 22px; margin-bottom: 14px; box-shadow: 4px 4px 0 var(--bubblegum); }
.faq summary { font-weight: 800; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--rose); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; }

.ready { background: #000; color: #fff; position: relative; padding: 76px 0; }
.ready .btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.ready h2 { color: #fff; }

.review-us { background: var(--bubblegum); border-top: 4px solid #000; padding: 46px 0; text-align: center; }

.foot { background: #000; color: #f1d9e4; padding: 0 0 26px; }
.foot .barcode { height: 22px; }
.foot h4 { font-family: var(--body); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--bubblegum); margin-bottom: 12px; }
.foot a { color: #fff; text-decoration: none; }
.foot .big { font-family: var(--display); font-size: 2rem; color: #fff; letter-spacing: .01em; }
.socials { display: flex; gap: 12px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; background: var(--bubblegum); border: 3px solid #fff; display: flex; align-items: center; justify-content: center; color: #000; }
.socials svg { width: 22px; height: 22px; }
.foot .tag { font-family: var(--script); font-size: 1.8rem; color: #fff; text-align: center; margin-top: 34px; }

/* ---------- Awards ---------- */
.award { height: 100%; display: flex; flex-direction: column; }
.award .pic { position: relative; margin-top: 30px; }                 /* room for the trophy above the image */
.award .pic .ph { aspect-ratio: 4/3; box-shadow: 8px 8px 0 #000; }
.award .pic img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 3px solid #000; border-radius: 24px; box-shadow: 8px 8px 0 #000; }
.trophy {                                                               /* gold trophy sitting on the image's top edge */
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 74px; height: 74px; border-radius: 50%; background: #fff; border: 3px solid #000;
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem; line-height: 1;
  box-shadow: 0 0 0 5px var(--bubblegum);
}
.award .body { background: #fff; border: 3px solid #000; border-radius: 22px; padding: 22px 22px 24px; margin-top: 22px; flex: 1; box-shadow: 6px 6px 0 var(--bubblegum); }
.award h3 { font-size: 1.45rem; margin: 12px 0 4px; text-transform: uppercase; }
.award .meta { font-family: var(--script); font-size: 1.35rem; color: #000; }
.lvl { display: inline-block; font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; border: 2px solid #000; }
.lvl-winner { background: var(--rose); color: #fff; }
.lvl-finalist { background: #000; color: #fff; }
.lvl-hr { background: var(--bubblegum); color: #000; }
.lvl-featured { background: #fff; color: #000; }
.awards-head .aw-script { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.awards-head .aw-title { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; color: var(--rose); margin: 0; }
.brush { display: inline-block; margin-top: 16px; transform: rotate(-3deg); }
.brush span {
  display: inline-block; background: #000; color: #fff; font-family: var(--script); font-size: 1.7rem; padding: 6px 30px 8px;
  clip-path: polygon(2% 12%, 98% 0, 100% 78%, 96% 100%, 1% 92%, 0 40%);
}
.aw-values { margin: 46px 0 0; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
@media (max-width: 767.98px) {
  /* compact list on phones: small photo on the left with the trophy on its top edge */
  .awards-sec .row > div { margin-top: 26px; }
  .award { flex-direction: row; align-items: stretch; gap: 0; }
  .award .pic { width: 118px; flex: none; margin-top: 18px; }
  .award .pic .ph { aspect-ratio: 1; border-radius: 18px; padding: 6px; box-shadow: 4px 4px 0 #000; }
  .award .pic .ph span, .award .pic .ph small { display: none; }
  .award .pic .ph svg { width: 34px; height: 34px; }
  .trophy { width: 50px; height: 50px; font-size: 1.6rem; box-shadow: 0 0 0 4px var(--bubblegum); }
  .award .body { margin: 18px 0 0 -14px; padding: 14px 14px 14px 26px; border-radius: 0 18px 18px 0; box-shadow: 4px 4px 0 var(--bubblegum); }
  .award h3 { font-size: 1.15rem; margin: 8px 0 2px; }
  .award .meta { font-size: 1.1rem; }
  .brush span { font-size: 1.35rem; }
}

/* ---------- Awards snapshot on the home page: scattered certificates ---------- */
@media (min-width: 768px) and (max-width: 1399.98px) { .cert { width: 214px; } }
.cert-board { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: 34px 0 46px; text-decoration: none; color: inherit; }
.cert {
  position: relative; width: 250px; margin: 0 -14px 18px; transform: rotate(var(--r)); transition: transform .25s ease, z-index 0s;
  background: #fffaf3; border: 3px solid #000; border-radius: 6px; padding: 10px; box-shadow: 8px 10px 0 rgba(0,0,0,.85);
}
.cert:nth-child(even) { margin-top: 46px; }
.cert-in { border: 2px solid var(--bubblegum); outline: 2px dashed var(--rose); outline-offset: -8px; padding: 22px 16px 18px; text-align: center; min-height: 250px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.c-trophy { font-size: 2.4rem; line-height: 1; }
.c-kind { font-family: var(--script); font-size: 1.15rem; color: var(--muted); }
.c-title { font-family: var(--display); font-size: 1.35rem; line-height: 1.05; text-transform: uppercase; }
.c-meta { font-family: var(--script); font-size: 1.15rem; margin-top: 4px; }
.pin { position: absolute; top: -12px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--rose); border: 3px solid #000; z-index: 2; }
.cert-board:hover .cert { transform: rotate(calc(var(--r) * .5)); }
.cert-board .cert:hover { transform: rotate(0) scale(1.06); z-index: 3; }
@media (max-width: 767.98px) {
  .cert-board { padding: 20px 0 30px; }
  .cert { width: 172px; margin: 0 -10px 12px; padding: 7px; box-shadow: 5px 7px 0 rgba(0,0,0,.85); }
  .cert:nth-child(even) { margin-top: 30px; }
  .cert:nth-child(n+4) { display: none; }      /* three certificates on phones */
  .cert-in { min-height: 196px; padding: 16px 8px 12px; outline-offset: -6px; }
  .c-trophy { font-size: 1.8rem; } .c-title { font-size: 1.02rem; } .c-kind, .c-meta { font-size: .9rem; }
  .c-meta { line-height: 1.1; }
  .cert .lvl { font-size: .62rem; padding: 4px 9px; }
}

/* ---------- Pricing page ---------- */
.page-band { background: var(--bubblegum); border-bottom: 4px solid #000; padding: 54px 0 46px; position: relative; }
.page-band::before, .page-band::after { content: ""; position: absolute; left: 0; right: 0; border-top: 3px dashed rgba(255,255,255,.95); }
.page-band::before { top: 14px; } .page-band::after { bottom: 14px; }
.subnav { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.subnav a { background: #fff; border: 3px solid #000; border-radius: 999px; padding: 7px 16px; font-weight: 800; font-size: .82rem; text-transform: uppercase; color: #000; text-decoration: none; }
.price-block { margin-bottom: 64px; }
.price-block h2 { font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; text-align: center; margin-bottom: 8px; }
.price-block .sub { text-align: center; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 3px solid #000; border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 #000; }
.ptable th { background: #000; color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; padding: 14px 18px; text-align: left; }
.ptable th.r, .ptable td.r { text-align: right; }
.ptable td { padding: 15px 18px; border-top: 2px solid #f3cfe0; font-size: 1.02rem; }
.ptable tr:nth-child(even) td { background: #fdf2f7; }
.ptable td b { font-weight: 800; }
.ptable td .s { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.ptable td.r { font-family: var(--display); font-size: 1.35rem; color: var(--rose-deep); white-space: nowrap; }
.incl { background: #fff; border: 3px dashed var(--rose); border-radius: 18px; padding: 18px 22px; margin-top: 20px; }
.incl h4 { font-family: var(--body); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.incl ul { margin: 0; padding-left: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.incl li::before { content: "♥ "; color: var(--rose); }
.fee-card { background: #fff; border: 3px solid #000; border-radius: 22px; padding: 26px; height: 100%; box-shadow: 6px 6px 0 var(--bubblegum); }
.fee-card .amt { font-family: var(--display); font-size: 2.2rem; color: var(--rose); line-height: 1; }
.sample-flag { display: inline-block; background: #000; color: #fff; font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; }

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  .barcode { height: 34px; background: repeating-linear-gradient(90deg, #000 0 18px, #fff 18px 36px); }
  .band { height: 92px; }
  .band .deco { display: none; }
  .mast-logo { width: 196px; height: 196px; top: -26px; box-shadow: 0 0 0 5px #fff, 0 14px 30px -14px rgba(85,13,44,.55); }
  .mast-spacer { height: 88px; }
  .mainnav .wrap { justify-content: space-between; min-height: 62px; flex-wrap: nowrap; gap: 10px; }
  .mainnav .btn-pink.sm { margin-left: auto; padding: 8px 14px; white-space: nowrap; }
  .mainnav a.l { display: none; }
  .mainnav .mini { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.05rem; color: #000; text-decoration: none; white-space: nowrap; }
  .mainnav .mini img { width: 38px; height: 38px; }
  .burger { display: inline-flex; }
  .sec { padding: 60px 0; }
  .badge-r { width: 112px; height: 112px; font-size: .64rem; }
  .badge-r b { font-size: 1.05rem; }
  .incl ul { grid-template-columns: 1fr; }
  .ptable th, .ptable td { padding: 12px 12px; }
  .ptable td.r { font-size: 1.15rem; }
}

/* ---------- Disco balls + hearts scattered down both edges (every page) ---------- */
body { position: relative; }
.decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 15; }
.decor { --cw: 720px; }
@media (min-width: 992px) { .decor { --cw: 960px; } }
@media (min-width: 1200px) { .decor { --cw: 1140px; } }
@media (min-width: 1400px) { .decor { --cw: 1320px; } }
/* Never over content: size is capped by the side margin, inner edge stays 6px clear of the content column */
.dc {
  --gut: calc((100% - var(--cw)) / 2);
  --w: min(var(--s), calc((100% - var(--cw)) * .9));
  --off: calc(var(--gut) - var(--w) - 16px - max(0px, min(var(--g), calc(var(--gut) - var(--w) - 22px))));
  position: absolute; display: block; width: var(--w); height: var(--w); transform: rotate(var(--rot));
}
.dc.l { left: var(--off); }
.dc.r { right: var(--off); }
.dc svg, .dc img { width: 100%; height: 100%; display: block; }
.dc.heart { animation: float 6s ease-in-out var(--d) infinite; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.18)); }
.dc.disco { transform: none; }
.dc.disco img { animation: spin 14s linear infinite; filter: drop-shadow(4px 6px 0 rgba(0,0,0,.25)); }
.dc .sp { position: absolute; width: 18px; height: 18px; background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 4px #fc86b7); animation: twinkle 2.4s ease-in-out var(--d) infinite; }
.dc .s1 { top: -6%; left: 8%; } .dc .s2 { bottom: 4%; right: -4%; width: 13px; height: 13px; animation-delay: calc(var(--d) + 1.1s); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: rotate(var(--rot)) translateY(0); } 50% { transform: rotate(var(--rot)) translateY(-10px); } }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
.band .mdisco { display: none; }
@media (max-width: 767.98px) {
  .dc.desk, .dc.disco { display: none; }          /* phones: no room in the margins for disco balls... */
  .dc.heart { --s: 28px !important; --cw: calc(100% - 2.75rem); }  /* ...small hearts tucked into the 22px margin */
  .band .mdisco {                                   /* ...and two disco balls either side of the logo */
    display: block; position: absolute; top: 50%; width: 58px; height: 58px; margin-top: -29px; z-index: 4;
    filter: drop-shadow(3px 4px 0 rgba(0,0,0,.25)); animation: spin 14s linear infinite;
  }
  .band .mdisco.l { left: 12px; } .band .mdisco.r { right: 12px; animation-direction: reverse; }
}
@media (prefers-reduced-motion: reduce) { .dc, .dc img, .dc .sp { animation: none !important; } }

/* ---------- Gallery: polaroids ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }   /* uniform tiles keep newest -> oldest order */
.gitem { margin: 0; transform: rotate(var(--t)); transition: transform .2s ease; }
.gitem[hidden] { display: none; }
.gitem:hover { transform: rotate(0) scale(1.03); z-index: 2; position: relative; }
.pola, .lb-pola {
  display: block; width: 100%; background: #fff; border: 0; padding: 12px 12px 0; text-align: left; cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 14px 26px -12px rgba(85,13,44,.55); border-radius: 3px;
}
.pola .shot, .lb-pola .shot { display: block; aspect-ratio: 1; overflow: hidden; background: #f3e6ec; }
.pola .shot .ph, .lb-pola .shot .ph { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; height: 100%; }
.pola figcaption, .lb-pola figcaption { padding: 12px 4px 16px; text-align: center; font-family: var(--script); }
.pola figcaption b, .lb-pola figcaption b { display: block; font-weight: 400; font-size: 1.35rem; color: #000; line-height: 1.1; }
.pola figcaption time, .lb-pola figcaption time { font-size: 1.05rem; color: var(--rose-deep); }
.pola:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }

.lb { position: fixed; inset: 0; z-index: 100; background: rgba(20, 6, 12, .9); display: flex; align-items: center; justify-content: center; padding: 20px; touch-action: pan-y; }
.lb[hidden] { display: none; }
.lb-pola { width: min(560px, 82vw); padding: 18px 18px 0; cursor: default; transform: rotate(-1.5deg); margin: 0; }
.lb-pola figcaption b { font-size: 1.9rem; }
.lb-pola figcaption time { font-size: 1.3rem; }
.lb-pola.in-r { animation: inR .28s ease; } .lb-pola.in-l { animation: inL .28s ease; }
@keyframes inR { from { opacity: 0; transform: translateX(60px) rotate(2deg); } to { opacity: 1; transform: rotate(-1.5deg); } }
@keyframes inL { from { opacity: 0; transform: translateX(-60px) rotate(-4deg); } to { opacity: 1; transform: rotate(-1.5deg); } }
.lb-nav, .lb-close {
  position: absolute; display: flex; align-items: center; justify-content: center; border: 3px solid #000; border-radius: 50%;
  background: var(--rose); color: #fff; font-size: 2.4rem; line-height: 1; width: 58px; height: 58px; box-shadow: 4px 4px 0 #000; cursor: pointer;
}
.lb-nav.prev { left: max(16px, calc(50% - 360px)); } .lb-nav.next { right: max(16px, calc(50% - 360px)); }
.lb-nav { top: 50%; margin-top: -29px; }
.lb-nav:disabled { opacity: .3; cursor: default; box-shadow: none; }
.lb-close { top: 18px; right: 18px; background: #fff; color: #000; font-size: 2rem; width: 50px; height: 50px; }
.lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 800; letter-spacing: .1em; }
@media (max-width: 991.98px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .pola { padding: 8px 8px 0; }
  .pola figcaption { padding: 8px 2px 10px; }
  .pola figcaption b { font-size: 1.05rem; } .pola figcaption time { font-size: .9rem; }
  .lb-pola { width: 88vw; padding: 12px 12px 0; }
  .lb-nav { top: auto; bottom: 14px; margin: 0; width: 52px; height: 52px; }
  .lb-nav.prev { left: 22px; } .lb-nav.next { right: 22px; }
  .lb-count { bottom: 30px; }
}
