/* Vendored from design/samples/concept-15f.html <style> by scripts/vendor-c14.mjs — edit the design file, then re-run. */

  /* the first screen: who, what, Rani's own window, the clients */
  .hero { padding: clamp(12px, 2vh, 28px) var(--m) 0; display: grid; gap: clamp(18px, 2.6vh, 32px); }
  .hero__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
  .hero__top h1 { grid-column: 1 / span 7; font-size: var(--s-display); line-height: 0.98; }
  .hero__side { grid-column: 8 / span 5; display: flex; align-items: end; justify-content: space-between; gap: var(--gap); }
  .hero__side p { font-size: var(--s-body); max-width: 34ch; }
  .hero__name { width: min(100%, calc(54svh * var(--ar, 3.1))); margin-inline: auto; }
  .colophon { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--gap); padding-bottom: clamp(16px, 3vh, 32px); }
  .colophon ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px clamp(16px, 2.2vw, 36px); --logo-h: 34px; }
  .colophon li a { display: block; transition: transform 240ms var(--ease-out), opacity 240ms ease; }
  .colophon li img { filter: brightness(0); height: 30px; width: auto; }
  .colophon li a:hover { transform: translateY(-3px); }
  .colophon .all { font-weight: 800; white-space: nowrap; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 2px; }
  @media (max-width: 1100px) { .hero__top h1 { grid-column: 1 / -1; } .hero__side { grid-column: 1 / -1; } }
  @media (max-width: 760px) {
    .hero { gap: 18px; }
    .hero__side { flex-direction: column; align-items: start; }
    /* the phone: RANI comes first, edge to edge and as tall as the screen allows, the words below it */
    .hero { padding-top: 0; }
    .hero__name { order: -1; width: calc(100% + 2 * var(--m)); max-width: none; margin-inline: calc(var(--m) * -1); }
    .colophon { grid-template-columns: 1fr; }
    .colophon ul { justify-content: center; gap: 12px 20px; --logo-h: 26px; }
  }

  /* the four projects */
  .intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: var(--section) var(--m) clamp(40px, 5vw, 72px); align-items: end; }
  .intro h2 { grid-column: 1 / span 7; font-size: var(--s-head); }
  .intro p { grid-column: 8 / span 5; font-size: var(--s-lead); line-height: 1.32; }
  .win + .win { margin-top: 0; }
  .room-bar .button { flex: none; }
  @media (max-width: 760px) { .intro h2, .intro p { grid-column: 1 / -1; } .room-bar { flex-direction: column; align-items: start; } }

  /* the four projects: calm panels, the logo in its colour beside the work */
  .proj { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--m); align-items: stretch; }
  .proj + .proj { margin-top: clamp(56px, 6vw, 96px); }
  .proj__text { grid-column: 1 / span 4; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding-bottom: 6px; }
  .proj__logo { height: clamp(48px, 5vw, 80px); width: auto; max-width: 100%; object-fit: contain; object-position: var(--start, right) center; margin-bottom: auto; }
  :lang(en) .proj__logo { --start: left; }
  .proj__text h2 { font-size: clamp(1.75rem, 1rem + 2vw, 3rem); }
  .proj__text p { font-size: var(--s-body); max-width: 40ch; }
  .proj__text .meta { color: var(--muted); }
  .proj__text .button { align-self: start; }
  .proj__fig { grid-column: 5 / -1; position: relative; height: min(64svh, 640px); background: var(--field); overflow: clip; display: block; }
  .proj__fig .room-media, .proj__fig .room-shelf, .proj__fig .room-duo { position: absolute; }
  .proj__fig .room-media { inset: 0; }
  .proj__fig .room-duo { inset: 0; padding: 5% 4%; grid-template-rows: 100%; }
  .proj__fig .room-duo__film { grid-column: 1 / span 4; } .proj__fig .room-duo__obj { grid-column: 5 / -1; }
  @media (max-width: 860px) { .proj__text, .proj__fig { grid-column: 1 / -1; } .proj__fig { height: 60svh; } .proj__logo { margin-bottom: 8px; } }

  /* the two crafts */
  .crafts { padding-top: var(--section); }
  .craft + .craft { margin-top: clamp(48px, 5vw, 80px); }
  .craft__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--gap); padding-inline: var(--m); margin-bottom: 18px; }
  .craft__head h3 { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); }
  .link-more { font-weight: 800; text-underline-offset: 0.25em; text-decoration-thickness: 2px; }
  .craft__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding-inline: var(--m); }
  .card { display: grid; gap: 14px; text-decoration: none; }
  .card figure { aspect-ratio: 4 / 5; overflow: clip; background: var(--soft); position: relative; }
  .card figure img, .card figure video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
  .card:hover figure img, .card:hover figure video { transform: scale(1.04); }
  .card__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
  .card__label img { height: 28px; width: auto; max-width: 55%; object-fit: contain; filter: brightness(0); }
  .card__label b { font-size: var(--s-body); }
  @media (max-width: 1000px) { .craft__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 760px) { .craft__row { gap: 12px; } .card__label .tags { display: none; } }

  /* about */
  .about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: var(--section) var(--m) 0; align-items: start; }
  .about h2 { grid-column: 1 / span 4; font-size: var(--s-head); }
  .about__text { grid-column: 5 / span 8; display: grid; gap: clamp(28px, 3vw, 48px); }
  .about__text > p:first-child { font-size: clamp(1.375rem, 1.1rem + 1vw, 2.125rem); line-height: 1.28; max-width: 30ch; }
  .about__body { font-size: var(--s-body); max-width: 56ch; }
  .about dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .about dt { font-weight: 800; margin-bottom: 6px; }
  @media (max-width: 760px) { .about h2, .about__text { grid-column: 1 / -1; } .about dl { grid-template-columns: 1fr; } }

  /* contact: Rani's pink, the one action */
  .contact { margin-top: var(--section); background: var(--pink); color: var(--ink); padding: clamp(56px, 8vw, 128px) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
  .contact h2 { grid-column: 1 / span 7; font-size: var(--s-display); }
  .contact__line { grid-column: 1 / span 7; grid-row: 2; font-size: var(--s-lead); max-width: 34ch; }
  .contact__rows { grid-column: 8 / span 5; grid-row: 1 / span 2; display: grid; gap: 14px; font-size: var(--s-lead); }
  .contact__rows a { font-weight: 800; text-decoration: none; }
  .contact__rows a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
  .contact .button { justify-self: start; margin-top: 8px; }
  @media (max-width: 760px) { .contact h2, .contact__rows { grid-column: 1 / -1; } }
