/* Caoba: the launch campaign (mkt slot). Brand tokens only; layout by container queries on demo.
   Hoja and Tinta never carry text on Caoba, nor Arena on Lino. Garments hang from their hanger's wire at the top of their box. */

.d-mkt { background: var(--b-paper); }
.d-mkt .k-wrap { height: 100%; display: flex; flex-direction: column; }
.d-mkt svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.d-mkt .k-solid { fill: currentColor; stroke: none; }
.d-mkt h3, .d-mkt h4 { font-family: var(--b-font-display); font-weight: var(--b-display-weight); }

/* top bar: the campaign and its four views */
.d-mkt .k-top { flex: none; display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--b-line); background: var(--b-surface); }
.d-mkt .k-tlogo { height: var(--b-logo-h, 40px); width: auto; flex: none; }
.d-mkt .k-camp { display: flex; flex-direction: column; min-width: 0; padding-left: 16px; border-left: 1px solid var(--b-line); line-height: 1.2; }
.d-mkt .k-camp b { font-family: var(--b-font-display); font-style: italic; font-weight: 500; font-size: 22px; }
.d-mkt .k-camp small { font-size: 13px; color: var(--b-muted); }
.d-mkt .k-tabs { margin-left: auto; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--b-paper); }
.d-mkt .k-tabs button { min-height: 38px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--b-muted); text-align: center; }
.d-mkt .k-tabs [aria-selected="true"] { background: var(--b-secondary); color: var(--b-on-secondary); }
.d-mkt .k-panels { position: relative; flex: 1; min-height: 0; }
.d-mkt .k-p { height: 100%; padding: 18px 24px; }
.d-mkt .k-p[hidden] { display: none; }

/* shared pieces */
.d-mkt .k-photo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.d-mkt .k-veil { position: absolute; inset: 0; }
.d-mkt .k-av { flex: none; width: 40px; height: 40px; border-radius: 50%; }
.d-mkt .k-prof { display: flex; align-items: center; gap: 10px; }
.d-mkt .k-prof-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.d-mkt .k-prof-tx b { font-weight: 800; font-size: 14px; }
.d-mkt .k-prof-tx small { font-size: 13px; color: var(--b-muted); }
.d-mkt .k-sun { position: absolute; display: block; aspect-ratio: 2 / 1; overflow: hidden; }
.d-mkt .k-sun::before, .d-mkt .k-sun i { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; border-radius: 50%; background: var(--b-c3); }
.d-mkt .k-sun i { left: 17%; right: 17%; top: 17%; background: var(--b-surface); }
.d-mkt .k-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: var(--b-radius); background: var(--b-secondary); color: var(--b-on-secondary); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.d-mkt .k-btn-o { background: none; border: 2px solid var(--b-secondary); color: var(--b-ink); }
.d-mkt .k-ic-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.d-mkt .k-ic-btn svg { width: 24px; height: 24px; }
.d-mkt .k-x { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.d-mkt .k-x svg { width: 20px; height: 20px; }
.d-mkt .x-cut { object-fit: contain; }

/* ---------- redes: feed, story, reel ---------- */
.d-mkt .k-redes { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px; align-items: center; justify-items: center; }
.d-mkt .k-feed { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.d-mkt .k-follow { flex: none; min-height: 36px; padding: 0 16px; border-radius: 10px; background: var(--b-primary); color: var(--b-on-primary); font-weight: 800; font-size: 13px; }
.d-mkt .k-follow[aria-pressed="true"] { background: var(--b-surface); color: var(--b-ink); box-shadow: inset 0 0 0 1px var(--b-line); }
.d-mkt .k-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; width: 100%; }
.d-mkt .k-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.d-mkt .k-sq { position: absolute; inset: 0; display: block; overflow: hidden; container-type: inline-size; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.d-mkt .k-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-mkt .kt-kv .k-fill { object-position: 0% 50%; }
.d-mkt .k-thead { position: absolute; z-index: 1; left: 7%; right: 7%; top: 7%; font-family: var(--b-font-display); font-weight: var(--b-display-weight); font-size: max(13px, 9.4cqi); line-height: 1.02; color: var(--b-ink); }
.d-mkt .k-stk { position: absolute; left: 7%; bottom: 7%; max-width: 82%; padding: .3em .6em .35em; border-radius: 4px; font-family: var(--b-font-display); font-style: italic; font-weight: var(--b-display-weight); font-size: max(15px, 8cqi); line-height: 1.05; }
.d-mkt .k-stk-lino { background: var(--b-paper); color: var(--b-primary); }
.d-mkt .k-stk-caoba { background: var(--b-primary); color: var(--b-on-primary); }
.d-mkt .k-band { position: absolute; left: 0; right: 0; bottom: 0; padding: 5cqi 7cqi; background: var(--b-primary); color: var(--b-on-primary); font-family: var(--b-font-display); font-style: italic; font-weight: var(--b-display-weight); font-size: max(15px, 8cqi); line-height: 1.05; }
/* the campaign garment hangs from the top edge; its line sits under it */
.d-mkt .kt-garment { background: var(--b-paper); }
.d-mkt .k-gar { position: absolute; left: 0; right: 0; top: 0; height: 74%; width: auto; max-width: 90%; margin: 0 auto; object-position: 50% 0; }
.d-mkt .kt-garment .k-thead { top: auto; bottom: 7%; }
.d-mkt .k-type { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 9cqi; background: var(--b-secondary); color: var(--b-on-secondary); }
.d-mkt .k-type b { font-family: var(--b-font-display); font-style: italic; font-weight: 500; font-size: max(30px, 30cqi); line-height: .9; color: var(--b-c3); }
.d-mkt .k-type em { display: block; margin-top: .06em; font-size: max(15px, .44em); color: var(--b-on-secondary); }
.d-mkt .k-type small { margin-top: 5cqi; font-weight: 600; font-size: max(13px, 6.6cqi); }
.d-mkt .k-type img { position: absolute; right: 8cqi; top: 8cqi; width: 15cqi; }
.d-mkt .k-agenda h5 { font-size: 14px; }
.d-mkt .k-pat { position: absolute; inset: 0; display: grid; place-items: center; background-color: var(--b-paper); background-size: 34% auto; }
.d-mkt .k-pat-in { padding: 7cqi 9cqi; border-radius: 4px; background: var(--b-primary); }
.d-mkt .k-pat-in img { width: 40cqi; }
.d-mkt .k-lab { position: absolute; inset: 0; background: var(--b-accent); }
.d-mkt .k-lab img { position: absolute; left: 50%; bottom: 6%; height: 62%; width: auto; transform: translateX(-50%) rotate(-6deg); filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--b-secondary) 30%, transparent)); }
.d-mkt .k-lab .k-thead { color: var(--b-on-accent); }
.d-mkt .k-bagt { position: absolute; inset: 0; background: var(--b-c3); }
.d-mkt .k-bagt .k-bag { position: absolute; left: 0; right: 0; bottom: 7%; height: 60%; width: auto; margin: 0 auto; }

/* story and reel: 9:16 screens */
.d-mkt .k-story, .d-mkt .k-reel { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 18px; background: var(--b-secondary); color: var(--b-on-secondary); }
.d-mkt .k-fr { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .35s ease-out, visibility 0s .35s; container-type: inline-size; }
.d-mkt .k-fr.on { visibility: visible; opacity: 1; transition: opacity .35s ease-out; }
.d-mkt .k-bars { position: absolute; z-index: 3; left: 10px; right: 10px; top: 10px; display: flex; gap: 4px; }
.d-mkt .k-bars i { flex: 1; height: 3px; overflow: hidden; border-radius: 2px; background: var(--b-on-secondary); opacity: .55; }
.d-mkt .k-bars i b { display: block; height: 100%; background: var(--b-on-secondary); transform: scaleX(0); transform-origin: left; }
.d-mkt .k-bars i.done, .d-mkt .k-bars i.now { opacity: 1; }
.d-mkt .k-bars i.done b { transform: none; }
.d-mkt .k-bars i.now { background: var(--b-muted); }
.motion .d-mkt .k-bars i.now b { animation: k-bar 5s linear both; }
.d-mkt .k-sh { position: absolute; z-index: 3; left: 10px; right: 10px; top: 22px; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.d-mkt .k-sh .k-av { width: 32px; height: 32px; }
.d-mkt .k-sh small { font-size: 13px; }
.d-mkt .k-story .k-sh { color: var(--b-on-secondary); }
.d-mkt .k-tap { position: absolute; z-index: 2; top: 15%; bottom: 0; width: 34%; }
.d-mkt .k-tap-l { left: 0; }
.d-mkt .k-tap-r { right: 0; }
/* the poll stays in the middle third, clear of the tap zones' centres, so a tap on either side still moves the story */
.d-mkt .k-poll { position: absolute; z-index: 4; left: 21%; right: 21%; top: 30%; padding: 14px 12px 12px; border-radius: 12px; background: var(--b-surface); color: var(--b-ink); text-align: center; }
.d-mkt .k-poll p { font-family: var(--b-font-display); font-weight: var(--b-display-weight); font-size: max(17px, 9cqi); line-height: 1.05; }
.d-mkt .k-poll-a { display: grid; gap: 6px; margin-top: 10px; }
.d-mkt .k-poll-a button { min-height: 40px; border-radius: 8px; background: var(--b-paper); font-weight: 700; font-size: 14px; text-align: center; color: var(--b-ink); }
.d-mkt .k-poll-a [aria-pressed="true"] { background: var(--b-primary); color: var(--b-on-primary); }
.d-mkt .k-poll-t { display: block; min-height: 18px; margin-top: 6px; font-size: 13px; color: var(--b-muted); }
.d-mkt .k-fr-tx { position: absolute; z-index: 1; left: 8%; right: 8%; top: 64px; display: flex; flex-direction: column; gap: 6px; }
.d-mkt .k-fr-h { font-family: var(--b-font-display); font-weight: var(--b-display-weight); font-size: max(18px, 10.5cqi); line-height: 1.02; }
.d-mkt .k-fr-s { font-weight: 700; font-size: max(13px, 5cqi); }
.d-mkt .k-fr-garment { background: var(--b-paper); color: var(--b-ink); }
.d-mkt .k-fr-garment .x-cut { position: absolute; left: 0; right: 0; top: 0; height: 60%; width: auto; max-width: 90%; margin: 0 auto; object-position: 50% 0; }
.d-mkt .k-fr-garment .k-fr-tx { top: auto; bottom: 9%; }
.d-mkt .k-fr-garment .k-fr-s { font-family: var(--b-font-display); font-style: italic; font-weight: 500; font-size: max(17px, 8cqi); color: var(--b-primary); }
.d-mkt .k-fr-link { background: var(--b-c3); color: var(--b-ink); }
.d-mkt .k-fr-link .k-bag { position: absolute; left: 0; right: 0; top: 34%; height: 38%; width: auto; margin: 0 auto; }
.d-mkt .k-linkstk { position: absolute; z-index: 4; left: 50%; bottom: 12%; transform: translateX(-50%); min-height: 40px; padding: 0 18px; border-radius: 8px; background: var(--b-secondary); color: var(--b-on-secondary); font-weight: 700; font-size: 14px; white-space: nowrap; }
.d-mkt .k-rcover, .d-mkt .k-rrun { position: absolute; inset: 0; container-type: inline-size; }
.d-mkt .k-rcover[hidden], .d-mkt .k-rrun[hidden] { display: none; }
/* the cover's headline and logo sit on a soft Tinta veil at the top and bottom of the photo */
.d-mkt .k-rcover .k-veil { background: linear-gradient(to bottom, color-mix(in srgb, var(--b-secondary) 62%, transparent), transparent 38%, transparent 68%, color-mix(in srgb, var(--b-secondary) 70%, transparent)); }
.d-mkt .k-r-head { position: absolute; left: 8%; right: 8%; top: max(10%, 52px); font-family: var(--b-font-display); font-style: italic; font-weight: 500; font-size: 15cqi; line-height: .94; color: var(--b-on-secondary); }
.d-mkt .k-rplay-btn { position: absolute; left: 50%; top: 52%; width: 64px; height: 64px; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: var(--b-paper); color: var(--b-primary); transition: transform .2s ease-out; }
.d-mkt .k-rplay-btn svg { width: 26px; height: 26px; margin-left: 4px; }
.d-mkt .k-rchip { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 5px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--b-secondary); color: var(--b-on-secondary); font-weight: 700; font-size: 13px; }
.d-mkt .k-rchip svg { width: 18px; height: 18px; }
.d-mkt .k-r-logo { position: absolute; left: 50%; bottom: 6%; width: 34%; transform: translateX(-50%); }
.d-mkt .k-rrun { background: var(--b-paper); color: var(--b-ink); }
.d-mkt .k-rrun .x-cut.k-r-bot { position: absolute; left: 0; right: 0; top: 0; height: 58%; width: auto; max-width: 90%; margin: 0 auto; object-position: 50% 0; transform-origin: 50% 0; }
.d-mkt .k-r-hl { position: absolute; left: 8%; top: 63%; width: 84%; }
.d-mkt .k-r-end { position: absolute; left: 8%; right: 8%; top: 74%; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 700; font-size: max(13px, 4.4cqi); }
.d-mkt .k-r-end img { width: 32%; }
.d-mkt .k-r-end small { font-size: inherit; }
.d-mkt .k-again { position: absolute; z-index: 2; right: 10px; top: 10px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--b-secondary); color: var(--b-on-secondary); font-weight: 700; font-size: 13px; }
/* the reel: the shirt drops onto its wire and sways in the breeze, then the line and the logo */
.motion .d-mkt .k-rrun.go .k-r-bot { animation: k-hang 2.4s cubic-bezier(.3, .6, .3, 1) .1s both; }
.motion .d-mkt .k-rrun.go .k-r-hl { animation: k-fadeup .8s cubic-bezier(.2, .7, .2, 1) 1.1s both; }
.motion .d-mkt .k-rrun.go .k-r-end { animation: k-fadeup .8s cubic-bezier(.2, .7, .2, 1) 2.2s both; }
.motion .d-mkt .k-rrun.go .k-again { animation: k-fade .4s ease-out 3s both; }

/* post viewer */
.d-mkt .k-lb { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; padding: 18px; }
.d-mkt .k-lb[hidden] { display: none; }
.d-mkt .k-lb-scrim { position: absolute; inset: 0; background: var(--b-secondary); opacity: .72; cursor: default; }
.d-mkt .k-lb-in { position: relative; display: grid; grid-template-columns: auto 300px; height: 100%; max-width: 100%; overflow: hidden; border-radius: 12px; background: var(--b-surface); }
.d-mkt .k-lb-pic { position: relative; height: 100%; aspect-ratio: 1; }
.d-mkt .k-lb-side { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 12px; border-left: 1px solid var(--b-line); }
.d-mkt .k-lb-side .k-prof { padding-bottom: 10px; border-bottom: 1px solid var(--b-line); }
.d-mkt .k-lb-cap { font-size: 14px; line-height: 1.45; }
.d-mkt .k-lb-day { font-size: 13px; color: var(--b-muted); }
.d-mkt .k-lb-act { display: flex; gap: 2px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--b-line); }
.d-mkt .k-lb-act .k-save { margin-left: auto; }
.d-mkt .k-like[aria-pressed="true"] svg { fill: var(--b-primary); stroke: var(--b-primary); }
.d-mkt .k-save[aria-pressed="true"] svg { fill: var(--b-ink); }
.d-mkt .k-lb-nav { display: flex; justify-content: space-between; }

/* ---------- página: the landing page in a browser ---------- */
.d-mkt .k-browser { height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--b-line); border-radius: 14px; background: var(--b-surface); }
.d-mkt .k-chrome { flex: none; display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--b-line); background: var(--b-paper); color: var(--b-muted); }
.d-mkt .k-dots { display: flex; gap: 6px; }
.d-mkt .k-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--b-line); }
.d-mkt .k-chrome-ic { display: flex; gap: 8px; }
.d-mkt .k-chrome-ic svg { width: 18px; height: 18px; }
.d-mkt .k-url { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--b-surface); font-size: 13px; color: var(--b-ink); white-space: nowrap; overflow: hidden; }
.d-mkt .k-url svg { flex: none; width: 14px; height: 14px; color: var(--b-muted); }
.d-mkt .k-site { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: auto; }
.d-mkt .k-snav { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 24px; padding: 14px 32px; border-bottom: 1px solid var(--b-line); background: var(--b-surface); }
.d-mkt .k-slogo { height: 20px; width: auto; }
.d-mkt .k-snav nav { display: flex; gap: 4px; margin-left: auto; }
.d-mkt .k-snav nav button { min-height: 38px; padding: 0 12px; border-radius: var(--b-radius); font-weight: 600; font-size: 14px; }
.d-mkt .k-cartchip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 8px 0 16px; border-radius: var(--b-radius); background: var(--b-primary); color: var(--b-on-primary); font-weight: 700; font-size: 14px; }
.d-mkt .k-cartchip b { min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 4px; background: var(--b-secondary); color: var(--b-on-secondary); font-size: 13px; }
.motion .d-mkt .k-cartchip.bump b { animation: k-pop .45s cubic-bezier(.2, .8, .3, 1.3) both; }
.d-mkt .k-shero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 40px 32px; background: var(--b-primary); color: var(--b-on-primary); }
.d-mkt .k-kick { display: inline-block; padding: 5px 12px; border-radius: 4px; background: var(--b-c3); color: var(--b-secondary); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.d-mkt .k-shero h3 { margin: 16px 0 12px; font-style: italic; font-weight: 500; font-size: clamp(42px, 5.6cqi, 92px); line-height: .94; letter-spacing: -.01em; }
.d-mkt .k-shero p { max-width: 40ch; font-size: 17px; font-weight: 500; line-height: 1.45; }
.d-mkt .k-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.d-mkt .k-shero .k-btn { background: var(--b-paper); color: var(--b-primary); }
.d-mkt .k-shero .k-btn-o { background: none; border: 2px solid var(--b-on-primary); color: var(--b-on-primary); }
/* the hero: the campaign photo, and the indigo shirt hanging in a Lino arch beside it */
.d-mkt .k-shero-art { position: relative; height: 340px; }
.d-mkt .k-shero-art::before { content: ""; position: absolute; left: 0; width: 27%; top: 0; bottom: 0; border-radius: 999px 999px 6px 6px; background: var(--b-paper); }
.d-mkt .k-shero-ph { left: 30%; width: 70%; border-radius: var(--b-radius); }
.d-mkt .x-cut.k-shero-bot { position: absolute; left: 0; right: 73%; top: 0; height: 86%; width: auto; max-width: 25%; margin: 0 auto; object-position: 50% 0; }
.d-mkt .k-fmts { padding: 32px; }
.d-mkt .k-fmts h4, .d-mkt .k-sform h4 { font-size: 32px; line-height: 1.05; }
/* the collection: every garment hangs from the top of its Lino box and fills most of its height. The dress (third) is slim, so its card is too */
.d-mkt .k-fmt-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.d-mkt .k-fmt { container: fmt / inline-size; display: flex; flex-direction: column; gap: 2px; padding: 10px 10px 14px; border: 1px solid var(--b-line); border-radius: var(--b-radius); background: var(--b-surface); }
.d-mkt .k-fmt-art { position: relative; display: block; height: 220px; margin-bottom: 10px; overflow: hidden; border-radius: 4px; background: var(--b-paper); }
.d-mkt .k-fmt-cut { position: absolute; left: 0; right: 0; top: 0; height: 94%; width: auto; max-width: 94%; margin: 0 auto; object-position: 50% 0; transform-origin: 50% 0; }
.d-mkt .k-fmt b { font-family: var(--b-font-display); font-weight: var(--b-display-weight); font-size: 22px; line-height: 1.05; text-wrap: balance; }
.d-mkt .k-fmt small { font-size: 13px; color: var(--b-muted); }
.d-mkt .k-fmt-p { margin-top: 4px; font-weight: 800; font-size: 17px; }
.d-mkt .k-fmt-buy { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.d-mkt .k-size { flex: none; min-height: 42px; padding: 0 30px 0 12px; border: 1px solid var(--b-line); border-radius: var(--b-radius); appearance: none; background-color: var(--b-surface); background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; font: inherit; font-weight: 700; font-size: 14px; color: var(--b-ink); }
.d-mkt .k-size:focus-visible { outline: 2px solid var(--b-secondary); outline-offset: 1px; }
.d-mkt .k-add { flex: 1; min-height: 42px; border-radius: var(--b-radius); background: var(--b-primary); color: var(--b-on-primary); font-weight: 700; font-size: 14px; text-align: center; }
.d-mkt .k-add.done { background: var(--b-accent); color: var(--b-on-accent); }
/* every card stacks its add button under the size, so the row's buttons line up whatever each card's width */
.d-mkt .k-fmt-buy { flex-wrap: wrap; }
.d-mkt .k-fmt-buy > * { flex: 1 1 100%; }
@container fmt (max-width: 150px) { .d-mkt .k-fmt b { font-size: 19px; } }
.d-mkt .k-sform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding: 32px; background: var(--b-c3); color: var(--b-ink); }
.d-mkt .k-sform p { margin-top: 8px; font-size: 15px; }
.d-mkt .k-sform-tx .k-bag { display: block; height: 220px; width: auto; margin-top: 18px; }
.d-mkt .k-form { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--b-radius); background: var(--b-surface); color: var(--b-ink); }
.d-mkt .k-field, .d-mkt .k-flab { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 13px; }
.d-mkt .k-field input { min-height: 44px; padding: 0 14px; border: 2px solid var(--b-line); border-radius: var(--b-radius); background: var(--b-surface); font: inherit; font-weight: 500; font-size: 15px; color: var(--b-ink); }
.d-mkt .k-field input:focus { outline: none; border-color: var(--b-secondary); }
.d-mkt .k-field input[aria-invalid="true"] { border-color: var(--b-primary); }
.d-mkt .k-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.d-mkt .k-days button { min-height: 42px; border: 2px solid var(--b-line); border-radius: var(--b-radius); font-weight: 700; font-size: 14px; text-align: center; }
.d-mkt .k-days [aria-checked="true"] { border-color: var(--b-secondary); background: var(--b-secondary); color: var(--b-on-secondary); }
.d-mkt .k-form .k-btn { width: 100%; }
.d-mkt .k-msg { min-height: 20px; font-weight: 600; font-size: 14px; }
.d-mkt .k-msg.err { padding-left: 10px; border-left: 4px solid var(--b-primary); }
.d-mkt .k-sfoot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 32px; background: var(--b-primary); color: var(--b-on-primary); font-size: 13px; }
.d-mkt .k-sfoot small { font-size: 13px; }
.d-mkt .k-flogo { height: 46px; width: auto; }

/* ---------- exteriores: the billboard, the shop and the bus stop on one street ---------- */
.d-mkt .k-calle { padding: 0; }
.d-mkt .k-street { position: relative; height: 100%; min-height: 420px; overflow: hidden; background: var(--b-paper); }
.d-mkt .k-street-sun { left: 60%; width: 30%; bottom: 20%; }
.d-mkt .k-city { position: absolute; left: 0; right: 0; bottom: 20%; height: 34%; display: flex; align-items: flex-end; gap: 1.2%; padding: 0 3%; }
.d-mkt .k-city i { flex: 1; background: var(--b-line); }
.d-mkt .k-city i:nth-child(1) { height: 52%; } .d-mkt .k-city i:nth-child(2) { height: 78%; } .d-mkt .k-city i:nth-child(3) { height: 40%; }
.d-mkt .k-city i:nth-child(4) { height: 64%; } .d-mkt .k-city i:nth-child(5) { height: 90%; } .d-mkt .k-city i:nth-child(6) { height: 46%; }
.d-mkt .k-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; background: var(--b-muted); }
.d-mkt .k-lane { position: absolute; left: 0; right: 0; top: 46%; border-top: 4px dashed var(--b-c3); }
.d-mkt .k-valla { position: absolute; z-index: 1; left: 3%; width: 47%; bottom: 20%; margin: 0; }
.d-mkt .k-valla-board { display: block; padding: 8px; border-radius: 4px; background: var(--b-secondary); }
/* the billboard: the beach photo, and the line with the logo on a Caoba panel */
.d-mkt .k-kv { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; background: var(--b-primary); }
.d-mkt .k-kv .k-kv-ph { width: 56%; }
.d-mkt .k-kv-panel { position: absolute; left: 56%; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 8cqi 5.5cqi 6cqi; color: var(--b-on-primary); }
.d-mkt .k-kv-hl { font-family: var(--b-font-display); font-style: italic; font-weight: 500; font-size: 8cqi; line-height: .96; }
.d-mkt .k-kv .k-kv-logo { height: 10cqi; width: auto; }
.d-mkt .k-post { position: relative; display: inline-block; width: 4%; height: 80px; margin-left: 22%; background: var(--b-secondary); vertical-align: top; }
.d-mkt .k-post + .k-post { margin-left: 40%; }
.d-mkt figcaption { position: absolute; display: inline-flex; gap: 4px; padding: 6px 12px; border-radius: 999px; background: var(--b-surface); font-size: 13px; white-space: nowrap; }
.d-mkt .k-valla figcaption { left: 0; top: -40px; }
/* the shop: Caoba's hanging sign on its coral-stone wall, with a window and an arched door under it */
.d-mkt .k-shop { position: absolute; z-index: 1; left: 55%; width: 15%; bottom: 20%; margin: 0; }
.d-mkt .k-shop-sign { display: block; width: 100%; aspect-ratio: 1; }
.d-mkt .k-shop-wall { position: relative; display: block; padding-bottom: 70%; background: var(--b-c3); }
.d-mkt .k-shop-wall i { position: absolute; display: block; }
.d-mkt .k-win { left: 10%; width: 34%; top: 14%; height: 44%; border: 3px solid var(--b-surface); background: var(--b-secondary); }
.d-mkt .k-door { left: 54%; width: 34%; bottom: 0; height: 84%; border-radius: 999px 999px 0 0; background: var(--b-primary); }
.d-mkt .k-shop figcaption { left: 0; top: -40px; }
.d-mkt .k-parada { position: absolute; z-index: 1; right: 5%; width: 21%; bottom: 20%; height: 66%; margin: 0; }
.d-mkt .k-roof { position: absolute; left: -6%; right: -6%; top: 0; height: 18px; border-radius: 4px; background: var(--b-secondary); }
.d-mkt .k-poster { position: absolute; left: 0; width: 58%; top: 18px; bottom: 0; overflow: hidden; border: 6px solid var(--b-secondary); border-bottom-width: 0; background: var(--b-secondary); container-type: inline-size; }
.d-mkt .k-poster .k-veil { background: linear-gradient(to bottom, transparent 42%, color-mix(in srgb, var(--b-secondary) 78%, transparent) 88%); }
.d-mkt .k-poster-hl { position: absolute; left: 9%; right: 9%; bottom: 24%; font-family: var(--b-font-display); font-style: italic; font-weight: 500; font-size: max(15px, 15cqi); line-height: .94; color: var(--b-on-secondary); }
.d-mkt .k-poster .k-poster-logo { position: absolute; left: 9%; bottom: 6%; height: 14cqi; width: auto; }
.d-mkt .k-glass { position: absolute; left: 58%; right: 0; top: 18px; bottom: 0; border: 6px solid var(--b-secondary); border-left-width: 0; border-bottom-width: 0; background: var(--b-surface); opacity: .7; }
.d-mkt .k-bench { position: absolute; left: 62%; right: 6%; bottom: 14%; height: 8px; border-radius: 4px; background: var(--b-secondary); }
.d-mkt .k-parada figcaption { right: 0; top: -40px; }
.motion .d-mkt .k-street.go .k-street-sun { animation: k-rise 1.4s cubic-bezier(.2, .7, .2, 1) both; }
.motion .d-mkt .k-street.go .k-shop { animation: k-fadeup .8s cubic-bezier(.2, .7, .2, 1) .3s both; }

/* ---------- calendario ---------- */
.d-mkt .k-plan { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
.d-mkt .k-plan-main { display: flex; flex-direction: column; min-height: 0; }
.d-mkt .k-plan-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.d-mkt .k-plan-h h4 { font-size: 24px; }
.d-mkt .k-legend { display: flex; gap: 12px; font-weight: 700; font-size: 13px; }
.d-mkt .k-legend > span, .d-mkt .k-dr-st { display: inline-flex; align-items: center; gap: 5px; }
.d-mkt .k-legend i, .d-mkt .k-dr-st i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; }
.d-mkt .k-legend svg, .d-mkt .k-dr-st svg { width: 13px; height: 13px; stroke-width: 2.6; }
.d-mkt .st-prog i { background: var(--b-primary); color: var(--b-on-primary); }
.d-mkt .st-rev i { background: var(--b-c3); color: var(--b-secondary); }
.d-mkt .st-dis i { background: var(--b-surface); color: var(--b-ink); box-shadow: inset 0 0 0 1.5px var(--b-muted); }
.d-mkt .k-cal { flex: 1; min-height: 0; display: grid; grid-template-rows: auto repeat(6, minmax(0, 1fr)); border: 1px solid var(--b-line); border-radius: 14px; overflow: hidden; background: var(--b-surface); }
.d-mkt .k-cal-h, .d-mkt .k-cal-r { display: grid; grid-template-columns: 96px repeat(7, minmax(0, 1fr)); }
.d-mkt .k-cal-h span { padding: 8px 8px; border-bottom: 1px solid var(--b-line); font-weight: 800; font-size: 13px; }
.d-mkt .k-cal-r + .k-cal-r { border-top: 1px solid var(--b-line); }
.d-mkt .k-cal-ch { display: flex; align-items: center; gap: 6px; padding: 0 10px; background: var(--b-paper); font-weight: 800; font-size: 13px; }
.d-mkt .k-cal-ch svg { flex: none; width: 16px; height: 16px; }
.d-mkt .k-cal-c { min-width: 0; padding: 4px; border-left: 1px solid var(--b-line); }
.d-mkt .k-chip { width: 100%; height: 100%; display: flex; align-items: flex-start; gap: 6px; padding: 5px; border-radius: 8px; text-align: left; font-size: 13px; line-height: 1.2; transition: transform .15s ease-out; }
.d-mkt .k-chip.st-prog { background: var(--b-primary); color: var(--b-on-primary); }
.d-mkt .k-chip.st-rev { background: var(--b-c3); color: var(--b-secondary); }
.d-mkt .k-chip.st-dis { background: var(--b-surface); color: var(--b-ink); box-shadow: inset 0 0 0 1.5px var(--b-muted); }
.d-mkt .k-chip[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--b-secondary); }
.d-mkt .k-chip > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.d-mkt .k-chip b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 800; }
.d-mkt .k-chip small { display: flex; align-items: center; gap: 3px; font-size: 13px; white-space: nowrap; font-weight: 600; }
.d-mkt .k-chip small svg { width: 12px; height: 12px; stroke-width: 2.6; }
.d-mkt .k-ct { position: relative; flex: none; width: 30px; height: 30px; overflow: hidden; border-radius: 6px; }
.d-mkt .k-cal .k-ct { display: none; }
.d-mkt .k-ct-ic { display: grid; place-items: center; background: var(--b-surface); color: var(--b-ink); }
.d-mkt .k-ct-ic svg { width: 18px; height: 18px; }
.d-mkt .k-ct .k-sq * { font-size: 0 !important; }
.d-mkt .k-agenda { display: none; }
.d-mkt .k-drawer { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow-y: auto; padding: 14px; border: 1px solid var(--b-line); border-radius: 14px; background: var(--b-surface); }
.d-mkt .k-dr-pic { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 1; max-height: 260px; overflow: hidden; border-radius: 10px; }
.d-mkt .k-dr-pic .k-sq { inset: 0 auto 0 50%; width: auto; aspect-ratio: 1; height: 100%; transform: translateX(-50%); }
.d-mkt .k-dr-ic { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--b-paper); color: var(--b-ink); }
.d-mkt .k-dr-ic svg { width: 56px; height: 56px; stroke-width: 1.4; }
.d-mkt .k-dr-st { font-weight: 800; font-size: 13px; }
.d-mkt .k-drawer h5 { font-family: var(--b-font-display); font-weight: var(--b-display-weight); font-size: 22px; line-height: 1.1; }
.d-mkt .k-drawer small { font-size: 13px; color: var(--b-muted); }
.d-mkt .k-drawer p { font-size: 14px; }
.d-mkt .k-approve { align-self: flex-start; }
.d-mkt .k-ok { padding: 8px 10px; border-radius: 8px; background: var(--b-accent); color: var(--b-on-accent); font-weight: 700; font-size: 13px; }

/* hover, entrances */
@media (hover: hover) {
  .d-mkt .k-tile:hover .k-sq { transform: scale(1.05); }
  .d-mkt .k-tabs button:not([aria-selected="true"]):hover, .d-mkt .k-snav nav button:hover { background: var(--b-line); color: var(--b-ink); }
  .d-mkt .k-btn:hover, .d-mkt .k-add:hover, .d-mkt .k-follow:hover { background: var(--b-ink); color: var(--b-on-secondary); }
  .d-mkt .k-btn-o:hover { background: var(--b-secondary); color: var(--b-on-secondary); }
  .d-mkt .k-shero .k-btn:hover, .d-mkt .k-shero .k-btn-o:hover { border-color: var(--b-c3); background: var(--b-c3); color: var(--b-secondary); }
  .d-mkt .k-rplay-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
  .d-mkt .k-chip:hover { transform: translateY(-2px); }
  .d-mkt .k-ic-btn:hover, .d-mkt .k-x:hover { background: var(--b-paper); }
  .motion .d-mkt .k-fmt:hover .k-fmt-cut { animation: k-sway 1.6s ease-out both; }
}
.motion .d-mkt .k-p.k-in, .motion .d-mkt .k-lb.k-in .k-lb-in { animation: k-fadeup .35s cubic-bezier(.2, .7, .2, 1) both; }
.motion .d-mkt .k-lb.k-in .k-lb-scrim { animation: k-fade .25s ease-out both; }
.motion .d-mkt:not(.is-open) .k-tile { opacity: 0; transform: scale(.9); }
.motion .d-mkt .k-tile { transition: opacity .4s ease-out calc(var(--i) * 45ms + 100ms), transform .5s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 45ms + 100ms); }
@keyframes k-bar { to { transform: none; } }
@keyframes k-rise { from { opacity: 0; transform: translateY(30%); } }
@keyframes k-fadeup { from { opacity: 0; transform: translateY(12px); } }
@keyframes k-fade { from { opacity: 0; } }
@keyframes k-pop { from { transform: scale(.4); } }
@keyframes k-hang {
  0% { opacity: 0; transform: translateY(-22%); }
  30% { opacity: 1; transform: rotate(4deg); }
  52% { transform: rotate(-2.6deg); }
  72% { transform: rotate(1.4deg); }
  88% { transform: rotate(-.5deg); }
  100% { transform: none; }
}
@keyframes k-sway { 22% { transform: rotate(3deg); } 48% { transform: rotate(-2deg); } 72% { transform: rotate(.8deg); } }

/* sizes */
@container demo (min-width: 600px) {
  .d-mkt .k-p { container-type: size; }
  .d-mkt .k-redes { grid-template-columns: auto auto auto; justify-content: space-evenly; gap: 20px; }
  .d-mkt .k-feed { width: min(calc(100cqh - 64px), calc(100cqw - 1.125 * min(calc(100cqh - 4px), calc((100cqw + 4px) / 2.125)) - 60px)); }
  .d-mkt .k-story, .d-mkt .k-reel { height: min(calc(100cqh - 4px), calc((100cqw + 4px) / 2.125)); }
  .d-mkt .k-shero h3 { font-size: clamp(42px, 8cqh, 92px); }
}
@container demo (min-width: 600px) and (max-width: 1099px) {
  .d-mkt .k-redes { grid-template-columns: auto auto; }
  .d-mkt .k-story { height: calc(100cqh - 4px); }
  .d-mkt .k-feed { width: min(calc(100cqh - 64px), calc(100cqw - .5625 * (100cqh - 4px) - 30px)); }
  .d-mkt .k-reel { display: none; }
  .d-mkt .k-camp { display: none; }
  .d-mkt .k-plan { grid-template-columns: minmax(0, 1fr); }
  .d-mkt .k-drawer { display: none; }
  .d-mkt .k-lb-in { grid-template-columns: auto 240px; }
}
@container demo (min-width: 600px) and (max-width: 859px) {
  .d-mkt .k-fmt-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .d-mkt .k-fmt { grid-column: span 2; }
  .d-mkt .k-fmt:nth-child(n + 4) { grid-column: span 3; }
}
@container demo (min-width: 1500px) {
  .d-mkt .k-fmt-art { height: 300px; }
  .d-mkt .k-shero-art { height: 420px; }
  .d-mkt .k-cal .k-ct { display: block; }
  .d-mkt .k-cal .k-ct-ic { display: grid; }
}
@container demo (max-width: 599px) {
  .d-mkt .k-wrap { height: auto; }
  .d-mkt .k-top { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .d-mkt .k-camp { flex: 1; padding-left: 10px; }
  .d-mkt .k-camp b { font-size: 19px; }
  .d-mkt .k-tabs { width: 100%; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
  .d-mkt .k-tabs button { min-height: 40px; padding: 0 4px; font-size: 13px; }
  .d-mkt .k-p { height: auto; padding: 14px 12px; }
  .d-mkt .k-redes { grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .d-mkt .k-feed { grid-column: 1 / -1; }
  .d-mkt .k-story, .d-mkt .k-reel { width: 100%; border-radius: 14px; }
  .d-mkt .k-poll { top: 22%; padding: 10px 8px 8px; }
  .d-mkt .k-sh { font-size: 13px; }
  .d-mkt .k-sh small { display: none; }
  .d-mkt .k-rplay-btn { width: 52px; height: 52px; }
  .d-mkt .k-fr-tx { top: 58px; }
  /* the reel's end screen is narrow here: the cover already showed the line, so it is the shirt, the logo and the line */
  .d-mkt .k-r-hl { display: none; }
  .d-mkt .k-rrun .x-cut.k-r-bot { height: 54%; }
  .d-mkt .k-r-end { top: auto; bottom: 9%; }
  .d-mkt .k-r-end img { width: 44%; }
  .d-mkt .k-lb { place-items: start center; padding: 12px; }
  .d-mkt .k-lb-in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; max-height: 100%; width: 100%; overflow-y: auto; }
  .d-mkt .k-lb-pic { width: 100%; height: auto; }
  .d-mkt .k-lb-side { border-left: 0; }
  .d-mkt .k-pag { padding: 12px; }
  .d-mkt .k-browser { height: 700px; }
  .d-mkt .k-chrome-ic { display: none; }
  .d-mkt .k-snav { gap: 10px; padding: 12px 14px; }
  .d-mkt .k-snav nav { display: none; }
  .d-mkt .k-cartchip { margin-left: auto; }
  .d-mkt .k-shero, .d-mkt .k-sform { grid-template-columns: 1fr; gap: 20px; padding: 24px 16px; }
  .d-mkt .k-shero h3 { font-size: 46px; }
  .d-mkt .k-shero-art { height: 250px; }
  .d-mkt .k-fmts { padding: 22px 16px; }
  .d-mkt .k-fmts h4, .d-mkt .k-sform h4 { font-size: 28px; }
  .d-mkt .k-fmt-row { grid-template-columns: 1fr; }
  .d-mkt .k-fmt { display: grid; grid-template-columns: 124px 1fr; column-gap: 12px; align-content: start; }
  .d-mkt .k-fmt-art { grid-row: span 3; height: 150px; margin: 0; }
  .d-mkt .k-fmt b { align-self: end; font-size: 21px; }
  .d-mkt .k-fmt small, .d-mkt .k-fmt-p { align-self: start; }
  .d-mkt .k-fmt-buy { grid-column: 1 / -1; flex-wrap: nowrap; }
  .d-mkt .k-fmt-buy .k-size { flex: none; }
  .d-mkt .k-fmt-buy .k-add { flex: 1; }
  .d-mkt .k-sform-tx .k-bag { height: 160px; }
  .d-mkt .k-sfoot { padding: 16px; }
  .d-mkt .k-street { height: 720px; }
  .d-mkt .k-street-sun { left: 30%; width: 64%; bottom: 20%; }
  .d-mkt .k-valla { left: 5%; width: 90%; bottom: auto; top: 56px; }
  .d-mkt .k-valla .k-post { height: 0; }
  .d-mkt .k-shop { left: 5%; width: 40%; }
  .d-mkt .k-parada { right: 5%; width: 46%; height: 33%; }
  .d-mkt .k-shop figcaption, .d-mkt .k-parada figcaption { top: auto; bottom: calc(100% + 8px); max-width: 150px; white-space: normal; flex-wrap: wrap; border-radius: 10px; }
  .d-mkt .k-plan { display: block; }
  .d-mkt .k-cal { display: none; }
  .d-mkt .k-plan-h { flex-direction: column; align-items: flex-start; }
  .d-mkt .k-legend { flex-wrap: wrap; }
  .d-mkt .k-agenda { display: block; }
  .d-mkt .k-agenda section + section { margin-top: 10px; }
  .d-mkt .k-agenda h5 { margin: 0 0 2px; font-size: 14px; }
  .d-mkt .k-ag-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; margin-bottom: 4px; }
  .d-mkt .k-ag-ch { font-weight: 800; font-size: 13px; color: var(--b-muted); }
  .d-mkt .k-agenda .k-chip { min-height: 44px; align-items: center; }
  .d-mkt .k-agenda .k-chip b { -webkit-line-clamp: 2; }
  .d-mkt .k-drawer { margin-top: 14px; }
  .d-mkt .k-dr-pic { display: none; }
}
/* the story's light frames take a dark header and dark progress bars */
.d-mkt .k-story.light .k-sh { color: var(--b-ink); }
.d-mkt .k-story.light .k-bars i { background: var(--b-line); opacity: 1; }
.d-mkt .k-story.light .k-bars i b { background: var(--b-secondary); }
