/* The opening leaves a clear field for the architecture and space between each line of copy. */
@media screen {
  .theme-parent .parent-hero {
    --hero-fade-depth: 40%;
    min-height: max(735px, 94svh);
    align-items: stretch;
  }
  .theme-parent .parent-hero-in {
    justify-content: center;
    align-items: flex-start;
    padding-block: clamp(146px, 18svh, 212px) clamp(112px, 16svh, 173px);
    padding-inline: max(var(--gutter), 5.8vw);
  }
  .theme-parent .parent-hero h1 {
    margin: clamp(25px, 3.8vh, 42px) 0 0;
    font-size: clamp(80px, 9.8vw, 161px);
    letter-spacing: -.048em;
    line-height: .99;
  }
  .theme-parent .parent-hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(19px, 2.5vh, 29px);
    margin: 0;
    padding-top: clamp(25px, 3.6vh, 42px);
  }
  .theme-parent .parent-hero-bottom p { margin: 0; line-height: 1.54; }
  .theme-parent .parent-hero .hero-coordinate {
    z-index: 2;
    align-items: center;
    padding-block: 12px;
    min-height: 61px;
    pointer-events: auto;
  }
  .theme-parent .hero-coordinate .scroll-cue {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
  }
  .theme-parent .parent-introduction { padding-block: clamp(82px, 8.6vw, 150px); }
  .theme-parent .parent-introduction .parent-philosophy { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: clamp(46px,6.5vw,112px); }
  .theme-parent .parent-philosophy h2 { max-width: 13ch; line-height: 1.075; }
  .theme-parent .parent-principles { margin-top: clamp(60px,7vw,110px); }
  .theme-parent .group-section { padding-block: clamp(83px,8.8vw,152px); }
  .theme-parent .group-heading h2 { line-height: 1.045; }
  .theme-parent .house-filters { margin-block: clamp(28px,3.4vw,56px) clamp(24px,2.4vw,38px); }
  .theme-parent .house-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(19px,2.1vw,35px); }
  .theme-parent .house-grid .directory-photo { aspect-ratio: 1.94; }
  .theme-parent .house-grid .house-card { --card-inset: clamp(19px,1.85vw,32px); padding-bottom: var(--card-inset); }
  .theme-parent .house-grid .house-card-top { margin-top: var(--card-inset); }
  .theme-parent .house-grid .house-card-brand { padding-block: 14px 7px; }
}
.header-inner .brand .group-wordmark-symbol { display: block; flex: none; width: 30px; height: 34px; object-fit: contain; }
.house-browser-head .eyebrow { display: flex; gap: 11px; align-items: center; }
.house-browser-head .eyebrow::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 22px;
  flex: 0 0 19px;
  background: currentColor;
  -webkit-mask: url(studio/canva-symbol.png) center / contain no-repeat;
  mask: url(studio/canva-symbol.png) center / contain no-repeat;
}
.studio-plate .plate-window > img { object-position: var(--studio-focus,50% 50%); }
body .image-section .studio-plate figcaption { padding-top: 16px; }
@media screen and (max-width: 1020px) {
  .theme-parent .house-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .theme-parent .parent-introduction .parent-philosophy { gap: 35px; }
}
@media screen and (max-width: 760px) {
  .theme-parent .parent-hero { min-height: max(665px, 92svh); }
  .theme-parent .parent-hero-in { padding: 127px var(--gutter) 98px; justify-content: flex-end; }
  .theme-parent .parent-hero h1 { font-size: clamp(64px, 15.8vw, 102px); line-height: 1.01; margin-top: 21px; }
  .theme-parent .parent-hero-bottom { padding-top: 23px; gap: 19px; }
  .theme-parent .parent-hero .hero-coordinate { min-height: 55px; padding-block: 6px; }
  .theme-parent .parent-introduction .parent-philosophy { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .theme-parent .parent-introduction, .theme-parent .group-section { padding-block: clamp(65px,11vw,85px); }
  .theme-parent .parent-principles { margin-top: 44px; }
}
@media screen and (max-width: 619px) {
  .theme-parent .house-grid { grid-template-columns: minmax(0,1fr); gap: 21px; }
  .theme-parent .house-grid .house-card {
    --card-inset: clamp(16px,4.7vw,24px);
    display: grid;
    grid-template: auto auto auto 1fr / minmax(0,1fr);
    min-height: 0;
    padding: 0 0 var(--card-inset);
  }
  .theme-parent .house-grid .directory-photo { position: relative; grid-area: auto; aspect-ratio: 2.18; border: 0; border-bottom: 1px solid color-mix(in srgb,var(--house-ink) 13%,transparent); }
  .theme-parent .house-grid .directory-photo img { position: absolute; inset: 0; }
  .theme-parent .house-grid .house-card-top,
  .theme-parent .house-grid .house-card-brand,
  .theme-parent .house-grid .house-card-bottom { grid-area: auto; }
  .theme-parent .house-grid .house-card-top { margin-top: var(--card-inset); }
  .theme-parent .house-grid .house-card-top > span { font-size: .68rem; }
  .theme-parent .house-grid .house-card-brand { padding-block: 10px 6px; gap: 9px; }
  .theme-parent .house-grid .house-card-brand h3 { font-size: clamp(1.4rem,6.35vw,1.8rem); }
  .theme-parent .house-grid .house-card-brand .brand-symbol { width: 23px; height: 27px; }
  .theme-parent .house-grid .house-card-bottom { padding-bottom: 0; }
  .theme-parent .house-grid .house-card-bottom p { font-size: .85rem; }
}
@media screen and (min-width: 761px) and (max-height: 650px) {
  .theme-parent .parent-hero { min-height: 630px; }
  .theme-parent .parent-hero-in { padding-block: 115px 94px; }
  .theme-parent .parent-hero h1 { font-size: clamp(76px,8.1vw,110px); margin-top: 18px; }
  .theme-parent .parent-hero-bottom { gap: 15px; padding-top: 20px; }
}
/* A single ratio for poster, native player and encoded frame. */
body .edition-film .film-stage,
body .image-single .edition-film .film-stage,
body .parent-philosophy-photo.edition-film .film-stage,
body .beauty-photo-salon.edition-film .film-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  border-radius: var(--film-corner, 4px);
}
body .edition-film .film-stage > video,
body .edition-film .film-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}
body .edition-film .film-stage > img { object-position: var(--studio-focus,50% 50%); }
/* Keep captions and linework visible when the actual fullscreen display is a different shape. */
body .edition-film .film-stage > video:fullscreen { object-fit: contain; background: var(--cinema-edge, #102622); }
.theme-viva { --cinema-edge: #082c38; }
.theme-auto { --cinema-edge: #182026; }
.theme-media { --cinema-edge: #202f83; }
.theme-beauty { --cinema-edge: #492b39; }
.film-tools .film-master { display: inline-flex; align-items: center; min-height: 42px; font: 500 .85rem/1.4 var(--ui); color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
body .beauty-photo-salon.edition-film { --film-corner: clamp(24px,3.5vw,58px) 5px 5px; }
body .edition-film .film-play { background: linear-gradient(0deg,#0d1415d9 0%,#10151782 23%,transparent 62%); }
body .edition-film .film-copy strong { text-wrap: balance; }
body .edition-film .film-caption { padding: 0; margin: 0; display: block; text-align: start; color: var(--muted); }
.film-chapters { display: flex; gap: 0 18px; align-items: flex-start; flex-wrap: wrap; margin-top: 10px; }
.film-chapters > a {
  min-height: 42px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font: 500 .83rem/1.3 var(--ui);
  text-decoration: none;
}
.film-chapters > a > span:first-child { font: 500 .71rem/1.4 var(--ui); color: var(--muted); font-variant-numeric: tabular-nums; }
.film-chapters > a:is([aria-current],:hover) { border-color: currentColor; }
.film-chapters a:focus-visible, .film-tools a:focus-visible, .film-tools summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.film-tools { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-top: 3px; padding-top: 8px; border-top: 1px solid var(--line); }
.film-tools details { flex: 1 1 48%; min-width: min(160px,100%); }
.film-tools details[open] { flex-basis: 100%; }
.film-tools .film-description { padding-left: 1.35em; margin: 8px 0 12px; }
.film-description li { margin-block: 7px; font: .85rem/1.55 var(--ui); }
.film-tools .film-destination { font: 500 .8rem/1.45 var(--ui); color: var(--ink); text-decoration: underline; text-underline-offset: .2em; padding-block: 5px; }
@media (max-width: 650px) {
  body .edition-film .film-play { padding: clamp(13px,4vw,20px); }
  body .edition-film .film-copy strong { font-size: clamp(1.15rem,5.2vw,1.63rem); }
  .film-chapters { gap: 0 14px; margin-top: 4px; }
  .film-chapters > a { font-size: .79rem; min-height: 43px; }
  .film-tools { gap: 3px 8px; }
}
/* Frame the feature to suit the house. An enlarged print always shows the whole image. */
.theme-trades { --studio-ratio: 2.18; }
.theme-finance { --studio-ratio: 2.30; }
.theme-estates { --studio-ratio: 2.02; }
.theme-law { --studio-ratio: 1.93; }
.theme-consulting { --studio-ratio: 2.05; }
.theme-planning { --studio-ratio: 2.38; }
.theme-tech { --studio-ratio: 2.06; }
.theme-auctions { --studio-ratio: 1.87; }
body .image-single .studio-plate .plate-window {
  aspect-ratio: var(--studio-ratio,2.08);
  max-height: min(710px,76svh);
}
body .studio-plate .plate-window img { object-position: var(--studio-focus,50% 50%); }
body .studio-plate figcaption > span:first-child { letter-spacing: -.015em; }
:is(.theme-law,.theme-finance,.theme-estates,.theme-auctions) .studio-plate figcaption > span:first-child {
  font-family: var(--display);
  font-size: clamp(1.1rem,1.7vw,1.55rem);
}
:is(.theme-planning,.theme-tech,.theme-consulting) .studio-plate figcaption { align-items: center; }
.introduction-copy p, .section-heading > p, .parent-philosophy-copy p { text-wrap: pretty; }
@media (max-width: 650px) {
  body .image-single .studio-plate .plate-window { aspect-ratio: 1.52; max-height: none; }
  body .image-section .studio-plate figcaption { gap: 4px 12px; padding-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-parent .house-card, .house-card-brand, .directory-photo img, .studio-plate .plate-window,
  .studio-plate img, .edition-film, .film-play-mark { transition: none !important; animation: none !important; }
}

/* The price, its timestamp and the source need to survive a narrow trading table. */
.theme-trades .market-details summary, .theme-trades .market-filters button,
.theme-trades .market-table, .theme-trades .tick__i { font-size: .875rem; }
.theme-trades .market-time, .theme-trades .market-source, .theme-trades .market-table th span,
.theme-trades .market-notes, .theme-trades .tick__s { font-size: .8125rem; }
.theme-trades .tick__quote-state, .theme-trades .market-table thead th { font-size: .75rem; }
.theme-trades .market-table { min-width: 850px; }
.theme-trades .market-time { min-width: 195px; }
@media (max-width: 650px) {
  .theme-trades .market-details summary { flex-wrap: wrap; gap: 4px 16px; }
  .theme-trades .market-ribbon .tick__s { min-width: 118px; max-width: 43%; white-space: normal; line-height: 1.25; }
  .theme-trades .market-table th:first-child { position: sticky; left: 0; background: #0c1512; }
  .theme-trades .market-table tbody th { min-width: 110px; max-width: 130px; }
  .theme-trades .market-table th:first-child::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 1px; background: var(--line); }
  .theme-trades .market-table td:nth-child(2), .theme-trades .market-table thead th:nth-child(2) { padding-left: 12px; }
}
