/* Misia — furniture & visual studio
   Static stylesheet. No framework, no build step.
   -------------------------------------------------------------------- */

:root {
  --paper: #F6F4EF;
  --paper-2: #EEEAE2;
  --paper-3: #E5E0D5;
  --ink: #1B1A17;
  --ink-soft: #35322C;
  --muted: #6E695F;
  --line: #D8D3C7;
  --accent: #9A7B52;
  --white: #FCFBF8;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-ui: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5.2vw, 88px);
  --section-y: clamp(88px, 11vw, 168px);
  --max: 1440px;
  --nav-h: 88px;

  --slot-bg: #EAE6DC;
  --slot-bg-dark: #2A2823;
  --slot-line: #BBB3A3;
  --slot-line-dark: #6A6458;
  --slot-text: #4A463E;
  --slot-text-dark: #E8E3D8;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--white); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--ink); color: var(--white); padding: 12px 20px;
  font-size: 13px; letter-spacing: .08em;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ------------------------------------------------------------ typography */

.display, .hero__title, .page-hero__title, .footer__title {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.025em;
}
.display { font-size: clamp(2.6rem, 5.4vw, 5.4rem); }
.display em, .hero__title em, .page-hero__title em, .footer__title em { font-style: italic; font-weight: 300; }

.eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.6;
}
.eyebrow--light { color: rgba(252, 251, 248, .82); }

.lead {
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.8;
  color: var(--muted);
  max-width: 65ch;
}

.rule { display: block; width: 44px; height: 1px; background: var(--line); }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); }
.section--compact { padding-block: clamp(56px, 7vw, 100px); }

.section__head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 84px); }
.section__head .lead { margin-top: 26px; }
.section__index { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.section__index > span:first-child { font-size: 11px; letter-spacing: .12em; color: var(--muted); }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 54px; padding: 0 30px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
  white-space: nowrap;
}
.btn .ico-arrow { width: 20px; transition: transform .35s ease; }
.btn:hover .ico-arrow { transform: translateX(5px); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 10px; gap: 12px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
  transition: color .3s ease, border-color .3s ease;
}
.link-arrow .ico-arrow { width: 20px; transition: transform .35s ease; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover .ico-arrow { transform: translateX(5px); }
.link-arrow--light { color: var(--white); border-color: rgba(252,251,248,.45); }
.link-arrow--light:hover { color: var(--white); border-color: var(--white); }

/* --------------------------------------------------------- navigation */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  transition: background .4s ease, border-color .4s ease, height .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(246, 244, 239, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  height: 72px;
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.brand { display: flex; flex-direction: column; line-height: 1; gap: 6px; flex: 0 0 auto; }
.brand__word { font-family: var(--font-display); font-size: 30px; letter-spacing: .16em; font-weight: 400; }
.brand__sub { font-size: 8px; letter-spacing: .22em; color: var(--muted); }
.nav.is-scrolled .brand__sub { color: var(--muted); }

/* Home opens on a dark hero, so the transparent nav needs light text. */
body.page-home .nav:not(.is-scrolled) .brand__word,
body.page-home .nav:not(.is-scrolled) .brand__sub,
body.page-home .nav:not(.is-scrolled) .nav__link { color: var(--white); }
body.page-home .nav:not(.is-scrolled) .brand__sub { opacity: .78; }
body.page-home .nav:not(.is-scrolled) .lang-switch button,
body.page-home .nav:not(.is-scrolled) .lang-switch__sep { color: rgba(252,251,248,.68); }
body.page-home .nav:not(.is-scrolled) .lang-switch button.is-active { color: var(--white); border-bottom-color: var(--white); }
body.page-home .nav:not(.is-scrolled) .nav__link::after { background: var(--white); }
body.page-home .nav:not(.is-scrolled) .nav__toggle span { background: var(--white); }
body.page-home .nav:not(.is-scrolled) .btn--outline { border-color: rgba(252,251,248,.55); color: var(--white); }
body.page-home .nav:not(.is-scrolled) .btn--outline:hover { background: var(--white); color: var(--ink); }

.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__link {
  position: relative; font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  padding-block: 8px;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--ink); transition: width .35s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 20px; }
/* ------------------------------------------------------- language switch */

.lang-switch { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lang-switch button {
  background: none; border: 0; padding: 4px 0;
  font-size: 10px; font-weight: 400; letter-spacing: .14em; color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 500; }
.lang-switch__sep { font-size: 10px; color: var(--line); }
.lang-switch--mobile { margin-top: 44px; }
.lang-switch--mobile button { font-size: 14px; padding: 8px 0; }
.lang-switch--mobile .lang-switch__sep { font-size: 14px; }
.lang-switch--footer { gap: 6px; }
.lang-switch--footer button { font-size: 10px; color: rgba(252,251,248,.55); }
.lang-switch--footer button:hover, .lang-switch--footer button.is-active { color: var(--white); }
.lang-switch--footer .lang-switch__sep { color: rgba(252,251,248,.3); }
.nav__toggle { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 10px 4px; }
.nav__toggle span { display: block; height: 1px; background: var(--ink); margin: 6px 0; transition: transform .3s ease, opacity .3s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--paper);
  padding: calc(var(--nav-h) + 60px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.2; }
.mobile-menu__mail { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* -------------------------------------------------------- media slots */

.media-slot { margin: 0; width: 100%; }
.media-slot__frame {
  position: relative; width: 100%; aspect-ratio: var(--ratio, 4 / 5);
  background: var(--slot-bg);
  border: 1px dashed var(--slot-line);
  overflow: hidden;
  transition: background .35s ease, border-color .35s ease;
}
.media-slot__frame::after {
  content: ''; position: absolute; inset: 13px; border: 1px solid var(--slot-line);
  opacity: .35; pointer-events: none;
}
.media-slot__guides {
  position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background:
    linear-gradient(to top right, transparent calc(50% - .5px), var(--slot-line) 50%, transparent calc(50% + .5px)),
    linear-gradient(to bottom right, transparent calc(50% - .5px), var(--slot-line) 50%, transparent calc(50% + .5px));
}
.media-slot__corner { position: absolute; width: 16px; height: 16px; border-color: var(--accent); opacity: .8; }
.media-slot__corner--tl { top: 13px; left: 13px; border-top: 1px solid; border-left: 1px solid; }
.media-slot__corner--tr { top: 13px; right: 13px; border-top: 1px solid; border-right: 1px solid; }
.media-slot__corner--bl { bottom: 13px; left: 13px; border-bottom: 1px solid; border-left: 1px solid; }
.media-slot__corner--br { bottom: 13px; right: 13px; border-bottom: 1px solid; border-right: 1px solid; }

.media-slot__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; padding: 24px; text-align: center; color: var(--slot-text);
  pointer-events: none;
}
.media-slot__type { font-size: 9px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; opacity: .72; }
.media-slot__mark { font-size: 14px; line-height: 1; opacity: .55; }
.media-slot__id { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3.2vw, 42px); letter-spacing: .02em; line-height: 1; }
.media-slot__label { font-size: 11px; letter-spacing: .08em; opacity: .8; max-width: 30ch; }
.media-slot__meta {
  position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 26px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slot-text); opacity: .68; pointer-events: none;
}
.media-slot__caption { margin-top: 14px; font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

.media-slot--dark .media-slot__frame { background: var(--slot-bg-dark); border-color: var(--slot-line-dark); }
.media-slot--dark .media-slot__frame::after { border-color: var(--slot-line-dark); }
.media-slot--dark .media-slot__guides { --slot-line: var(--slot-line-dark); }
.media-slot--dark .media-slot__body,
.media-slot--dark .media-slot__meta { color: var(--slot-text-dark); }
.media-slot--dark .media-slot__corner { border-color: var(--accent); opacity: 1; }

.media-slot[data-media="video"] .media-slot__frame { border-style: dashed; }
.media-slot:hover .media-slot__frame { border-color: var(--accent); }
.media-slot:focus-visible { outline-offset: 6px; }

.media-slot--fill, .media-slot--fill .media-slot__frame { height: 100%; aspect-ratio: auto; }
/* Full-bleed background slots keep their label in a quiet top-right corner
   so the headline stays completely clear. */
.media-slot--fill .media-slot__body {
  inset: calc(var(--nav-h) + 26px) 44px auto auto;
  align-items: flex-end; justify-content: flex-start;
  text-align: right; gap: 5px; padding: 0; opacity: .72;
}
.media-slot--fill .media-slot__type { font-size: 8px; }
.media-slot--fill .media-slot__mark { display: none; }
.media-slot--fill .media-slot__id { font-size: 18px; letter-spacing: .16em; }
.media-slot--fill .media-slot__label { font-size: 10px; }
.media-slot--fill .media-slot__meta { display: none; }

/* --------------------------------------------------------------- hero */

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media .media-slot__frame { border: 0; }
.hero__media .media-slot__frame::after { inset: 24px; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,19,16,.5) 0%, rgba(20,19,16,.18) 38%, rgba(20,19,16,.35) 100%); }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(110px, 13vh, 170px); padding-top: calc(var(--nav-h) + 60px); }
.hero__title {
  color: var(--white); font-size: clamp(3.6rem, 10.2vw, 10.5rem);
  margin: 26px 0 30px; max-width: 15ch;
}
.hero__lead { color: rgba(252,251,248,.86); font-size: clamp(15px, 1.4vw, 20px); line-height: 1.75; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-top: 42px; }
.hero__foot {
  position: absolute; z-index: 2; bottom: 32px; left: 0; right: 0;
  display: flex; justify-content: space-between; gap: 20px;
  color: rgba(252,251,248,.7); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll span { display: inline-block; margin-left: 8px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* -------------------------------------------------------------- stats */

.stats { border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(36px, 5vw, 68px) clamp(14px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 4.4vw, 4.4rem); line-height: 1; letter-spacing: -.03em; }
.stat strong span { color: var(--accent); }
.stat > span:last-child { display: block; margin-top: 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------- manifesto */

.manifesto__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 130px); align-items: center; }
.manifesto__text .display { margin-bottom: 32px; }
.manifesto__text p { color: var(--muted); max-width: 52ch; margin-bottom: 20px; }
.manifesto__text .link-arrow { margin-top: 22px; }

/* ----------------------------------------------------------- services */

.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--paper-2); padding: clamp(30px, 3.4vw, 52px) clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; min-height: 320px; }
.service__num { font-size: 10px; letter-spacing: .18em; color: var(--accent); margin-bottom: 32px; }
.service h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2vw, 2.1rem); line-height: 1.15; margin-bottom: 16px; }
.service p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.service .link-arrow { margin-top: auto; align-self: flex-start; font-size: 10px; }

/* --------------------------------------------------------------- work */

.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px) clamp(16px, 2.2vw, 34px); align-items: start; }
.work-card { display: block; }
.work-card[hidden] { display: none; }
.work-card .media-slot__frame { transition: background .35s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.work-card:hover .media-slot__frame { transform: translateY(-6px); }
.work-card__info { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 18px; }
.work-card__info strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.work-card__info > div > span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.work-card__cat { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding-top: 6px; white-space: nowrap; }
.work__more { display: flex; justify-content: center; margin-top: clamp(52px, 6vw, 88px); }

/* --------------------------------------------------------------- film */

.film { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.film__media { position: absolute; inset: 0; z-index: 0; }
.film__media .media-slot__frame { border: 0; }
.film::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,19,16,.25), rgba(20,19,16,.82)); pointer-events: none; }
.film__inner { position: relative; z-index: 2; padding-block: clamp(100px, 14vw, 220px); }
.film__head { max-width: 900px; margin-bottom: clamp(60px, 8vw, 120px); }
.film__head .display { color: var(--white); font-size: clamp(2.8rem, 6vw, 6.2rem); margin-top: 26px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(252,251,248,.2); }
.process__step { background: rgba(27,26,23,.72); padding: clamp(24px, 3vw, 44px); }
.process__step span { display: block; font-size: 10px; letter-spacing: .2em; color: #C8A87C; margin-bottom: 30px; }
.process__step strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; margin-bottom: 12px; }
.process__step p { font-size: 13px; line-height: 1.7; color: rgba(252,251,248,.68); }

/* -------------------------------------------------------- collections */

.collection-list { display: flex; flex-direction: column; gap: clamp(70px, 9vw, 140px); }
.collection-item { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.collection-item--reverse .collection-item__media { order: 2; }
.collection-item--reverse .collection-item__text { order: 1; }
.collection-item__text .display { margin: 20px 0 22px; font-size: clamp(2.4rem, 4.2vw, 4.2rem); }
.collection-item__text p { color: var(--muted); max-width: 40ch; margin-bottom: 30px; }

/* ------------------------------------------------------------ clients */

.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.6vw, 40px); }
.client { border-top: 1px solid var(--ink); padding-top: 26px; }
.client__num { font-size: 10px; letter-spacing: .2em; color: var(--accent); }
.client h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1.9vw, 2rem); line-height: 1.2; margin: 30px 0 14px; }
.client p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* -------------------------------------------------------------- craft */

.craft__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.craft__text .display { margin: 0 0 30px; }
.craft__text p { color: var(--muted); max-width: 48ch; margin-bottom: 20px; }
.craft__text .link-arrow { margin-top: 22px; }

/* ---------------------------------------------------------- cta strip */

.cta-strip { background: var(--accent); color: var(--white); padding-block: clamp(70px, 9vw, 130px); }
.cta-strip__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; flex-wrap: wrap; }
.cta-strip .eyebrow { color: rgba(255,255,255,.8); }
.cta-strip .display { color: var(--white); margin: 22px 0 20px; font-size: clamp(2.6rem, 5.6vw, 5.6rem); }
.cta-strip .lead { color: rgba(255,255,255,.85); }
.cta-strip__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding-bottom: 8px; }
.cta-strip .btn { background: var(--white); border-color: var(--white); color: var(--ink); }
.cta-strip .btn:hover { background: transparent; color: var(--white); }
.cta-strip .link-arrow { color: var(--white); border-color: rgba(255,255,255,.5); }
.cta-strip .link-arrow:hover { border-color: var(--white); color: var(--white); }

/* ------------------------------------------------------------- footer */

.footer { background: var(--ink); color: var(--white); padding-top: clamp(80px, 10vw, 140px); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 130px); padding-bottom: clamp(70px, 8vw, 120px); }
.footer__title { font-size: clamp(3rem, 6vw, 6rem); color: var(--white); margin: 26px 0 42px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-content: start; padding-top: 10px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: rgba(252,251,248,.72); }
.footer__cols a:hover { color: var(--white); }
.footer__label { font-size: 9.5px; letter-spacing: .22em; color: var(--accent) !important; margin-bottom: 12px; }
.footer__bottom {
  border-top: 1px solid rgba(252,251,248,.16); padding-block: 26px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 10.5px; letter-spacing: .1em; color: rgba(252,251,248,.55);
}
.footer__bottom-links { display: flex; gap: 26px; }
.footer__bottom-links a:hover { color: var(--white); }

/* ---------------------------------------------------------- page hero */

.page-hero { padding-top: calc(var(--nav-h) + clamp(70px, 9vw, 140px)); padding-bottom: clamp(50px, 6vw, 90px); }
.page-hero__title { font-size: clamp(3rem, 7.4vw, 7.4rem); max-width: 20ch; margin: 26px 0 30px; }
.page-hero .lead { max-width: 62ch; }
.page-hero__media { margin-bottom: clamp(20px, 3vw, 44px); }
.page-hero--contact { padding-bottom: clamp(30px, 4vw, 60px); }

/* ------------------------------------------------------------- filter */

.filter { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 26px; padding-bottom: 26px; margin-bottom: clamp(34px, 4vw, 60px); border-bottom: 1px solid var(--line); }
.filter__label { font-size: 9.5px; letter-spacing: .22em; color: var(--muted); margin-right: 6px; }
.filter__btn { background: none; border: 0; padding: 7px 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); position: relative; }
.filter__btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .3s ease; transform-origin: left; }
.filter__btn:hover, .filter__btn.is-active { color: var(--ink); }
.filter__btn.is-active::after { transform: scaleX(1); }
.filter__count { margin-left: auto; font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.filter__empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ------------------------------------------------- collections page */

.collections-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(38px, 4.5vw, 72px) clamp(16px, 2.2vw, 34px); }
.collection-card__info { padding-top: 20px; }
.collection-card__info .display { font-size: clamp(1.8rem, 2.6vw, 2.6rem); margin: 12px 0 10px; }
.collection-card__info p { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.materials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }

/* --------------------------------------------------------- about page */

.about-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-split__text p { color: var(--muted); margin-bottom: 26px; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 14px; font-size: 14px; color: var(--ink-soft); }
.check-list li::before { content: ''; position: absolute; left: 0; top: .65em; width: 10px; height: 1px; background: var(--accent); }
.about-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(40px, 5vw, 76px); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 50px); }
.value { border-top: 1px solid var(--ink); padding-top: 24px; }
.value span { font-size: 10px; letter-spacing: .2em; color: var(--accent); }
.value h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.2vw, 2.2rem); font-weight: 400; margin: 26px 0 14px; line-height: 1.15; }
.value p { color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------- contact page */

.contact-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(44px, 7vw, 110px); align-items: start; }
.contact-aside__media { margin-bottom: 40px; }
.contact-details { border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 34px; }
.contact-details .eyebrow { display: block; margin-bottom: 18px; }
.contact-details__mail { display: inline-block; font-family: var(--font-display); font-size: clamp(1.5rem, 2vw, 2.1rem); margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-details__mail:hover { color: var(--accent); }
.contact-details p { font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.contact-details p span { color: var(--ink); }
.contact-details__note { font-size: 11px !important; color: var(--accent) !important; margin-top: 12px; }
.steps-list { counter-reset: step; }
.steps-list li { counter-increment: step; position: relative; padding-left: 34px; margin-bottom: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.steps-list li::before { content: '0' counter(step); position: absolute; left: 0; top: 0; font-size: 10px; letter-spacing: .1em; color: var(--accent); }

.enquiry-form { background: var(--paper-2); border: 1px solid var(--line); padding: clamp(28px, 4.2vw, 64px); }
.enquiry-form > .eyebrow { display: block; margin-bottom: 14px; }
.enquiry-form > .display { font-size: clamp(2.2rem, 3.4vw, 3.4rem); margin-bottom: 38px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; margin-bottom: 22px; }
.field label { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper); border: 1px solid var(--line);
  padding: 14px 16px; font-size: 14px; font-weight: 300; border-radius: 0;
  transition: border-color .25s ease, background .25s ease;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder { color: #A29C90; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3453B; background: #FBF3F1; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field--check { margin: 4px 0 24px; }
.checkbox { display: flex; align-items: flex-start; gap: 12px; text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 300; color: var(--muted); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 3px; accent-color: var(--accent); }
.form-error { background: #F8ECE9; border-left: 2px solid #B3453B; padding: 12px 16px; font-size: 13px; color: #8C342D; margin-bottom: 20px; }
.form-note { margin-top: 18px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.form-note code { font-family: ui-monospace, Consolas, monospace; font-size: 10.5px; background: var(--paper-3); padding: 1px 5px; }
.form-success { background: var(--paper-2); border: 1px solid var(--line); padding: clamp(36px, 5vw, 76px); }
.form-success[hidden] { display: none; }
.form-success__mark { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 24px; margin-bottom: 34px; }
.form-success .display { font-size: clamp(2.2rem, 3.6vw, 3.6rem); margin: 18px 0 22px; }
.form-success p:not(.eyebrow) { color: var(--muted); max-width: 52ch; margin-bottom: 34px; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 100px); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.7rem); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-ui); font-size: 18px; font-weight: 300; color: var(--accent); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); font-size: 14px; line-height: 1.8; padding-top: 16px; max-width: 62ch; }
.map-wrap { margin-bottom: var(--section-y); }
.form-privacy-link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: -8px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.form-privacy-link .ico-arrow { width: 16px; }
.form-privacy-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------- legal pages */

.legal__grid { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1.55fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.legal__nav { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 12px; font-size: 12px; letter-spacing: .05em; color: var(--muted); }
.legal__nav .eyebrow { margin-bottom: 10px; }
.legal__nav a:hover { color: var(--ink); }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1.15; margin: 56px 0 20px; scroll-margin-top: 110px; }
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body p { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin-bottom: 16px; }
.legal__body p a { color: var(--ink); border-bottom: 1px solid var(--line); }
.legal__body p a:hover { color: var(--accent); }
.legal-note { background: var(--paper-2); border-left: 2px solid var(--accent); padding: 18px 22px; font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 52px; }
.legal-note strong { color: var(--ink); font-weight: 500; }
.legal__updated { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 50px !important; font-size: 11px !important; letter-spacing: .06em; }

/* -------------------------------------------------------------- reveal */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .reveal { animation: heroIn 1s cubic-bezier(.2,.7,.2,1) both; }
.js .hero .reveal:nth-child(2) { animation-delay: .12s; }
.js .hero .reveal:nth-child(3) { animation-delay: .24s; }
.js .hero .reveal:nth-child(4) { animation-delay: .36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.toast {
  position: fixed; z-index: 200; bottom: 26px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--white); padding: 12px 22px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .nav__links { gap: 18px; }
  .nav__cta { display: none; }
  .services__grid, .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .materials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav__links { display: none; }
  .lang-switch--nav { display: none; }
  .nav__toggle { display: block; }
  .manifesto__grid, .craft__grid, .collection-item, .about-split, .contact-grid, .faq-grid, .footer__top, .legal__grid { grid-template-columns: 1fr; }
  .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 44px; }
  .legal__nav .eyebrow { flex: 0 0 100%; }
  .collection-item--reverse .collection-item__media { order: 0; }
  .collection-item--reverse .collection-item__text { order: 0; }
  .craft__media { order: -1; }
  .work-grid, .collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact-aside__media { max-width: 440px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .cta-strip__inner { align-items: flex-start; }
}

@media (max-width: 640px) {
  .display { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .hero { min-height: 92svh; }
  .hero__title { font-size: clamp(2.6rem, 12.5vw, 4.2rem); }
  .hero__title-break { display: block; }
  .hero__actions { gap: 22px; }
  .media-slot--fill .media-slot__body { left: 20px; right: 20px; top: calc(var(--nav-h) + 16px); }
  .media-slot--fill .media-slot__label { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__foot span:first-child { display: none; }
  .hero__foot { justify-content: flex-end; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .services__grid, .clients__grid, .process, .work-grid, .collections-grid, .values__grid, .about-gallery, .materials__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer__cols { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; }
  .filter { gap: 8px 18px; }
  .filter__count { display: none; }
  .media-slot__meta { left: 22px; right: 22px; bottom: 20px; font-size: 8px; }
  .media-slot__meta span:last-child { display: none; }
  .page-hero__title { font-size: clamp(2.7rem, 12vw, 4rem); }
  .enquiry-form { padding: 24px 20px; }
}

/* --------------------------------------------------- product photo gallery */

.photo-banner { margin: 0; width: 100%; aspect-ratio: var(--ratio, 21 / 9); overflow: hidden; background: var(--paper-2); }
.photo-banner img { width: 100%; height: 100%; object-fit: cover; }

.pgallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px) clamp(12px, 1.5vw, 24px);
  align-items: start;
}
.pcard { display: block; position: relative; cursor: zoom-in; }
.pcard[hidden] { display: none; }
.pcard__media {
  display: block; position: relative; overflow: hidden;
  background: var(--white); aspect-ratio: 1 / 1;
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
/* full-bleed scene photos keep their natural proportions, no white bands */
.pcard__media--scene { aspect-ratio: var(--ratio, 4 / 3); background: var(--paper-2); }
.pcard__media--scene img { object-fit: cover; }
.pcard:hover .pcard__media img { transform: scale(1.045); filter: brightness(.94); }
.pcard__zoom {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--ink); font-size: 19px; line-height: 1;
  opacity: 0; transform: scale(.8); transition: opacity .3s ease, transform .3s ease;
}
.pcard:hover .pcard__zoom, .pcard:focus-visible .pcard__zoom { opacity: 1; transform: scale(1); }
.pcard__meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; }
.pcard__num { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em; }
.pcard__cat { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(18,17,15,.94); backdrop-filter: blur(6px); }
.lightbox__inner { position: relative; z-index: 1; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 34px); padding: clamp(52px, 6vh, 80px) clamp(16px, 4vw, 64px); }
.lightbox__figure { margin: 0; max-width: min(1180px, 88vw); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 240px); object-fit: contain; background: #111; }
.lightbox__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; width: 100%; color: var(--white); font-size: 12px; letter-spacing: .08em; }
.lightbox__cap strong { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: .02em; }
.lightbox__count { color: rgba(252,251,248,.62); white-space: nowrap; }
.lightbox__cta { align-self: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; background: none; border: 0; color: var(--white);
  display: grid; place-items: center; transition: color .2s ease, transform .2s ease;
}
.lightbox__close { top: 22px; right: 28px; font-size: 38px; line-height: 1; width: 46px; height: 46px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 84px; font-size: 44px; line-height: 1; color: rgba(252,251,248,.6); }
.lightbox__nav:hover { color: var(--white); transform: translateY(-50%) scale(1.08); }
.lightbox__nav--prev { left: clamp(4px, 1.5vw, 24px); }
.lightbox__nav--next { right: clamp(4px, 1.5vw, 24px); }
body.lb-open { overflow: hidden; }

@media (max-width: 1100px) { .pgallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .pgallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .pcard__num { font-size: 1rem; }
  .pcard__cat { font-size: 8.5px; }
  .lightbox__inner { gap: 4px; padding-inline: 8px; }
  .lightbox__nav { width: 34px; font-size: 32px; }
  .lightbox__img { max-height: calc(100vh - 220px); }
  .lightbox__cap { font-size: 10px; gap: 12px; }
  .lightbox__cap strong { font-size: 1.1rem; }
}

/* ------------------------------------------------ photo blocks (real media) */

.media-slot--photo .media-slot__frame { border: 0; background: var(--paper-2); }
.media-slot--photo .media-slot__frame::after { display: none; }
.media-slot__frame--photo img { display: block; width: 100%; height: 100%; }
.hero__media .media-slot--photo .media-slot__frame,
.film__media .media-slot--photo .media-slot__frame { border: 0; }

/* --------------------------------------------- series cover selector */

.series-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 18px);
  margin-bottom: clamp(18px, 2.4vw, 34px);
}
.series-card {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px; text-align: left; color: inherit;
}
.series-card__img {
  display: block; position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  transition: border-color .3s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.series-card__img::after {
  content: ''; position: absolute; inset: 0; background: var(--ink); opacity: 0;
  transition: opacity .3s ease;
}
.series-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.series-card:hover .series-card__img, .series-card:focus-visible .series-card__img { border-color: var(--accent); }
.series-card:hover .series-card__img img { transform: scale(1.06); }
.series-card.is-active .series-card__img { border-color: var(--accent); }
.series-card.is-active .series-card__img::after { opacity: .12; }
.series-card__name { font-family: var(--font-display); font-size: clamp(.95rem, 1.25vw, 1.2rem); line-height: 1.2; letter-spacing: .01em; }
.series-card.is-active .series-card__name { color: var(--accent); }
.series-card__count { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.filter--subtle { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: clamp(22px, 3vw, 40px); }

@media (max-width: 1100px) { .series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ------------------------------------------------------ Chinese typography */

html[lang="zh-CN"] {
  --font-display: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', SimSun, Georgia, serif;
  --font-ui: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', Arial, sans-serif;
}
html[lang="zh-CN"] body { font-size: 15.5px; line-height: 1.75; }
html[lang="zh-CN"] .display,
html[lang="zh-CN"] .hero__title,
html[lang="zh-CN"] .page-hero__title,
html[lang="zh-CN"] .footer__title { letter-spacing: .01em; line-height: 1.24; }
html[lang="zh-CN"] .display em,
html[lang="zh-CN"] .hero__title em,
html[lang="zh-CN"] .page-hero__title em,
html[lang="zh-CN"] .footer__title em { font-style: normal; }
html[lang="zh-CN"] .eyebrow { letter-spacing: .12em; font-size: 11px; }
html[lang="zh-CN"] .btn,
html[lang="zh-CN"] .link-arrow,
html[lang="zh-CN"] .nav__link,
html[lang="zh-CN"] .filter__btn,
html[lang="zh-CN"] .field label { letter-spacing: .06em; }
html[lang="zh-CN"] .hero__title { font-size: clamp(3rem, 8.4vw, 8.6rem); max-width: 12ch; }
html[lang="zh-CN"] .lead,
html[lang="zh-CN"] .legal__body p { line-height: 1.85; }
html[lang="zh-CN"] .work-card__info strong,
html[lang="zh-CN"] .service h3,
html[lang="zh-CN"] .value h3,
html[lang="zh-CN"] .client h3,
html[lang="zh-CN"] .collection-card__info .display { letter-spacing: .01em; }
html[lang="zh-CN"] .media-slot__label,
html[lang="zh-CN"] .media-slot__caption { letter-spacing: .02em; }
html[lang="zh-CN"] .stat > span:last-child { letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- real cases
 * Cards are injected at runtime from assets/data/cases.json. Each case shows
 * its cover image + title; clicking opens a lightbox through all its photos.
 */
.casecards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}
.casecards--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.casecard {
  display: block; position: relative; cursor: zoom-in; text-decoration: none;
  color: inherit; opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.casecard.is-visible { opacity: 1; transform: none; }
.casecard__media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--paper-2); border: 1px solid var(--line);
}
.casecard__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.casecard:hover .casecard__media img,
.casecard:focus-visible .casecard__media img { transform: scale(1.05); filter: brightness(.94); }
.casecard__count {
  position: absolute; right: 12px; top: 12px; z-index: 1;
  background: rgba(27,26,23,.72); color: var(--white);
  font-size: 10px; letter-spacing: .08em; padding: 4px 9px;
}
.casecard__info { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 14px; }
.casecard__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: .01em; line-height: 1.25; }
.casecard__arrow { flex: none; color: var(--accent); font-size: 1.1rem; }
html[lang="zh-CN"] .casecard__title { font-size: 1.32rem; }
@media (max-width: 720px) {
  .casecards, .casecards--home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .casecard__title { font-size: 1.15rem; }
  html[lang="zh-CN"] .casecard__title { font-size: 1rem; }
  .casecard__info { padding-top: 10px; }
}
@media (max-width: 420px) {
  .casecards--home { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- CMS custom sections */
.cms-custom__media { margin: 0 0 28px; }
.cms-custom__media img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.cms-custom .lead { max-width: 70ch; }

/* ------------------------------------------- case image placeholders
 * Decorative frames shown where no real case photo has been published yet.
 * They reuse the media-slot visual language but are never clickable.
 */
.casecard--ph { cursor: default; pointer-events: none; }
.casecard--ph:hover .casecard__media img { transform: none; filter: none; }
.casecard__media--ph {
  background: var(--slot-bg);
  border: 1px dashed var(--slot-line);
}
.casecard__media--ph::after {
  content: ''; position: absolute; inset: 13px; border: 1px solid var(--slot-line);
  opacity: .35; pointer-events: none;
}
.casecard--ph .casecard__title { color: var(--muted); opacity: .7; }
.casecard--ph .casecard__arrow { display: none; }
