/* =========================================================================
   RISHØJ & DE LORENZO — a brand page

   A room in the house. Reached by moving through the image frame in the
   sequence, or entered directly from a search engine — it has to stand up
   either way, so nothing here depends on having seen the opening.
   ========================================================================= */

/* Cross-document transitions. Both this page and the page holding the
   sequence opt in; where it is unsupported the browser simply navigates. */
@view-transition { navigation: auto }

.bp{ background:var(--bg); color:var(--ink); min-height:100vh }
html:has(.bp){ background:var(--room-ground) }   /* no black behind overscroll */

/* --- the mark: the way out ------------------------------------------------
   The only navigation on the site so far. Brand pages only — it must never
   appear during the opening. */
/* NOTE: not `.mark` — that name already belongs to the opening's arrival
   wordmark (#arrival .mark). Sharing it would break the arrival the moment
   both stylesheets meet on one page. */
/* The wordmark now lives in rdl.css — it is on every page but the front. */
.wordmark__i{ display:block }

/* --- the page ------------------------------------------------------------- */
/* --- the page ------------------------------------------------------------
   The same twelve columns the sequence uses. The name spans wide across the
   top; the lead image and the description sit beside each other rather than
   stacked; the further images take different columns so the eye moves across
   the page as well as down. Every frame is still capped at 640. */
.bp__main{
  width:100%; max-width:var(--maxw); margin-inline:auto;
  padding:clamp(84px,13vh,150px) var(--shell) clamp(80px,14vh,180px);
  display:grid; grid-template-columns:repeat(12,1fr); gap:var(--gap);
  align-items:start;
  row-gap:clamp(34px,6vh,80px);
}

/* ONE STEP BACK, over the name. Quiet: the same small caps every label on
   the site uses, with the arrow sliding left on hover rather than the whole
   control moving. It sits in its own row above the title, at the left margin,
   so it reads as a way out of the page and not as part of the name. */
.bp__back{
  grid-column:1 / span 12;
  justify-self:start;
  display:inline-flex; align-items:center; gap:.9em;
  margin-bottom:clamp(-18px,-1.4vh,-6px);
  font-size:.58rem; letter-spacing:.3em; text-indent:.3em; text-transform:uppercase;
  color:var(--ink-faint); text-decoration:none;
  transition:color .4s var(--ease);
}
.bp__back:hover{ color:var(--ink) }
.bp__backarrow{ display:inline-block; text-indent:0;
  transition:transform .4s var(--ease) }
.bp__back:hover .bp__backarrow{ transform:translateX(-4px) }
@media (prefers-reduced-motion: reduce){
  .bp__back,.bp__backarrow{ transition:none }
  .bp__back:hover .bp__backarrow{ transform:none }
}

.bp__name{
  grid-column:1 / span 12;
  font-size:clamp(2.4rem,7.6vw,6.6rem);
  font-weight:200; line-height:.98; letter-spacing:-.012em;
  width:max-content; max-width:100%;
}

.bp__lead{ grid-column:1 / span 6 }
.bp__body{ grid-column:8 / span 4; padding-top:clamp(10px,4vh,54px) }

/* THE PAGE IS TWO PICTURES: THE LEAD, AND ONE UNDER THE DESCRIPTION.
   Emilio, 27 Oct 2026: "under alle brands skal opsaetningen vaere som
   wolfords. stort billede til venstre og mindre billede under tekst til
   hoejre. saadan skal det vaere paa alle brands."

   .bp__extras -- the row of further pictures below the fold -- is gone with
   the arrangement that needed it, and so are .bp__extra and the centring
   added to it earlier the same day. The second picture is in .bp__smalls,
   below, in the column the description already has. */

/* Exactly the frame from the sequence — same ratio, same 640 ceiling, same
   cover and focal rules. Brand imagery is editorial support, not a hero.

   The dark plate behind it is gone. Most photographs carry their own edge
   against the room's ground, but not all: Mandarina Duck's border averages
   pure white (1.09:1) and Rich & Royal's 1.32:1, and both would float. So the
   frame keeps a hairline in the galvanised grey of the room's own railings —
   an inset shadow, so the box stays exactly 640 and the frame the transition
   morphs into is the same size as the one it left. */
.bp__fig{ margin:0; width:100% }
.bp__frame{
  position:relative; overflow:hidden;
  inline-size:100%;
  max-inline-size:var(--brand-frame-max, 640px);
  aspect-ratio:var(--brand-frame-ratio, 4 / 5);
  background:var(--bg-plate);
  box-shadow:inset 0 0 0 1px var(--ink-hair);
}
/* Out of flow, so the image's own width/height attributes cannot override the
   frame's aspect-ratio — they did, and every frame came out 1750px tall. */
.bp__frame img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:50% var(--brand-focal, 50%);
  display:block;
}

/* The second picture, under the description, in the column the description
   already has. 400 against the lead's 640, which is the "mindre billede" of
   Emilio's 27 Oct note; the column itself is 422 at 1440, so the frame is
   what sets the width, not the grid. */
.bp__smalls{ display:grid; gap:1.4em; margin-top:1.8em }

.bp__body{ display:grid; gap:1.4em }
.bp__body p{ font-size:clamp(.94rem,1.08vw,1.06rem); line-height:1.78; color:var(--ink-soft) }

/* draft copy is always visibly draft */
.bp__draft{ display:grid; gap:1.2em; border-left:1px dashed var(--ink-hair); padding-left:1.4em }
.bp__draftmark{
  font-size:.58rem; letter-spacing:.28em; text-indent:.28em;
  text-transform:uppercase; color:var(--ink-faint);
}

/* no copy yet — the gap is stated, never filled with something plausible */
.bp__slot{
  display:grid; gap:.55em; max-width:56ch;
  padding:1em 0 1em 1.4em; border-left:1px dashed var(--ink-hair);
}
.bp__slotk{ font-size:.58rem; letter-spacing:.3em; text-indent:.3em; text-transform:uppercase; color:var(--ink-faint) }
.bp__slotd{ font-size:.86rem; line-height:1.65; color:var(--ink-faint) }

/* a fine rule and a label, never a button */
.bp__out{ margin-top:.6em }
.bp__link{
  display:inline-block; padding-bottom:.5em; border-bottom:1px solid var(--ink-hair);
  font-size:.605rem; letter-spacing:.3em; text-indent:.3em; text-transform:uppercase;
  color:var(--ink-soft); transition:color .5s var(--ease), border-color .5s var(--ease);
}
.bp__link:hover,.bp__link:focus-visible{ color:var(--ink); border-color:var(--ink) }


/* --- who to write to ------------------------------------------------------
   Under the lead image, in the column the lead already occupies, so it reads
   as belonging to that side of the page rather than as a new section. The
   first extra image asks for column 7, which leaves this one 1-5 and a gutter
   between them.

   Five columns, not six: the block is a short list of names and it should not
   look like a panel. Capped at 400 so it stops well before the image above it
   on a wide screen.

   The names sit in as many columns as fit. Six people (Simone Perele) come
   out as two columns of three rather than a stack six deep -- on the phone as
   well as on the desktop. The track floor is 150 and not 168 for exactly that
   reason: at 390 the block is 350 wide, and 168 missed the second column by
   two pixels, which turned those six into a stack 382px deep. */
.bp__contact{ grid-column:1 / span 5; max-width:400px; align-self:start }
/* A brand split by country needs the room: the key is a place name, not a
   two-letter code, and "Denmark, Sweden — new customers" does not belong in
   a 150px track. Seven columns and a 560 cap puts two people across. */
.bp__contact--split{ grid-column:1 / span 7; max-width:560px }
.bp__contact--split .bp__people{ grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)) }
/* Simone Pérèle's longest key is "Denmark, Sweden — new customers", 31
   characters. At .3em it wrapped to two lines and the name under it dropped
   out of line with the name beside it; at .2em it sits on one. Only the split
   lists need this — the rest of the site's labels are short. */
.bp__contact--split .prsn__k{ letter-spacing:.2em; text-indent:.2em }
.bp__contactk{
  margin:0 0 clamp(14px,1.8vh,22px);
  font-size:.6rem; font-weight:400; letter-spacing:.34em; text-indent:.34em;
  text-transform:uppercase; color:var(--ink-faint);
}
.bp__people{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:clamp(14px,1.9vh,22px) clamp(16px,2vw,28px);
}
.prsn{ display:grid; gap:.42em; min-width:0; align-content:start }
/* the market, over the name: the same label the rest of the site uses for a
   key, so "Norway / Marianne Hoel" reads the way "Founder / Lars" does */
.prsn__k{
  font-size:.58rem; letter-spacing:.3em; text-indent:.3em; line-height:1.5;
  text-transform:uppercase; color:var(--ink-faint);
}
.prsn__n{ font-size:.9rem; line-height:1.3; color:var(--ink) }
/* the mail is the link, so it says where it goes before it is clicked */
.prsn__m{
  font-size:.72rem; line-height:1.4; letter-spacing:.02em; color:var(--ink-soft);
  overflow-wrap:anywhere;
  border-bottom:1px solid var(--ink-hair); padding-bottom:.25em;
  justify-self:start;
  transition:color .5s var(--ease), border-color .5s var(--ease);
}
.prsn__m:hover,.prsn__m:focus-visible{ color:var(--ink); border-color:var(--ink) }
/* the same line, but pending: no link, no hover, a dashed rule under it */
.prsn__m--slot{ color:var(--ink-faint); border-bottom-style:dashed }
.bp__contact .bp__slot{ padding-top:0 }
/* Emilio's own rule, once under the list rather than four more place names
   in every row that says Denmark. */
.bp__peoplenote{
  margin:clamp(16px,2.2vh,26px) 0 0;
  font-size:.72rem; line-height:1.5; color:var(--ink-faint);
}

/* --- the move -------------------------------------------------------------
   One axis: the frame you clicked becomes the frame you land in, and the rest
   of the page resolves around it. Nothing slides in from off-screen, nothing
   rotates, nothing changes size discontinuously — the browser interpolates
   one rectangle into the other. Going back runs the same thing in reverse. */
/* .34s AND .24s, down from .62 and .42. THIS IS THE CHROME/SAFARI GAP.
   Emilio, 12 Nov 2026: "langsommere paa chrome end safari. de skal begge gaa
   hurtigere."

   Measured on the host, brand to brand: click to the next page's first paint
   is 189ms, and the page is fully loaded at 139ms. There is nothing left to
   wait for — the morph underneath was simply 620ms long, and it runs on top
   of an already finished page. Chrome runs the cross-document transition;
   Safari, depending on version, cuts straight in. Same files, same server,
   and one browser spends half a second more than the other on an animation.

   Shortening it is what closes the gap, in the only place the gap exists.
   The morph is the signature of the wall opening into a brand and it stays;
   it just stops outlasting the page it is delivering. */
::view-transition-group(brand-image),
::view-transition-group(brand-name){
  animation-duration:.34s;
  animation-timing-function:cubic-bezier(.22,.61,.36,1);
}
::view-transition-group(root){ background:var(--room-ground) }
::view-transition-old(root),
::view-transition-new(root){
  animation-duration:.24s;
  animation-timing-function:cubic-bezier(.22,.61,.36,1);
}
/* the image is the same picture on both sides, so cross-fading it would only
   blur the morph — hold it solid and let the geometry do the work */
::view-transition-old(brand-image),
::view-transition-new(brand-image){ animation:none; mix-blend-mode:normal }

@media (prefers-reduced-motion: reduce){
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*){ animation:none !important }
}

@media (max-width:1080px){
  .bp__lead{ grid-column:1 / span 7 }
  .bp__contact{ grid-column:1 / span 5 }
  .bp__contact--split{ grid-column:1 / span 9 }
  .bp__body{ grid-column:9 / span 4 }
}
@media (max-width:820px){
  .bp__main{ padding-top:clamp(72px,11vh,110px); row-gap:clamp(24px,4vh,44px) }
  .bp__back,.bp__name,.bp__lead,.bp__body,.bp__contact,
  .bp__contact--split{ grid-column:1 / span 12 }
  /* one under the other on a phone: side by side they are 165px wide */
  .bp__contact,.bp__contact--split{ max-width:none }
  .bp__body{ padding-top:0 }
}


/* --- the lines under a brand ----------------------------------------------
   Athleisure sits under Guess Jeans. The page has to make it obvious that they
   are not the same thing, so the separation is structural, not decorative:
   each line keeps its own name at the head of its own block, the blocks stand
   in their own columns, and a rule runs between them.

   Eight columns for the line with two groups and four for the line with one,
   which lands every picture at the same width -- 4 frames on the left, 2 on
   the right, all of them equal. Nothing is sized to the number of pictures a
   line happens to have today; the columns are, and the pictures follow. */
.bp__lines{
  grid-column:1 / -1; margin-top:clamp(56px,9vh,120px);
  display:grid; grid-template-columns:repeat(12,1fr); gap:var(--gap);
  align-items:start;
}
.ln[data-line]{ grid-column:span 4 }
.ln:first-child{ grid-column:1 / span 8 }
/* The rule sits IN the gutter, drawn rather than bordered. A border plus its
   padding would come out of the block's own width and make Athleisure's two
   pictures 192 against Guess Jeans' 203 -- close enough to look like a mistake
   rather than a decision. Absolute, so every frame on the row is the same. */
.ln + .ln{ position:relative }
.ln + .ln::before{
  content:''; position:absolute; top:0; bottom:0; left:calc(var(--gap) / -2);
  width:1px; background:var(--ink-hair);
}

.ln__name{
  margin:0 0 clamp(20px,3vh,34px); padding-bottom:clamp(12px,1.6vh,18px);
  border-bottom:1px solid var(--ink-hair);
  font-size:clamp(1rem,1.5vw,1.35rem); font-weight:200; line-height:1.15;
  letter-spacing:-.004em; color:var(--ink);
}
.ln__groups{ display:grid; grid-auto-flow:column; grid-auto-columns:1fr;
  gap:clamp(16px,2vw,32px) }
.grp{ min-width:0 }
.grp__k{
  display:block; margin-bottom:.9em;
  font-size:.58rem; letter-spacing:.3em; text-indent:.3em;
  text-transform:uppercase; color:var(--ink-faint);
}
.grp__row{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(8px,1vw,14px) }
.lnf{ margin:0; position:relative; overflow:hidden;
  /* 400 IS THE CAP THESE FILES ARE BUILT FOR, so the frame may not grow past
     it. On a page with one line and one group they had a half of twelve
     columns each and came out 427 wide -- 854 device pixels at DPR 2 against a
     742px file. The cap is the same number build-guess-lines.py renders to. */
  max-width:400px;
  aspect-ratio:4 / 5; background:var(--bg-plate);
  box-shadow:inset 0 0 0 1px var(--ink-hair) }
.lnf img{ position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:50% 50%; display:block }

@media (max-width:1080px){
  .ln:first-child{ grid-column:1 / span 7 }
  .ln[data-line]{ grid-column:span 5 }
}
/* On a phone the two lines stack, and the rule turns with them: a division
   above the second name instead of beside it, so the split still reads. */
@media (max-width:820px){
  .ln:first-child,.ln[data-line]{ grid-column:1 / -1 }
  .ln + .ln::before{ display:none }
  .ln + .ln{ border-top:1px solid var(--ink-hair); padding-top:clamp(26px,4vh,44px);
    margin-top:clamp(10px,2vh,20px) }
  .ln__groups{ grid-auto-flow:row; gap:clamp(22px,3.4vh,36px) }
}

/* --- ranges ----------------------------------------------------------------
   A brand whose lines are distinct enough to be worth showing apart. Same 4:5
   crop as everything else, but a 400px cap rather than 640: these sources
   crop to 820px, which is under the floor the hero frame needs and above it
   at this size — 2.05x against the hero's 1.69x. Sharpness is what the floor
   is for. A row, not a grid: three entries reading across. */
.bp__ranges{ grid-column:1 / span 12; margin-top:clamp(56px,9vh,120px) }
.rng__head{
  margin:0 0 clamp(22px,3.4vh,44px);
  font-size:.6rem; font-weight:400; letter-spacing:.34em; text-indent:.34em;
  text-transform:uppercase; color:var(--ink-faint);
}
/* A row that takes however many ranges there are — two today, and it must not
   assume three. Flex rather than a fixed track count: each entry wants 400
   and gives way below it. */
.rng__list{
  list-style:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; gap:clamp(18px,2.6vw,44px);
}
.rng{ flex:0 1 400px; min-width:0 }
.rng__k{
  display:block; margin-bottom:.9em;
  font-size:.605rem; letter-spacing:.3em; text-indent:.3em;
  text-transform:uppercase; color:var(--ink-soft);
}
.rng__frame{
  position:relative; overflow:hidden; inline-size:100%;
  max-inline-size:400px; aspect-ratio:4 / 5;
  background:var(--bg-plate); box-shadow:inset 0 0 0 1px var(--ink-hair);
}
.rng__frame img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:50% 50%; display:block;
}
/* A slot waiting for its picture, drawn in the frame it will fill, so a page
   with no images yet reads as pending rather than as broken. */
.bp__frame--empty{ display:grid; place-items:center; padding:1.6em;
  background:color-mix(in srgb, var(--ink) 3.5%, transparent);
  outline:1px dashed color-mix(in srgb, var(--ink) 16%, transparent); outline-offset:-1px }
.bp__frame--empty .bp__slot{ border-left:0; padding-left:0; text-align:center }
.rng__pending{ display:grid; place-items:center; padding:2.2em 1.4em;
  background:color-mix(in srgb, var(--ink) 3.5%, transparent);
  outline:1px dashed color-mix(in srgb, var(--ink) 16%, transparent); outline-offset:-1px }
.rng__pending .bp__slot{ border-left:0; padding-left:0; text-align:center; max-width:38ch }

.rng__frame--empty{ display:grid; place-items:center; padding:1.4em }
.rng__frame--empty .bp__slot{ border-left:0; padding-left:0; text-align:center }
@media (max-width:820px){
  .rng{ flex:1 1 100% }
  .rng__frame{ max-inline-size:none }
}

