/* UUKOO 官网（没登录的人打开 uukoo.com 看到的页面）。独立于工作台的 studio.css。
   画册式：深色首屏 + 打版纸网格，米色纸张底，衬线西文数字，橙色只作点缀。不用外部字体（国内打不开）。 */
:root {
  --night: #14120f;
  --night-2: #1d1a16;
  --night-line: rgba(246, 240, 230, .1);
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --white: #fffdf9;
  --ink: #1d1b18;
  --ink-2: #4f4a43;
  --muted: #8a8378;
  --line: #e2dcd2;
  --cream: #f3ece1;
  --cream-2: rgba(243, 236, 225, .66);
  --accent: #e0651c;
  --accent-2: #f08a48;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  --display: "Didot", "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }

/* 品牌标（和工作台同一套 SVG） */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.mark { display: block; height: 30px; width: auto; overflow: visible; }
.lockup { display: inline-flex; flex-direction: column; line-height: 1; }
.word { font-family: var(--display); font-size: 21px; letter-spacing: .34em; margin-right: -.34em; }
.word em { font-style: normal; color: var(--accent); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px; border-radius: 999px; font-size: 14px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #c95714; }
.btn-ghost { color: inherit; }
.btn-ghost:hover { border-color: currentColor; }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: rgba(255, 255, 255, .08); }

/* 导航 */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px 28px;
  color: var(--cream); transition: background .3s, color .3s, box-shadow .3s; }
.nav.dim { background: rgba(20, 18, 15, .9); backdrop-filter: blur(10px); }
.nav.solid { background: rgba(246, 243, 238, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.nav-links { display: flex; gap: 26px; font-size: 14px; }
.nav-links a { text-decoration: none; opacity: .78; }
.nav-links a:hover { opacity: 1; }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* 首屏共用的小件（首屏本身见下面「首屏：左文右图的分屏幻灯片」） */
.eyebrow { margin: 0 0 22px; font-size: 13px; letter-spacing: .18em; color: var(--accent-2); }
.nw { white-space: nowrap; }
.lead { font-size: 17px; color: var(--cream-2); max-width: 32em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; color: var(--cream-2); }
.hero-facts b { color: var(--cream); font-weight: 600; margin-right: 6px; }

/* 实测数字 */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 24px 32px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; letter-spacing: -.01em; }
.fact small { font-size: 18px; margin-left: 3px; color: var(--accent); }
.fact span { font-size: 14px; font-weight: 600; }
.fact em { display: block; font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted); }

/* 通用小节 */
.sec { padding: 112px 0; }
.sec-paper { background: var(--paper-2); }
.sec-dark { background: var(--night); color: var(--cream); }
.sec-head { max-width: 800px; margin-bottom: 56px; }
.sec-head p:not(.num) { max-width: 640px; }
.num { margin: 0 0 14px; font-size: 13px; letter-spacing: .2em; color: var(--accent); }
.sec h2 { margin: 0 0 18px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.25; font-weight: 700; letter-spacing: .02em; }
.sec-head p:not(.num) { margin: 0; color: var(--ink-2); font-size: 17px; }
.sec h3 { margin: 0 0 8px; font-size: 18px; }

/* 01 款式链路 */
.chain { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: c; }
.chain li { position: relative; display: grid; gap: 4px; }
.chain li + li::before { content: "→"; position: absolute; left: -22px; top: 38%; color: var(--accent); font-size: 18px; }
.chain figure { margin: 0 0 12px; background: #fff; border: 1px solid var(--line); aspect-ratio: 900 / 1043; overflow: hidden; }
.chain figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.chain li:hover figure img { transform: scale(1.03); }
.chain b { font-size: 15px; }
.chain span { font-size: 13px; color: var(--muted); }
.pair { margin-top: 88px; display: grid; grid-template-columns: minmax(0, 300px) auto minmax(0, 300px) 1fr; gap: 24px; align-items: center; }
.pair figure { margin: 0; background: #fff; border: 1px solid var(--line); }
.pair figcaption { font-size: 12px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
.pair-arrow { font-size: 26px; color: var(--accent); }
.pair-text { padding-left: 20px; }
.pair-text p { margin: 0; color: var(--ink-2); }

/* 02 工艺单 */
.tp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.sec-dark .lead { margin: 0 0 28px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--cream-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: var(--accent); }
.ticks b { color: var(--cream); font-weight: 600; }
.paper { background: var(--white); color: var(--ink); padding: 28px 28px 20px; border-radius: 2px; transform: rotate(-.6deg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .04); }
.paper-head { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--accent); }
.paper-head img { width: 90px; height: auto; border: 1px solid var(--line); }
.paper-k { margin: 0; font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.paper h3 { margin: 2px 0 6px; font-size: 17px; }
.paper-sum { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.paper table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 12.5px; line-height: 1.55; }
.paper th { text-align: left; font-weight: 500; color: var(--muted); font-size: 11.5px; padding: 6px 6px; border-bottom: 1px solid var(--line); }
.paper td { padding: 8px 6px; border-bottom: 1px solid #eee8de; vertical-align: top; }
.paper td:first-child { white-space: nowrap; font-weight: 600; }
.paper td.c { color: #b34d10; }
.paper-foot { margin: 12px 0 0; font-size: 11px; color: var(--muted); }

/* 03 团队 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); padding: 30px 28px 32px; position: relative; }
.card-n { display: block; font-family: var(--display); font-size: 40px; line-height: 1; color: var(--accent); margin-bottom: 22px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* 04 工具 */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool { padding: 24px 24px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; background: var(--paper-2); }
.tool b { font-size: 16px; }
.tool span { font-size: 14px; color: var(--ink-2); }

/* 05 隐私 */
.priv { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.priv li { padding: 24px 22px 8px 0; display: grid; gap: 8px; align-content: start; }
.priv li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.priv b { font-size: 16px; }
.priv span { font-size: 14px; color: var(--ink-2); }

/* 申请试用 */
.apply-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: baseline; color: var(--cream-2); }
.steps b { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--accent-2); width: 18px; }
.contact { display: grid; gap: 22px; padding: 30px 32px; border: 1px solid var(--night-line); background: var(--night-2); }
.contact p { margin: 0; font-size: 14px; color: var(--cream-2); }
/* 留联系方式的表单 */
.lead-form { display: grid; gap: 14px; }
.lead-form[hidden], .lead-done[hidden] { display: none; }
.lead-form h3 { margin: 0; font-size: 18px; color: var(--cream); }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-size: 13px; color: var(--cream-2); }
.lead-form label i { font-style: normal; color: var(--accent-2); }
.lead-form input, .lead-form textarea { font: inherit; font-size: 15px; color: var(--cream); background: var(--night); border: 1px solid var(--night-line);
  border-radius: 6px; padding: 10px 12px; width: 100%; box-sizing: border-box; resize: vertical; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--muted); }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--accent-2); }
.lead-form .btn { justify-self: start; padding: 11px 30px; }
.lead-form .btn:disabled { opacity: .6; cursor: default; }
.lf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-err { color: #ff9b8a; font-size: 13px; min-height: 0; }
.lf-err:empty { display: none; }
.lf-note { font-size: 12px !important; opacity: .7; }
.lead-done { display: grid; gap: 10px; justify-items: start; padding: 12px 0; }
.lead-done b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 20px; }
.lead-done p { font-size: 16px; color: var(--cream); }
/* 表单下面：微信二维码 + 登录 */
.contact-alt { display: flex; gap: 18px; align-items: center; padding-top: 22px; border-top: 1px solid var(--night-line); }
.contact-alt img { width: 112px; height: 112px; background: #fff; flex: none; }
.contact-alt > div { display: grid; gap: 10px; justify-items: start; }
.contact-alt .btn { margin-top: 2px; }

/* 页脚 */
.foot { background: var(--night); color: var(--cream-2); border-top: 1px solid var(--night-line); padding: 36px 0 44px; font-size: 13px; }
.foot-inner { display: grid; grid-template-columns: auto 1fr; gap: 6px 32px; align-items: center; }
.foot .brand { color: var(--cream); grid-row: span 2; }
.foot p { margin: 0; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-note { font-size: 12px; opacity: .7; }
.foot .gongan { white-space: nowrap; }
.foot .gongan img { display: inline-block; vertical-align: -3px; margin-right: 4px; }

/* 滚动出现（用户要求减少动态时不动） */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
/* 首屏：左文右图的分屏幻灯片（2026-10-31 主张幻灯片和原首屏合成一屏）。右边是一张完整成衣卡片，不铺满、不裁切；换片像幕布横着擦过，左下角叠线稿 / 别的面料小卡 */
/* 整段（标题、成衣卡片、四条主张）一起放进第一屏：四条主张贴在第一屏底部，不用滚动就能看到 */
.mf { background: var(--night); color: var(--cream); position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: max(600px, min(100vh, 1080px)); min-height: max(600px, min(100svh, 1080px)); }
.mf-split { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: clamp(40px, 5vw, 96px);
  padding: 64px clamp(28px, 4vw, 72px) 0; }
.mf-copy { position: relative; display: flex; flex-direction: column; justify-content: center; flex: 0 1 600px; min-width: 0;
  padding: clamp(16px, 3vh, 40px) 0; }
.mf-copy::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 120px 120px; mask-image: radial-gradient(ellipse 70% 60% at 30% 45%, #000 20%, transparent 75%); }
.mf h1 { margin: 0 0 clamp(26px, 4.5vh, 48px); font-size: clamp(36px, 3.3vw, 60px); line-height: 1.08; font-weight: 700; letter-spacing: .01em; color: var(--white); }
.mf h1 em { font-style: normal; color: var(--accent-2); }
.mf-texts { display: grid; }
.mf-text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.mf-text.on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease .35s, transform .7s ease .35s; }
.mf-no { margin: 0 0 10px; font-family: var(--display); font-style: italic; font-size: 14px; letter-spacing: .08em; color: var(--accent-2); }
.mf-quote { margin: 0 0 10px; font-family: var(--display), var(--sans); font-size: clamp(20px, 1.85vw, 27px); line-height: 1.4; color: var(--white); }
.mf-desc { margin: 0; font-size: 15px; color: var(--cream-2); max-width: 31em; }
.mf-desc b { font-weight: 400; color: var(--cream); }
.mf .hero-cta { margin-top: clamp(24px, 4vh, 40px); }
.mf .hero-facts { margin-top: 24px; }
.mf-ctrl { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 5vh, 52px); }
.mf-count { font-family: var(--display); font-size: 14px; letter-spacing: .12em; color: var(--muted); }
.mf-count b { color: var(--white); font-weight: 400; font-size: 20px; }
.mf-bar { flex: 1; height: 1px; background: var(--night-line); position: relative; }
.mf-bar i { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--accent); }
.mf-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246, 240, 230, .25); background: transparent; color: var(--cream);
  font-size: 17px; cursor: pointer; transition: background .2s, border-color .2s; }
.mf-btn:hover { background: var(--accent); border-color: var(--accent); }

/* 右边成衣卡片：按图片比例居中，四周是和左边一样的深色，整件衣服都在画面里。没有过渡的状态直接跳；.on 从右往左擦进来（往回翻 .rev 从左往右），.out 留在下面垫着 */
.mf-stage { position: relative; overflow: hidden; flex: 0 0 auto;
  width: min(520px, 38vw, calc((100vh - 330px) * 900 / 1043)); min-width: 260px; aspect-ratio: 900 / 1043;
  background: #eceae6; box-shadow: 0 28px 60px -30px rgba(0, 0, 0, .7); }
.mf-slide { position: absolute; inset: 0; visibility: hidden; clip-path: inset(0 0 0 100%); z-index: 1; }
.mf-stage.rev .mf-slide { clip-path: inset(0 100% 0 0); }
.mf-stage .mf-slide.out { visibility: visible; clip-path: inset(0); }
.mf-stage .mf-slide.on { visibility: visible; clip-path: inset(0); z-index: 2; transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1); }
.mf-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mf-tag, .mf-note { position: absolute; z-index: 2; top: 12px; font-size: 11px; letter-spacing: .12em; }
.mf-tag { right: 12px; padding: 4px 10px; background: rgba(20, 18, 15, .8); color: #fff; }
.mf-note { left: 12px; color: rgba(20, 18, 15, .5); letter-spacing: .04em; font-size: 11px; max-width: 52%; }
.mf-insets { position: absolute; z-index: 2; left: 12px; bottom: 12px; right: 12px; display: flex; gap: 8px; align-items: flex-end; }
.mf-insets figure { margin: 0; width: 21%; background: var(--white); padding: 4px 4px 1px; box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .55); }
.mf-insets.one figure { width: 30%; padding: 5px 5px 2px; }
.mf-insets figcaption { margin-top: 3px; font-size: 11px; letter-spacing: .14em; color: var(--muted); text-align: center; }
.mf-slide.on .mf-tag, .mf-slide.on .mf-insets figure { animation: mf-up .8s cubic-bezier(.22, .61, .36, 1) .6s both; }
.mf-slide.on .mf-insets figure:nth-child(2) { animation-delay: .72s; }
.mf-slide.on .mf-insets figure:nth-child(3) { animation-delay: .84s; }
@keyframes mf-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.mf > .wrap { width: 100%; }
.mf-pillars { list-style: none; margin: 0; padding: clamp(16px, 2.6vh, 28px) 0 clamp(18px, 3.2vh, 36px); border-top: 1px solid var(--night-line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mf-pillars li { display: grid; gap: 2px; line-height: 1.6; }
.mf-pillars span { font-family: var(--display); font-size: 22px; color: var(--accent-2); line-height: 1; margin-bottom: 6px; }
.mf-pillars b { color: var(--white); font-size: 16px; }
.mf-pillars em { font-style: normal; color: var(--cream-2); font-size: 14px; }
/* 矮屏笔记本：三个数字下面「实测数字」一段还有，这里先收起，标题和按钮留在第一屏里 */
@media (min-width: 981px) and (max-height: 820px) {
  .mf h1 { margin-bottom: 18px; }
  .mf .hero-cta { margin-top: 20px; }
  .mf .hero-facts { margin-top: 16px; }
  .mf-ctrl { margin-top: 20px; }
}
@media (min-width: 981px) and (max-height: 760px) {
  .mf .hero-facts { display: none; }
  .mf h1 { font-size: clamp(34px, 3.2vw, 54px); }
  .mf-desc { display: none; }
}
@media (max-width: 980px) {
  .mf { min-height: 0; }
  .mf-split { flex-direction: column; align-items: stretch; gap: 0; padding: 56px 0 0; }
  .mf-stage { order: -1; width: min(380px, 72%); min-width: 0; max-width: 72%; margin: 8px auto 4px; }
  .mf-copy { flex: none; padding: 36px 28px 40px; }
  .mf-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .mf-stage { width: min(300px, 78%); max-width: 78%; }
  .mf-copy { padding: 28px 16px 36px; }
  .mf h1 { font-size: clamp(32px, 9vw, 44px); }
  .mf-insets figure { width: 68px; padding: 4px 4px 2px; }
  .mf-insets.one figure { width: 96px; }
  .mf-insets figcaption { font-size: 10px; letter-spacing: .06em; }
  .mf-note { display: none; }
  .mf-pillars { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 平板 */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .tp-grid, .apply-grid { grid-template-columns: 1fr; gap: 48px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chain { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .chain li:nth-child(3)::before { display: none; }
  .pair { grid-template-columns: minmax(0, 300px) auto minmax(0, 300px); }
  .pair-text { grid-column: 1 / -1; padding: 0; }
  .cards, .tools { grid-template-columns: 1fr 1fr; }
  .priv { grid-template-columns: 1fr 1fr; }
  .priv li:nth-child(3) { padding-left: 0; border-left: 0; }
  .paper { transform: none; }
}
/* 手机 */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 10px 16px; gap: 12px; }
  .nav .btn-ghost { display: none; }
  .word { font-size: 18px; }
  .lead { font-size: 15.5px; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .facts-grid, .cards, .tools, .priv { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(3) { border-left: 0; padding: 22px 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .priv li, .priv li + li { padding: 20px 0 4px; border-left: 0; }
  .priv li + li { border-top: 1px solid var(--line); }
  .chain li::before { display: none; }
  .pair { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pair-arrow { display: none; }
  .paper { padding: 20px 16px 16px; }
  .paper-head { grid-template-columns: 64px 1fr; gap: 12px; }
  .paper-head img { width: 64px; }
  .paper th:nth-child(3), .paper td:nth-child(3) { display: none; }
  .contact { padding: 24px 16px; }
  .lf-row { grid-template-columns: 1fr; }
  .lead-form .btn { justify-self: stretch; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot .brand { grid-row: auto; }
}
.tool-soon b { color: var(--muted); }
/* 作品墙：成品，悬停 / 点一下看线稿 */
.gallery-head { margin: 96px 0 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gallery-head h3 { margin: 0; font-size: 22px; }
.gallery-head p { margin: 0; font-size: 13px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gcard { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; display: grid; gap: 8px; }
.gimg { position: relative; display: block; aspect-ratio: 900 / 1043; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.gimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.g-sketch { opacity: 0; }
.gcard:hover .g-sketch, .gcard:focus-visible .g-sketch, .gcard.flip .g-sketch { opacity: 1; }
.gcap { font-size: 13px; color: var(--muted); display: grid; }
.gcap b { color: var(--ink); font-size: 14px; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } .gallery-head { margin-top: 64px; } }
