/* Roundo — tonal layer: cards are back, but cut from the same colour as the page.
   A card reads through a hairline, a soft top highlight and its shadow on hover — never through a different fill. */
:root {
  --bg: #f4f1ec; --surface: var(--bg); --card: var(--bg); --sunk: #ebe6de; --line: #e1dacf; --line-strong: #cbc1b2;
  --r: 22px; --r-sm: 14px; --wrap: none; --pad: clamp(20px, 4.5vw, 76px);
  --relief: inset 0 1px 0 rgba(255, 255, 255, .75), 0 1px 2px rgba(60, 45, 25, .04);
  --lift: inset 0 1px 0 rgba(255, 255, 255, .75), 0 34px 60px -36px rgba(60, 45, 25, .38);
}
body::before { opacity: .04; }
.wrap { max-width: none; padding-inline: var(--pad); margin-block: clamp(40px, 5vw, 76px); }
#header { padding-inline: var(--pad); background: color-mix(in srgb, var(--bg) 84%, transparent); }
#footer { max-width: none; padding-inline: var(--pad); }
.sec.big { margin-top: calc(clamp(40px, 5vw, 76px) * -1); }
* + .sec { margin-top: clamp(44px, 6vw, 90px); }

/* ---------- one card recipe for everything ---------- */
.card.product, .masonry .card.scene, .card.brand, .card.arch, .card.ad, .panel, .gallery, .specs, .a-card, .ai-box, .empty, .banner {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--relief);
  transition: border-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.card.product:hover, .masonry .card.scene:hover, .card.brand:hover, .card.arch:hover, .card.ad:hover { border-color: var(--line-strong); box-shadow: var(--lift); transform: translateY(-5px); }

/* product */
.card.product { padding: 10px 10px 16px; }
.card.product .meta { grid-template-columns: 1fr auto; column-gap: 12px; padding: 14px 8px 0; align-items: baseline; }
.card.product .meta b { font-weight: 500; font-size: 14.5px; }
.card.product .meta span { grid-row: 2; font-size: 12px; }
.card.product .meta em { grid-row: 1; grid-column: 2; font-size: 12.5px; color: var(--ink2); white-space: nowrap; }
.pimg { aspect-ratio: var(--t, 1); background: var(--sunk); border-radius: var(--r-sm); }
.pimg.crop > div { width: 100%; height: 100%; aspect-ratio: auto; background-repeat: no-repeat; }
.pimg > * { transition: transform 1.4s var(--ease); }
.card.product:hover .pimg > * { transform: scale(1.05); }
.card .savebtn { top: 18px; inset-inline-end: 18px; background: rgba(244, 241, 236, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: none; opacity: 0; scale: .85; transition: opacity .3s, scale .4s var(--ease); }
.card:hover .savebtn, .card:focus-within .savebtn, .card .savebtn.on { opacity: 1; scale: 1; }
@media (hover: none) { .card .savebtn { opacity: 1; scale: 1; } }
.tagpop .savebtn { opacity: 1; scale: 1; background: var(--sunk); }

/* scene tile in feeds: same card, picture on top, label inside */
.masonry .card.scene { padding: 10px 10px 14px; }
.masonry .card.scene .scene-media img { border-radius: var(--r-sm); }
.masonry .card.scene .cover { border-radius: var(--r); }
.masonry .card.scene .cap { position: static; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 14px 8px 0; background: none; color: var(--ink); opacity: 1; }
.masonry .card.scene .cap b { font-weight: 500; font-size: 14.5px; }
.masonry .card.scene .cap > span { grid-row: 2; color: var(--muted); }
.masonry .card.scene .cap .chips { grid-row: 1; grid-column: 2; margin: 0; align-self: baseline; }
.masonry .card.scene .cap .chips i { background: none; padding: 0; color: var(--muted); }
.masonry .card.scene .cap .chips .chip { display: none; }
.masonry .card.scene .savebtn { top: 18px; }

/* brand, architect, ad */
.card.brand { padding: 10px 10px 4px; overflow: visible; }
.card.brand img { aspect-ratio: 16 / 10; border-radius: var(--r-sm); }
.card.brand:hover img { transform: none; }
.card.brand div { padding: 16px 10px 14px; }
.card.arch { padding: 10px; }
.card.arch .thumbs img, .card.arch .thumbs img:first-child { border-radius: 12px; }
.card.arch .who { padding: 14px 8px 8px; }
.card.ad { padding: 28px; }
.card.board { border-radius: var(--r); }

/* grids */
.grid.products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.masonry { columns: 4 270px; column-gap: 20px; }
.masonry.two { columns: 2 320px; }
.masonry > * { margin-bottom: 20px; }
.grid.brands, .grid.archs { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.rail { grid-auto-columns: 200px; gap: 16px; padding-bottom: 26px; }
.picks { grid-auto-columns: 168px; }
.explore .masonry { margin-top: 30px; }

/* ---------- panels, forms, filters: tonal too ---------- */
.panel, .specs, .a-card, .gallery { padding: clamp(18px, 2vw, 28px); }
.a-card { padding-top: 48px; padding-inline: 0; }
.ai-box { padding: 24px; }
.ai-box.mini:hover { background: var(--bg); border-color: var(--line-strong); box-shadow: var(--lift); }
.empty { border-style: solid; }
.banner { min-height: 400px; }
.notice { background: none; border: 1px solid #e3cfa6; border-radius: 14px; }
.promo { background: var(--bg); border: 1px solid var(--line); box-shadow: var(--relief); }
.chip-btn { background: transparent; border-color: var(--line); }
.chip-btn:hover { border-color: var(--ink); }
.chip, .chips i { background: none; border: 1px solid var(--line); }
.cap .chips i { border: 0; }
.search:not(.hero-search) { background: transparent; border: 1px solid var(--line); border-radius: 999px; }
.search:not(.hero-search):focus-within { border-color: var(--ink); }
.btn.ghost { background: transparent; }
.field input, .field select, textarea, .filters select, .dash select, .inline input, .mb-src { background: transparent; border: 1px solid var(--line); border-radius: 12px; }
.levels button { background: var(--bg); border-color: var(--line); border-radius: 16px; box-shadow: var(--relief); }
.g-thumbs button { background: transparent; border-color: var(--line); border-radius: 12px; }
.modal { background: var(--bg); border: 1px solid rgba(255, 255, 255, .7); border-radius: 26px; }
.loops, .marquee { background: var(--bg); }
.detail { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(24px, 3.5vw, 60px); }
.g-main { height: min(62vh, 620px); }
.g-main .pimg { height: 100%; width: auto; max-width: 100%; aspect-ratio: var(--t); background: none; }
.kpi { box-shadow: var(--relief); }

/* ---------- moodboard canvas ---------- */
body.canvas-page #footer, body.canvas-page #toTop { display: none; }
.mb { display: grid; grid-template-columns: 250px minmax(0, 1fr); height: calc(100svh - var(--hh)); background: var(--mb); color: var(--ink); transition: background .7s; }
.mb.dark { color: #f4f1ec; }
.mb-tray { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: 10px; min-height: 0; padding: 26px 20px 0; padding-inline-start: var(--pad); background: var(--bg); color: var(--ink); border-inline-end: 1px solid var(--line); }
.mb-tray h1 { font-size: 26px; font-weight: 200; }
.mb-tray p { color: var(--muted); font-size: 12.5px; }
.mb-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; align-content: start; overflow: auto; padding: 8px 0 24px; scrollbar-width: none; }
.mb-pick { display: grid; gap: 6px; text-align: start; cursor: grab; min-width: 0; }
.mb-pick span { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-pick:hover span { color: var(--ink); }
.mb-main { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; min-height: 0; }
.mb-bar { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; padding: 16px var(--pad) 10px 26px; padding-inline: 26px var(--pad); }
.mb-bar [data-tool] { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: inherit; opacity: .7; transition: opacity .2s; }
.mb-bar [data-tool]:hover { opacity: 1; }
.mb-bar .ic { width: 15px; height: 15px; }
.mb-dots { display: flex; gap: 9px; }
.mb-dots button { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(120, 110, 95, .45); }
.mb-dots button.on { box-shadow: 0 0 0 3px var(--mb), 0 0 0 4px currentColor; }
.mb-total { margin-inline-start: auto; font-size: 13px; }
.mb-total b { font-weight: 500; }
.mb.dark .btn.dark { background: #f4f1ec; color: var(--ink); }
.mb-stage { position: relative; overflow: hidden; outline: 0; touch-action: none; direction: ltr; }
.mb-hint { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; opacity: .55; pointer-events: none; direction: inherit; font-size: 14px; }
.mb-hint .ic { width: 72px; height: 72px; padding: 24px; border: 1px solid currentColor; border-radius: 50%; }
.mb-stage.has .mb-hint { display: none; }
.mb-item { position: absolute; cursor: grab; user-select: none; touch-action: none; }
.mb-item:active { cursor: grabbing; }
.mb-img { width: 100%; height: 100%; background-repeat: no-repeat; box-shadow: 0 34px 54px -34px rgba(30, 22, 10, .55); }
.mb-item.round .mb-img, .mb-item.swatch { border-radius: 50%; }
.mb-item.swatch { background: var(--c); box-shadow: 0 20px 34px -22px rgba(30, 22, 10, .6); }
.mb-item em { position: absolute; top: calc(100% + 7px); left: 0; font-style: normal; font-size: 11px; white-space: nowrap; opacity: 0; transition: opacity .3s; pointer-events: none; }
.mb-item:hover em, .mb-item.sel em { opacity: .75; }
.mb-item.note span { display: block; font-size: clamp(15px, 1.7vw, 28px); font-weight: 200; white-space: nowrap; outline: 0; cursor: text; unicode-bidi: plaintext; }
.mb-item.sel { outline: 1px solid currentColor; outline-offset: 7px; z-index: 9999 !important; }
.mb-h { position: absolute; right: -13px; bottom: -13px; width: 13px; height: 13px; border-radius: 50%; background: var(--mb); border: 1px solid currentColor; cursor: nwse-resize; display: none; }
.mb-item.sel .mb-h { display: block; }
.mb-menu { position: absolute; bottom: calc(100% + 18px); left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(28, 26, 23, .84); border-color: rgba(255, 255, 255, .16); white-space: nowrap; font-size: 12px; cursor: default; }
.mb-menu.below { bottom: auto; top: calc(100% + 30px); }
.mb-menu button, .mb-menu a { padding: 5px 11px; border-radius: 999px; color: #fff; }
.mb-menu button:hover, .mb-menu a:hover { background: rgba(255, 255, 255, .16); }
.mb-menu .sw { width: 17px; height: 17px; padding: 0; margin: 0 3px; background: var(--c); border: 1px solid rgba(255, 255, 255, .45); }


@media (max-width: 1100px) { .detail, .arch-page { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 800px) {
  .mb { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .mb-tray { order: 2; grid-template-rows: auto auto; padding: 8px 16px; border: 0; border-top: 1px solid var(--line); }
  .mb-tray h1, .mb-tray p { display: none; }
  .mb-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74px; padding: 4px 0 8px; }
  .mb-bar { padding-inline: 16px; gap: 8px 14px; }
  .mb-bar [data-tool] span { display: none; }
}
@media (max-width: 680px) { .masonry, .masonry.two { columns: 2 150px; column-gap: 10px; } .masonry > * { margin-bottom: 10px; } .grid.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .grid.brands, .grid.archs { grid-template-columns: minmax(0, 1fr); } .card.product, .masonry .card.scene { padding: 6px 6px 12px; } }
@media print { .mb-tray, .mb-bar { display: none; } }

/* ---------- social layer ---------- */
.soc { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 4px 0; margin-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.soc .icon-btn { padding: 4px 6px; font-size: 12.5px; color: var(--muted); }
.soc .icon-btn .ic { width: 16px; height: 16px; }
.soc .icon-btn.on { color: var(--bad); }
.soc .rt { display: inline-flex; align-items: center; gap: 4px; }
.soc .rt .ic { width: 13px; height: 13px; fill: var(--tan); stroke: none; }
.card.scene > .soc { position: absolute; z-index: 4; inset: auto auto 10px 10px; margin: 0; padding: 0; border: 0; opacity: 0; transition: opacity .3s; }
[dir=rtl] .card.scene > .soc { inset: auto 10px 10px auto; }
.card.scene > .soc .icon-btn { background: rgba(20, 16, 10, .55); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 5px 10px; }
.card.scene:hover > .soc, .card.scene:focus-within > .soc { opacity: 1; }
.mosaic .card.scene > .soc { inset: 12px auto auto 12px; }
[dir=rtl] .mosaic .card.scene > .soc { inset: 12px 12px auto auto; }
.mosaic .card.scene .savebtn { inset-inline-end: auto; inset-inline-start: 12px; top: 12px; }
.masonry .card.scene > .soc { position: static; opacity: 1; padding: 8px 4px 0; margin-top: 10px; border-top: 1px solid var(--line); }
.masonry .card.scene > .soc .icon-btn { background: none; color: var(--muted); -webkit-backdrop-filter: none; backdrop-filter: none; padding: 4px 6px; }
.masonry .card.scene > .soc .icon-btn.on { color: var(--bad); }
.soc .icon-btn, .card.scene > .soc { position: relative; }
.masonry .card.scene > .soc { z-index: 4; }
@media (hover: none) { .card.scene > .soc { opacity: 1; } }
.follow-row { display: flex; align-items: center; gap: 12px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; align-content: start; }
.people.col { grid-template-columns: 1fr; gap: 6px; }
.person { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--relief); transition: border-color .3s, box-shadow .4s; }
.person:hover { border-color: var(--line-strong); box-shadow: var(--lift); }
.person a { display: flex; align-items: center; gap: 12px; min-width: 0; }
.person a > span:last-child { display: grid; min-width: 0; line-height: 1.5; }
.person b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person .pimg { width: 56px; border-radius: 50%; flex: none; }
.people.col .person { border: 0; box-shadow: none; padding: 8px 0; border-radius: 0; }
.feed-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(24px, 4vw, 70px); align-items: start; }
.feed-grid aside { display: grid; gap: 10px; position: sticky; top: 90px; }
.feed-grid aside h3:not(:first-child) { margin-top: 22px; }
.activity { list-style: none; padding: 0; display: grid; }
.activity li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.activity p { font-size: 13.5px; }
.activity p a { border-bottom: 1px solid var(--line-strong); }
.activity blockquote { margin: 6px 0 2px; color: var(--ink2); font-size: 13px; }
.activity .thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
@media (max-width: 1100px) { .feed-grid { grid-template-columns: minmax(0, 1fr); } .feed-grid aside { position: static; } }

/* ---------- home: one idea per screen, lots of air ---------- */
.home-sec { margin-block: clamp(90px, 12vw, 190px); }
.loops.home-sec { margin-block: 0; padding-block: clamp(90px, 12vw, 190px); border-bottom: 0; }
.home-sec .sec { margin-bottom: clamp(30px, 4vw, 60px); }
.home-sec .sec h2 { font-size: clamp(30px, 4.4vw, 68px); }
.hero-body { justify-items: center; text-align: center; padding-bottom: 170px; gap: 30px; }
.hero h1 { font-size: clamp(42px, 7vw, 116px); }
.hero-shade { background: linear-gradient(180deg, rgba(22, 16, 9, .58), rgba(22, 16, 9, .28) 40%, rgba(22, 16, 9, .66)) !important; }
.hero-ring { inset-inline-end: auto; left: 50%; translate: calc(-50% + var(--mx) * 20px) calc(-54% + var(--my) * 20px); width: min(92vh, 78vw); }
.hero-links { display: flex; gap: 34px; font-size: 14px; }
.hero-links a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .86); border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.hero-links a:hover { color: #fff; border-color: #fff; }
.hero-links .ic { width: 15px; height: 15px; }
[dir=rtl] .hero-links .ic { transform: scaleX(-1); }
.dock { inset-inline: 0; width: fit-content; max-width: calc(100% - 32px); }
.dock .strip { justify-content: flex-start; }
.dock .strip a.all i { display: grid; place-items: center; width: 60px; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; }
[dir=rtl] .dock .strip a.all .ic { transform: scaleX(-1); }
.compose h3 { display: none; }
.people-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 4vw, 64px); }
.people-row a { display: grid; justify-items: center; gap: 4px; text-align: center; }
.people-row .avatar { margin: 12px 12px 18px; box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px var(--tan); transition: box-shadow .5s var(--ease); }
.people-row a:hover .avatar { box-shadow: 0 0 0 12px var(--bg), 0 0 0 13px var(--ink); }
.people-row b { font-weight: 500; }
.brand-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(26px, 4vw, 70px); margin-top: clamp(40px, 6vw, 90px); }
.brand-names a { font-size: clamp(28px, 3.8vw, 60px); font-weight: 200; color: var(--tan); transition: color .4s; }
[dir=ltr] .brand-names a { font-family: var(--serif); font-weight: 400; }
.brand-names a:hover { color: var(--ink); }
.ai-card { justify-items: center; text-align: center; margin-inline: auto; }
.ai-band { justify-items: center; }
@media (max-width: 680px) { .hero-body { padding-bottom: 190px; } .hero-links { gap: 20px; } }

/* ---------- warmer ground: everything sits on one cream ---------- */
:root {
  --bg: #f3ecdf; --sunk: #ebe2d1; --line: #e2d7c4; --line-strong: #cbbca3; --tan-soft: #e9dcc7; --muted: #877c6c;
  --relief: inset 0 1px 0 rgba(255, 252, 244, .7), 0 1px 2px rgba(70, 50, 20, .04);
  --lift: inset 0 1px 0 rgba(255, 252, 244, .7), 0 34px 60px -36px rgba(70, 50, 20, .4);
}
#toTop { background: color-mix(in srgb, var(--bg) 72%, transparent); }
.card .savebtn { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.tagpop { background: color-mix(in srgb, var(--bg) 84%, transparent); }
.b-head { background: color-mix(in srgb, var(--bg) 76%, transparent); }
.portrait { box-shadow: 0 0 0 12px var(--bg), 0 0 0 13px var(--tan), 0 0 0 30px var(--bg), 0 0 0 31px var(--line); }


/* ---------- home showcase: category pieces and a composition, standing directly on the page ---------- */
.hero-body { padding-bottom: 90px; }
.scroll-cue { bottom: 34px; inset-inline-end: auto; left: 50%; margin-left: -13px; display: grid; }
.showcase { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(18px, 2.4vw, 34px); padding: clamp(60px, 8vw, 120px) var(--pad) clamp(40px, 6vw, 90px); }
.sc-strip-wrap { position: relative; width: 100%; }
.sc-strip { display: flex; justify-content: safe center; gap: clamp(2px, .6vw, 12px); overflow-x: auto; padding: 26px 10px 8px; scrollbar-width: none; direction: ltr; }
.sc-strip::-webkit-scrollbar { display: none; }
.sc-strip a { flex: none; display: grid; justify-items: center; gap: 6px; width: clamp(74px, 5.5vw, 104px); font-size: 12px; color: var(--ink2); text-align: center; transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), color .3s; }
.sc-strip img { height: clamp(74px, 6.6vw, 118px); width: auto; max-width: none; pointer-events: none; }
.sc-strip a:hover, .sc-strip a:focus-visible { transform: scale(1.2) rotate(-1.5deg); color: var(--ink); z-index: 2; }
.sc-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.sc-more:hover { color: var(--ink); border-color: var(--ink); }
.sc-more .ic { width: 14px; height: 14px; }
[dir=rtl] .sc-more .ic { transform: scaleX(-1); }
.sc-stage { position: relative; width: min(100%, 1500px); margin-top: clamp(10px, 3vw, 50px); }
.sc-stage > img { width: 100%; }
.showcase .dot { background: rgba(28, 26, 23, .42); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85); animation-name: ping-dark; }
.showcase .dot::before { background: #fff; box-shadow: none; }
@keyframes ping-dark { 0% { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 0 0 rgba(28, 26, 23, .3); } 70%, 100% { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 0 16px rgba(28, 26, 23, 0); } }
.sc-lines { display: grid; justify-items: center; text-align: center; font-size: clamp(18px, 2.2vw, 32px); font-weight: 200; color: var(--ink); }
.sc-lines span { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); filter: blur(6px); transition: opacity .8s, transform .8s var(--ease), filter .8s; }
.sc-lines span.on { opacity: 1; transform: none; filter: none; }
@media (max-width: 900px) { .sc-strip { justify-content: flex-start; } }

/* ---------- home "living image": edge to edge, no empty frame around it ---------- */
.live.home-sec { margin-block: clamp(50px, 6vw, 100px); }
.live-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 0 var(--pad) clamp(16px, 2vw, 28px); }
.live-head h2 { font-size: clamp(28px, 3.6vw, 56px); font-weight: 200; }
.live .compose { display: grid; align-items: center; max-height: 90vh; overflow: hidden; gap: 0; }
.live .compose .scene-media { width: 100%; box-shadow: none; border-radius: 0; }
.live .compose .scene-media img { border-radius: 0; }
.live .slider .nav { opacity: 1; }
.live .slider .nav.prev { left: var(--pad); }
.live .slider .nav.next { right: var(--pad); }
.live .pips { margin-top: 18px; }

/* ---------- small tiles (7 across) that turn over on hover ---------- */
.masonry { columns: 7 150px; column-gap: 14px; }
.masonry.two { columns: 5 150px; }
.masonry > * { margin-bottom: 14px; }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.rail { grid-auto-columns: 160px; gap: 14px; }
.picks { grid-auto-columns: 150px; }

.back { display: none; }
.flip-in { position: relative; display: block; }
.card.product, .masonry .card.scene { perspective: 1100px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.card.product:hover, .masonry .card.scene:hover { transform: none; box-shadow: none; border: 0; }
:is(.card.product, .masonry .card.scene) .flip-in { transform-style: preserve-3d; transition: transform .95s cubic-bezier(.3, 1.5, .5, 1); }
/* a damped spring: the card overshoots, rocks back and settles */
@supports (transition-timing-function: linear(0, 1)) {
  :is(.card.product, .masonry .card.scene) .flip-in { transition: transform 1.05s linear(0, .2 7%, .6 17%, .95 27%, 1.13 37%, 1.11 43%, 1.02 53%, .96 62%, .985 72%, 1.012 82%, .998 91%, 1); }
}
:is(.card.product, .masonry .card.scene):is(:hover, :focus-within) .flip-in { transform: rotateY(180deg); }
.face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.card.product .front { display: block; border-radius: var(--r-sm); overflow: hidden; }
:is(.card.product, .masonry .card.scene) .back { position: absolute; inset: 0; transform: rotateY(180deg); display: grid; align-content: space-between; gap: 10px; padding: 16px 14px 8px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm); box-shadow: var(--relief); text-align: start; overflow: hidden; }
.back .meta, .card.product .back .meta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 0; align-content: start; }
.back .meta b { font-size: 14px; font-weight: 500; line-height: 1.5; }
.back .meta span, .card.product .back .meta span { grid-row: auto; font-size: 11.5px; color: var(--muted); }
.back .meta em, .card.product .back .meta em { grid-row: auto; grid-column: auto; font-style: normal; font-size: 12.5px; color: var(--ink2); margin-top: 6px; white-space: normal; }
.back .soc, .masonry .card.scene .back .soc { position: static; display: flex; align-items: center; justify-content: space-between; opacity: 1; margin: 0; padding: 6px 0 0; border-top: 1px solid var(--line); }
.back .soc .icon-btn, .masonry .card.scene .back .soc .icon-btn { background: none; color: var(--muted); padding: 5px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.back .soc .icon-btn.like.on { color: var(--bad); }
.back .savebtn, .card .back .savebtn { position: static; opacity: 1; scale: 1; }
.back .savebtn.on { color: var(--ink); }
.masonry .card.scene .flip-in > :is(.cap, .soc, .savebtn), .masonry .card.scene .dot { display: none; }
.masonry .card.scene .scene-media img { border-radius: var(--r-sm); }
.flip-in > .pick { -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(1px); top: 8px; inset-inline-start: 8px; }
.numbered > i { top: 8px; inset-inline-start: 8px; }
/* touch screens have no hover: show the label under the picture instead of turning the card */
@media (hover: none) {
  :is(.card.product, .masonry .card.scene) .flip-in { transform: none !important; }
  :is(.card.product, .masonry .card.scene) .back { position: static; transform: none; -webkit-backface-visibility: visible; backface-visibility: visible; border: 0; box-shadow: none; padding: 8px 2px 0; }
}
@media (max-width: 680px) { .masonry, .masonry.two { columns: 3 100px; column-gap: 8px; } .masonry > * { margin-bottom: 8px; } .grid.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .card.product, .masonry .card.scene { padding: 0; } }
.masonry .card.scene .back { padding: 10px 12px 4px; gap: 2px; }
.masonry .card.scene .back .meta { gap: 0; }
.masonry .card.scene .back .meta b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.masonry .card.scene .back .meta em { margin-top: 0; font-size: 11.5px; }
.masonry .card.scene .back .soc { padding-top: 2px; }

/* ---------- cards turn top-over-bottom (around the horizontal axis) ---------- */
:is(.card.product, .masonry .card.scene):is(:hover, :focus-within) .flip-in { transform: rotateX(180deg); }
:is(.card.product, .masonry .card.scene) .back { transform: rotateX(180deg); }

/* ---------- pinboard feed: film tiles ---------- */
.card.vid { display: block; position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--sunk); break-inside: avoid; }
.card.vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-cap { position: absolute; inset: auto 0 0 0; display: grid; gap: 0; padding: 30px 12px 10px; color: #fff; background: linear-gradient(transparent, rgba(20, 15, 8, .7)); line-height: 1.5; }
.vid-cap i { font-style: normal; font-size: 11px; opacity: .85; display: inline-flex; align-items: center; gap: 6px; }
.vid-cap i::before { content: ''; width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent #fff; }
.vid-cap b { font-weight: 500; font-size: 13.5px; }

/* ---------- products: full-screen brand film ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.phero { position: relative; height: 100svh; min-height: 620px; display: grid; align-items: end; overflow: hidden; isolation: isolate; color: #fff; background: #2a241c; }
.phero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 16, 9, .5), rgba(22, 16, 9, .1) 40%, rgba(22, 16, 9, .72)); }
.phero .slider { padding: 0 var(--pad) clamp(70px, 9vh, 110px); }
.phero-in { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.phero-text { display: grid; gap: 10px; justify-items: start; max-width: 620px; }
.phero-text small { color: rgba(255, 255, 255, .8); letter-spacing: .06em; }
.phero-text h2 { font-family: var(--display); font-size: clamp(54px, 9vw, 150px); font-weight: 200; line-height: 1.1; letter-spacing: -.02em; }
[dir=ltr] .phero-text h2 { font-family: var(--latin); letter-spacing: -.04em; line-height: 1; }
.phero-text p { font-size: clamp(16px, 1.5vw, 21px); color: rgba(255, 255, 255, .9); margin-bottom: 12px; }
.phero-picks { display: grid; gap: 10px; }
.pchip { display: flex; align-items: center; gap: 12px; width: 270px; padding: 9px; border-radius: 20px; transition: background .3s, translate .4s var(--ease); }
.pchip:hover { background: rgba(255, 255, 255, .26); translate: 0 -3px; }
.pchip .pimg { width: 62px; flex: none; border-radius: 14px; }
.pchip span { display: grid; min-width: 0; line-height: 1.5; }
.pchip b { font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pchip em { font-style: normal; font-size: 12.5px; opacity: .85; }
.phero .nav { top: auto; bottom: 26px; opacity: 1; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.phero .nav.prev { left: var(--pad); } .phero .nav.next { left: calc(var(--pad) + 50px); right: auto; }
.phero .pips { position: absolute; bottom: 42px; inset-inline-end: var(--pad); margin: 0; }
.phero .pips i { border-color: rgba(255, 255, 255, .7); } .phero .pips i.on { background: #fff; border-color: #fff; }
.phero .scroll-cue { bottom: 26px; }
.phero + .wrap.explore { margin-top: clamp(30px, 4vw, 60px); }
@media (max-width: 900px) { .phero-picks { display: none; } }

/* ---------- home: tighter rhythm between the showcase and the loops; studio right after the loops ---------- */
.showcase { padding-bottom: 0; }
.loops.home-sec { padding-block: clamp(6px, 1.5vw, 24px) clamp(50px, 6vw, 100px); }
.loops + .ai-band { margin-top: 0; }
.ai-band { margin-bottom: clamp(50px, 6vw, 100px); }

/* ---------- product: seen together ---------- */
.co { display: grid; gap: 8px; align-content: start; }
.co small { text-align: center; color: var(--muted); font-size: 11.5px; }

/* ---------- before / after comparison ---------- */
.ba { --x: 50%; overflow: hidden; border-radius: var(--r); touch-action: pan-y; }
.ba-before { position: absolute; inset: 0; z-index: 7; background-size: cover; background-position: center; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); z-index: 8; width: 44px; margin-left: -22px; display: grid; place-items: center; cursor: ew-resize; touch-action: none; }
.ba-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -.75px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.ba-handle i { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .08); }
.ba-handle i::before, .ba-handle i::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--ink); border-width: 1.5px 1.5px 0 0; }
.ba-handle i::before { left: 11px; transform: translateY(-50%) rotate(-135deg); }
.ba-handle i::after { right: 11px; transform: translateY(-50%) rotate(45deg); }
.ba-tag { position: absolute; top: 14px; z-index: 8; padding: 4px 12px; border-radius: 999px; background: rgba(20, 18, 15, .62); color: #fff; font-size: 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.ba-tag.b { left: 14px; } .ba-tag.a { right: 14px; }
.ba .badge, .ba .detect { display: none; }
.ba-range { position: absolute; inset: auto 0 0 0; z-index: 9; width: 100%; height: 22px; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible { opacity: 1; accent-color: #fff; }

/* ---------- exhibition mode ---------- */
body.show-page #header, body.show-page #footer, body.show-page #toTop, body.show-page #cursor { display: none !important; }
.show { position: fixed; inset: 0; z-index: 90; overflow: hidden; background: #14110d; color: #fff; outline: 0; cursor: none; }
.show.awake { cursor: default; }
.show-slide { position: absolute; left: 50%; top: 50%; width: max(100vw, calc(100vh * var(--ar))); aspect-ratio: var(--ar); translate: -50% -50%; opacity: 0; transition: opacity 1.7s ease; }
.show-slide.on { opacity: 1; animation: show-drift 13s linear both; }
.show-slide img { width: 100%; height: 100%; object-fit: cover; }
.show-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 11, 6, .35), transparent 30%, transparent 62%, rgba(15, 11, 6, .7)); }
@keyframes show-drift { from { scale: 1; } to { scale: 1.07; } }
.show-tag { position: absolute; z-index: 2; opacity: 0; animation: show-in 1.1s var(--ease) var(--d) forwards; }
@keyframes show-in { from { opacity: 0; translate: 0 10px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: none; } }
.show-tag > i { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(255, 255, 255, .25); animation: ping 2.8s ease-out infinite; }
.show-tag > span { position: absolute; top: -22px; display: grid; padding: 8px 16px; border-radius: 14px; white-space: nowrap; line-height: 1.5; background: rgba(20, 16, 10, .5); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.show-tag.r > span { left: 28px; } .show-tag.l > span { right: 28px; }
.show-tag b { font-weight: 500; font-size: clamp(14px, 1.15vw, 19px); }
.show-tag em { font-style: normal; font-size: clamp(11.5px, .9vw, 14px); opacity: .82; }
.show-logo { position: absolute; top: clamp(20px, 3vw, 44px); inset-inline-start: clamp(20px, 3vw, 48px); z-index: 3; font-size: clamp(22px, 2vw, 32px); }
.show-cap { position: absolute; bottom: clamp(26px, 4vw, 60px); inset-inline-start: clamp(20px, 3vw, 48px); z-index: 3; display: grid; gap: 2px; opacity: 0; translate: 0 14px; transition: opacity 1s, translate 1s var(--ease); }
.show-cap.on { opacity: 1; translate: 0 0; }
.show-cap small { color: rgba(255, 255, 255, .78); letter-spacing: .06em; font-size: clamp(12px, 1vw, 15px); }
.show-cap b { font-family: var(--display); font-weight: 200; font-size: clamp(30px, 4.6vw, 78px); line-height: 1.25; }
[dir=ltr] .show-cap b { font-family: var(--latin); letter-spacing: -.035em; line-height: 1.1; }
.show-cap span { font-size: clamp(13px, 1.2vw, 19px); color: rgba(255, 255, 255, .88); }
.show-bar { position: absolute; left: 0; bottom: 0; z-index: 3; height: 2px; width: 0; background: rgba(255, 255, 255, .8); }
.show-bar.run { animation: show-bar 11s linear forwards; }
.show.paused .show-bar { animation-play-state: paused; } .show.paused .show-slide.on { animation-play-state: paused; }
@keyframes show-bar { to { width: 100%; } }
.show-ctl { position: absolute; bottom: clamp(26px, 4vw, 60px); inset-inline-end: clamp(20px, 3vw, 48px); z-index: 4; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; opacity: 0; translate: 0 10px; pointer-events: none; transition: opacity .4s, translate .4s var(--ease); }
.show.awake .show-ctl { opacity: 1; translate: 0 0; pointer-events: auto; }
.show-ctl button, .show-ctl a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; color: #fff; font-size: 13px; }
.show-ctl button:hover, .show-ctl a:hover { background: rgba(255, 255, 255, .18); }
.show-ctl [data-s=prev] .ic { transform: scaleX(-1); } [dir=rtl] .show-ctl [data-s=prev] .ic { transform: none; } [dir=rtl] .show-ctl [data-s=next] .ic { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .show-slide.on { animation: none; } .show-tag { animation: none; opacity: 1; } }

/* ---------- object cut-out (classic image processing) ---------- */
.scene-frame .cut-btn { position: absolute; bottom: 14px; inset-inline-start: 14px; z-index: 6; }
.cut-btn .ic { width: 16px; height: 16px; }
.cut-layer { position: absolute; inset: 0; z-index: 9; display: none; cursor: crosshair; touch-action: none; background: rgba(15, 12, 8, .18); }
.cutting .cut-layer { display: block; }
.cutting .scene-media.mask { outline: 1.5px dashed #fff; outline-offset: -6px; }
.cut-layer p { position: absolute; top: 14px; left: 50%; translate: -50% 0; margin: 0; padding: 6px 16px; border-radius: 999px; background: rgba(20, 18, 15, .72); color: #fff; font-size: 12.5px; white-space: nowrap; pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cut-layer i { position: absolute; display: none; border: 1.5px solid #fff; background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 200vmax rgba(15, 12, 8, .32); pointer-events: none; }
.cutting .badge, .cutting .detect { display: none; }
.modal.cut-modal { width: min(560px, 100%); }
.cut-preview { display: grid; place-items: center; min-height: 260px; margin: 16px 0; padding: 18px; border-radius: 18px; background-color: #e9dfce; background-image: linear-gradient(45deg, rgba(0, 0, 0, .05) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .05) 75%), linear-gradient(45deg, rgba(0, 0, 0, .05) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .05) 75%); background-size: 22px 22px; background-position: 0 0, 11px 11px; }
.cut-canvas { max-width: 100%; max-height: 46vh; width: auto; height: auto; filter: drop-shadow(0 18px 22px rgba(40, 28, 10, .28)); }
.cut-modal input[type=range] { padding: 0; border: 0; accent-color: var(--ink); }
.mb-item.cut { cursor: grab; }
.mb-cut { width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 22px 20px rgba(30, 22, 10, .3)); }
.cut-wait { display: grid; justify-items: center; gap: 12px; text-align: center; max-width: 30ch; color: var(--ink2); }
.cut-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cut-tools .chip-btn:disabled { opacity: .35; cursor: default; }
.cut-modal .btn:disabled { opacity: .4; cursor: default; }
.cut-similar { display: grid; gap: 8px; margin-bottom: 16px; }
.cut-wait.row { justify-items: start; max-width: none; }
.sim-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sim-row a { display: grid; gap: 4px; min-width: 0; text-align: start; }
.sim-row b { font-weight: 500; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-row em { font-style: normal; font-size: 11px; color: var(--muted); }
.sim-row em.same { color: var(--ok); }
[hidden] { display: none !important; }

/* ---------- search by photo ---------- */
.lens-link { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: inherit; opacity: .7; flex: none; transition: opacity .2s, background .2s; }
.lens-link:hover { opacity: 1; background: rgba(120, 100, 70, .14); }
.hero-search .lens-link { color: #fff; opacity: .9; margin-inline-end: 4px; }
.lens-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 50px); align-items: start; }
.lens-photo { position: sticky; top: 90px; display: grid; gap: 12px; }
.lens-drop { min-height: min(56vh, 480px); border-radius: var(--r); }
.lens-drop.over { background-color: var(--sunk); border-color: var(--ink); }
.lens-drop .ic { width: 34px; height: 34px; margin-bottom: 6px; }
.lens-stage { position: relative; width: fit-content; max-width: 100%; justify-self: center; border-radius: var(--r); overflow: hidden; background: var(--sunk); }
.lens-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 70vh; }
.lens-layer { position: absolute; inset: 0; cursor: crosshair; touch-action: none; }
.lens-layer i { position: absolute; display: none; pointer-events: none; border-radius: 4px; }
.lens-band { border: 1.5px dashed #fff; background: rgba(255, 255, 255, .14); }
.lens-pick { border: 2px solid #fff; box-shadow: 0 0 0 200vmax rgba(15, 12, 8, .38); }
.lens-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.lens-bar span { flex: 1 1 220px; }
.lens-results h3 { font-size: 18px; margin-bottom: 8px; }
.lens-results [data-status] { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lens-results .grid.products { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
@media (max-width: 900px) { .lens-grid { grid-template-columns: minmax(0, 1fr); } .lens-photo { position: static; } .lens-drop { min-height: 240px; } }
#app { overflow-x: clip; }
/* the header has grown: below 1320px the main links drop to their own row instead of pushing the page wider */
@media (max-width: 1320px) { #header { flex-wrap: wrap; gap: 10px 16px; } .mainnav { order: 5; width: 100%; overflow-x: auto; gap: 18px; scrollbar-width: none; } .search:not(.hero-search) { max-width: none; } body.home:not(.scrolled) #header .mainnav { justify-content: flex-start; } }
