kitbash Sign in Connect agent
Components

Floating card feature

Full-bleed photograph with a blush card inset over it: lead line, thumbnail, big serif title and a ruled link row.

Part of the style

Blush Script Parlour

7 parts that belong together, with their tokens, type and rules.

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --blush: #d0ac8d;
  --cocoa: #1b0f04;
  --cocoa-veil: rgba(28, 15, 4, 0.5);
  --cocoa-line: rgba(27, 15, 4, 0.35);
  --blush-line: rgba(208, 172, 141, 0.4);
  --blush-soft: rgba(208, 172, 141, 0.72);
  --night: #070200;
  --pink: #957c65;
}
</style>

<section class="feature">
  <img class="feature__photo" src="assets/terrace.jpg" alt="A watercolour of a sunlit stone terrace with columns and green foliage" width="1200" height="806" />
  <article class="feature__card">
    <div class="feature__top">
      <p class="feature__lead">A summer edition made with the Linden Garden Trust, bottling the hour after rain on a stone terrace</p>
      <img class="feature__thumb" src="assets/bottle.jpg" alt="A silver scent flask wrapped in a vine of tiny flowers" width="800" height="800" />
    </div>
    <h2 class="feature__title">Order the Terrace After Rain collection, poured in small batches</h2>
    <a class="feature__row" href="#">
      <span>Linden Garden Trust</span>
      <span class="feature__chip" aria-hidden="true">↗</span>
    </a>
  </article>
</section>

<style>
  .feature {
    position: relative;
    display: grid;
    align-content: end;
    min-height: clamp(34rem, 50vw, 52rem);
    padding: clamp(5rem, 10vw, 7rem) var(--card-inset) var(--space-l);
    overflow: hidden;
    background: var(--cocoa);
  }
  .feature__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .feature__card {
    position: relative;
    display: grid;
    align-content: space-between;
    min-height: clamp(18rem, 26vw, 28rem);
    gap: var(--space-l);
    padding: var(--space-m);
    background: var(--blush);
    color: var(--cocoa);
  }
  .feature__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(5rem, 9vw, 7rem);
    gap: var(--space-l);
    align-items: start;
  }
  .feature__lead {
    margin: 0;
    max-width: 62ch;
    font-size: var(--text-s);
    line-height: 1.25;
    text-transform: uppercase;
  }
  .feature__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    mix-blend-mode: multiply;
    filter: sepia(0.35) saturate(1.3);
  }
  .feature__title {
    margin: var(--space-l) 0 0;
    font-family: var(--font-serif);
    font-size: var(--serif-l);
    font-weight: 400;
    letter-spacing: var(--tracking-serif);
    line-height: 1;
    text-transform: uppercase;
    text-wrap: balance;
  }
  .feature__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    border-top: var(--rule) solid var(--cocoa);
    color: inherit;
    font-size: var(--text-m);
    text-decoration: none;
  }
  .feature__chip {
    display: grid;
    place-items: center;
    width: var(--arrow-box);
    height: var(--arrow-box);
    background: var(--cocoa-line);
    font-size: var(--text-s);
    transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease), rotate var(--quick) var(--ease);
  }
  .feature__row:hover .feature__chip,
  .feature__row:focus-visible .feature__chip {
    background: var(--cocoa);
    color: var(--blush);
    rotate: 45deg;
  }
  .feature__row:focus-visible {
    outline: var(--rule) solid var(--pink);
    outline-offset: 4px;
  }
</style>

Similar components

Cut-out shape feature

Cut-out shape feature

Collection banner

Collection banner

Dock teaser

Dock teaser

Studio note

Studio note

Green ways to start

Green ways to start

Big call and footer

Big call and footer

Figure with call to action

Figure with call to action

Black closer

Black closer